Re: getting processor numbers
From: Ulrich Drepper
Date: Tue Apr 03 2007 - 14:00:53 EST
Siddha, Suresh B wrote:
> Not all of the cpu* directories in /sys/devices/system/cpu may be
> online.
Brilliant. You people really know how to create user interfaces. So
now in any case per CPU another stat/access syscall is needed to check
the 'online' pseudo-file? With this the readdir solution is only
marginally faster than parsing /proc/cpuinfo which means, it's
unacceptably slow.
I cannot believe all these big system people are allowed to screw
everybody else up with their nonsense.
So, anybody else has a proposal? This is a pressing issue and cannot
wait until someday in the distant future NUMA topology information is
easily and speedily accessible.
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
Attachment:
signature.asc
Description: OpenPGP digital signature