Yes, I am available and willing to test.
I've already made some minor edits to Mr. Perzl's AIX code and recompiled on
AIX to work around a divide-by-zero bug that causes insanely large negative
values for cpu_wait and cpu_idle when cpu_user + cpu_sys = 100%.
It looks like the original code was borrowed from an IBM example for
libperfstat, and it appears that Mr. Perzl noticed the potential
divide-by-zero error and tried to accommodate for it. Still, these insanely
large negative for cpu_wait and cpu_idle would appear when the server was
completely CPU bound.
This was a crash course in C for me, so I was not able to figure out the
cause. In the end, the work around was simple check for a negative value
and assign 0 instead if it existed.
(I don't mean to belittle Mr. Perzl's work here; I am very grateful for his
efforts in bringing Ganglia to AIX, and I'm happy to assist in any way I can
toward its improvement.)
g_val_t
cpu_wio_func( void )
{
g_val_t val;
get_cpuinfo();
val.f = cpu_info.wait;
if(val.f < 0) val.f = 0.0;
return( val );
}
g_val_t
cpu_idle_func( void )
{
g_val_t val;
get_cpuinfo();
val.f = cpu_info.idle;
if(val.f < 0) val.f = 0.0;
return( val );
}
-----Original Message-----
From: Bernard Li [mailto:[email protected]]
Sent: Monday, December 16, 2013 2:42 PM
To: Khrist Hansen
Cc: Michael Perzl; [email protected]; Morten
Torstensen; Ganglia
Subject: Re: [Ganglia-general] [Ganglia-developers] Gmetad Platform Poll
Hi Khrist:
Thanks! Will you be willing to volunteer to help with testing? :-)
Cheers,
Bernard
On Mon, Dec 16, 2013 at 1:19 PM, Khrist Hansen <[email protected]>
wrote:
> I second this motion. :)
>
>
> -----Original Message-----
> From: Bernard Li [mailto:[email protected]]
> Sent: Monday, December 16, 2013 2:04 PM
> To: Michael Perzl
> Cc: [email protected]; Morten Torstensen;
> [email protected]
> Subject: Re: [Ganglia-general] [Ganglia-developers] Gmetad Platform
> Poll
>
> Hi Michael:
>
> Any chance we can try to merge your AIX specific patches into upstream
code?
> Aren't you getting a bit tired managing them separately? ;-)
>
> Thanks,
>
> Bernard
>
> On Wed, Dec 11, 2013 at 3:17 PM, Michael Perzl <[email protected]> wrote:
>> I can certainly test and verify this on a variety of different AIX
levels.
>>
>> Regards,
>> Michael
>>
>> On 12/11/2013 07:27 PM, Devon H. O'Dell wrote:
>>> Thanks. I think the work I'm doing should work with AIX on POWER.
>>> Would anybody with a builder be able to test and verify this?
>>>
>>> 2013/12/11 Morten Torstensen <[email protected]>:
>>>> We are using ganglia for aix on power, and possibly linux on power
>>>> too
> in the close future.
>>>>
>>>> We use binaries from Michael Perzl, http://www.perzl.org/ganglia/
>>>>
>>>>
>>>> Best regards
>>>> Morten Torstensen
>>>> Chief Solution Architect, BA Nordic Open Systems Future Proof
>>>> Service Development [email protected] M +47 46819584
>>>>
>>>> -----Original Message-----
>>>> From: Devon H. O'Dell [mailto:[email protected]]
>>>> Sent: Wednesday, 11 December, 2013 16:49
>>>> To: [email protected];
>>>> [email protected]
>>>> Subject: [Ganglia-general] Gmetad Platform Poll
>>>>
>>>> Hi all,
>>>>
>>>> I'm intending to continue working on performance improvements for
>>>> gmetad. I'm curious if anybody uses gmetad on architectures that
>>>> are
>>>> not:
>>>>
>>>> * ARM
>>>> * PPC
>>>> * PPC64
>>>> * SPARCv9
>>>> * i386
>>>> * amd64
>>>>
>>>> or on systems that are not:
>>>>
>>>> * Linux
>>>> * ${any}BSD
>>>> * Solaris
>>>>
>>>> (I'd also be interested in hearing if people are using gmond on
>>>> architectures other than those mentioned above; less interested
>>>> about the operating systems for that one.)
>>>>
>>>> Kind regards,
>>>>
>>>> --dho
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> ---------- Rapidly troubleshoot problems before they affect your
>>>> business. Most IT organizations don't have a clear picture of how
> application performance affects their revenue. With AppDynamics, you
> get 100% visibility into your Java,.NET, & PHP application. Start your
> 15-day FREE TRIAL of AppDynamics Pro!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ost
>>>> g .clktrk _______________________________________________
>>>> Ganglia-general mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>>> --------------------------------------------------------------------
>>> -
>>> --------- Rapidly troubleshoot problems before they affect your
>>> business. Most IT organizations don't have a clear picture of how
>>> application performance affects their revenue. With AppDynamics, you
>>> get 100% visibility into your Java,.NET, & PHP application. Start
>>> your 15-day FREE TRIAL of AppDynamics Pro!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.
>>> clktrk _______________________________________________
>>> Ganglia-general mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>>>
>>
>>
>> ---------------------------------------------------------------------
>> -
>> -------- Rapidly troubleshoot problems before they affect your
>> business. Most IT organizations don't have a clear picture of how
>> application performance affects their revenue. With AppDynamics, you
>> get 100% visibility into your Java,.NET, & PHP application. Start
>> your 15-day FREE TRIAL of AppDynamics Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.
>> c lktrk _______________________________________________
>> Ganglia-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
>
> ----------------------------------------------------------------------
> ------
> --
> Rapidly troubleshoot problems before they affect your business. Most
> IT organizations don't have a clear picture of how application
> performance affects their revenue. With AppDynamics, you get 100%
> visibility into your Java,.NET, & PHP application. Start your 15-day
> FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.c
> lktrk _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general