[Ganglia-developers] Re: hyperthreading & cpu_num patch.

2006-03-03 Thread James Mcininch
I've been delving a little deeper into this and certianly have a saner implementation for both Linux and users of Cygwin. A couple of notes in that regard: 1. The 'ht' flag indicates that the processor has that ability, not that it allows you to turn it on (or that it is turned on). It's not us

RE: [Ganglia-developers] hyperthreading & cpu_num patch.

2006-03-01 Thread James Mcininch
cpu count : 2 > apic id : 1 > cpu MHz : 2793 > fpu : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clfl dtes acpi mmx fxsr sse > e2 ss htt tmi pbe cid > > -Original Message--

Re: [Ganglia-developers] hyperthreading & cpu_num patch.

2006-03-01 Thread James Mcininch
Point taken on the configurability. I think a strong argument can be made for the number of cores as being the default for cpu_num. However, it's also quite sensible to have the other two measures: number of physical CPUs, and number of virtual CPUs (what gmond currently reports). How about, i

[Ganglia-developers] (no subject)

2006-03-01 Thread James Mcininch
I want to bring attention to Bugzilla item 84 -- a patch submitted to fix improper reporting of cpu_num on hyperthreaded Intel processors. The patch causes it to report the number of CPU cores rather than the number of virtual CPUs.