From: Erwan V. <er...@ma...> - 2004-06-23 12:34:24
|
I've just realised that ganglia is not able to count the number of processors of a system. I've been discussing of that with some other project, it could be good to count or show the number of virtual processors. when ganglia shows 2 processors on a host, is it 2 physical processors or 1 phys with 1 virtual (ht). We can use the physical_id (/proc/cpuinfo) to manage this. I suggest something like for 1 CPU HT. Name Value cpu_phys_num 1 cpu_virtual_num 1 for 2 CPU non HT. Name Value cpu_phys_num 2 cpu_virtual_num 0 For a dual proc HT Name Value cpu_phys_num 2 cpu_virtual_num 2 WDYT about it ? -- Erwan Velu Linux Cluster Distribution Project Manager Mandrakesoft 43 rue d'aboukir 75002 Paris Phone Number : +33 (0) 1 40 41 17 94 Fax Number : +33 (0) 1 40 41 92 00 Web site : http://www.mandrakesoft.com OpenPGP key : http://www.mandrakesecure.net/cks/ |