determine cpu count from module.ko
In a kernel module, how does one determine the number of cpu's and if there is
hyperthreading going on. I'm only looking at intel stuff at the moment. I'd
like to be able to count cores, sockets and hyperthreads. Also, I'm using
2.6.18 kernel.
Thanks
Eric
.
Relevant Pages
- Re: Hyperthreading: easiest userland method?
... > I have a need to programmatically determine whether or not hyperthreading ... > is enabled for licensing reasons in my application. ... You could probably load a kernel module to check this stuff. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: RCU+SMR
... With all the pushing for SMP, dual-core, multi-core, (and the abomination known as "hyperthreading", you would think some of the big names (like Intel and AMD) would be pushing for ways to get the most out of new processor features and parallelism without everyone having to roll their own. ... They also have a view on ROI that's hardware rather than software oriented. ... adds overhead. ... (comp.programming.threads) - Re: Box restarting with Windows XP & Hyperthreading
... the BIOS, enable HyperThreading, then let Windows load. ... >>the FEW programs that are HT "Aware"), you will take a performance hit by ... >>"Intel bashing". ... I called support and they don't wanna help me ... (microsoft.public.windowsxp.hardware) - Re: Intel strikes back with a parallel x86 design
... >> Intel claims they aren't developing Hyperthreading anymore. ... >Perhaps they understand the costs and benefits better now. ... Has anyone seen a CLEAR statement from Intel that Hyperthreading is ... a dual core chip is more efficient than a hyperthreaded chip ... (comp.arch) - Re: Building my Last Computer, Questions !
... On a side note, I bought the AMD64 3200+ with apparently Hyperthreading, but ... > based on Intel Technology since the ... >> installing XP it doesnt recognise the Serial ATA drive at all! ... >> both my original IDE and Serial ATA inside and install Windows on my IDE ... (microsoft.public.windowsxp.hardware) |
|