On Fri, 2002-10-25 at 00:02, chrisl@vmware.com wrote: > It seems that /proc/cpuinfo will return the number of logical CPU. > If the machine has Intel Hyper-Thread enabled, that number is bigger > than physical CPU number. Usually twice as big. > > My question is, what is the reliable way for user space program > to detect the number of physical CPU in the current machine? I believe there was talk about representing the CPUs in driverfs somehow. Not sure of the details though... -- // Gianni Tedesco (gianni at ecsc dot co dot uk) lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D