Hi Nathan,
this looks really strange to me. When I look at the code in
libmetrics/aix/metrics.c for SMT:
g_val_t
smt_func( void )
{
g_val_t val;
#if defined(_AIX53)
perfstat_partition_total_t p;
if (perfstat_partition_total( NULL, &p, sizeof(
perfstat_partition_total_t), 1 ) == -1)
strcpy( val.str, "libperfstat returned an error" );
else
strcpy( val.str, p.type.b.smt_enabled ? "yes" : "no" );
#else
strcpy( val.str, "No SMT-capable system" );
#endif
return( val );
}
So the "No SMT-capable system" message can only occur if you are not
running AIX 5.3 which you are by looking at the output of oslevel. Thus,
the "cpu_in_lpar" is wrong too.
Also strange is that the processor is identified as POWER4 instead of
POWER5.
The only explanation I can offer is that as I am using the standard
libperfstat library which comes with AIX I would assume that maybe the
installed libperfstat does not fit the currently running AIX kernel and
therefore the wrong offsets to the kernel structures within libperfstat
might be used. Do you maybe have updated your system and not rebooted
since then ?
The value for oslevel is obtained by actually running oslevel from
within gmond and so I am sure that the output here is correct.
Regards,
Michael
Ave-Lallemant, Nathan P wrote:
Hello,
I am having some inconsistencies regarding gathering CPU
metrics on AIX systems. I have two LPAR's running on the same P5 595
which display varying statistics that seem to disagree. They are
running the same version of gmond, same OS, etc, but have different
results for hardware things that simply can't both be correct. Any
thoughts on what may be malfunctioning would be appreciated. This is
using the package:
ganglia-gmond-3.0.7-1
_System 1 (correct):_
machine_type PowerPC_POWER5
os_name AIX
os_release 5.3.0.63
oslevel 5300-06-03-0732
serial_num IBM,020269D4E
smt yes
cpu_num 8 CPUs
cpu_in_lpar 4
_System 2 (incorrect):_
machine_type PowerPC_POWER4
os_name AIX
os_release 5.3.0.63
oslevel 5300-06-03-0732
serial_num IBM,020269D4E
smt No SMT-capable system
cpu_num 2 CPUs
cpu_in_lpar 2
* *
* *
*Nathan Ave-Lallemant*
------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom
they are addressed and may contain confidential and privileged
information protected by law. If you received this e-mail in error,
any review, use, dissemination, distribution, or copying of the e-mail
is strictly prohibited. Please notify the sender immediately by return
e-mail and delete all copies from your system.
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general