Jeff Squyres, le Thu 02 Dec 2010 20:42:40 +0100, a écrit : > > These were my ideas. Comments are welcome. Note that we have very big > > machines with complicated topologies. Executing lstopo (pure C API) > > takes up to a second there. It made no sense to me to slow this down > > more. > > Also agreed. > > Do you have any feel for if there are particular bottlenecks in hwloc / > lstopo that make it take so long? I wonder if we should just attack those > (if possible)...? Samuel and Brice have done all the work in the guts of the > API, so they might know offhand if there are places that can be optimized or > not...
Actually, considering the huge pile of /proc and /sys files that parsing 1024 processors requires, one second doesn't seem so much to me :) But yes, an somethingprof output could be useful to determine whether there is room for improvement. Samuel