Here it was my solution: # get the correct number of real CPUs (two quad-core processors) CPU_NUM=`cat /proc/cpuinfo | grep cores | uniq | awk '{ print $4*2 }'`
# Retrieve the number of real CPUs on Ganglia /opt/ganglia/bin/gmetric -t uint32 -s zero -n 'cpu_num' -v $CPU_NUM -u 'CPUs' Thanks a lot! -Hugo On 10/14/10 6:22 PM, "Bernard Li" <bern...@vanhpc.org> wrote: > Hi Hugo: > > On Tue, Oct 12, 2010 at 1:21 PM, Hernandez, Hugo (NIH/NIAID) [C] > <hugo.hernan...@nih.gov> wrote: > >> I have some XEON 5560 compute nodes which have enabled hyperthreading. At >> this point, the OS (RHEL 5.4) is reporting 16 Œcores¹ but we already have 8 >> per compute node. There is a way to force ganglia to report the number of >> real CPUs instead of the number of Œvirtual+real¹ CPUs? Any help will be >> greatly appreciated. > > Here's the Bugzilla entry which describes the issue you're encountering: > > http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=84 > > And here's a possible workaround: > > http://forums.ganglia.info/viewtopic.php?f=4&t=8&sid=0417f3deeb9d6b1af72e92285 > fdd2017 > > We should try to work out a solution though... any takers? > > Cheers, > > Bernard -- Hugo R. Hernandez -- "Si seus esforços, foram vistos com indefrença, não desanime, que o sol faze un espectacolo maravilhoso todas as manhãs cuando a maior parte das pessoas, ainda estam durmindo" - Anónimo brasileiro Disclaimer: The information in this e-mail and any of its attachments is confidential and may contain sensitive information. It should not be used by anyone who is not the original intended recipient. If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage devices. National Institute of Allergy and Infectious Diseases shall not accept liability for any statements made that are sender's own and not expressly made on behalf of the NIAID by one of its representatives. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general