pcp
[Top] [All Lists]

Re: [pcp] Derived Metrics with rate()

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Derived Metrics with rate()
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu, 02 Jul 2015 09:04:15 +0300
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5590DD7B.4000808@xxxxxxxxxx>
Organization: Red Hat
References: <558BAC86.2090005@xxxxxxxxxx> <00e801d0b124$8b825d60$a2871820$@internode.on.net> <5590DD7B.4000808@xxxxxxxxxx>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Hi,

On 2015-06-29 08:54, Marko Myllynen wrote:
> On 2015-06-28 00:59, Ken McDonell wrote:
> 
>> I don't think avqsz is correct.  read_rawactive and write_rawactive measure
>> time during which  disk requests are being serviced  ... these are in units
>> of milliseconds, so you need to divide by 1000 to get close to the sar
>> numbers.
> 
> I couldn't figure out how to match exactly with sar numbers and this was
> at least reacting the same way as sar's avgqu-sz (I should mentioned
> this in my earlier email).

I tried this one more time and I think the earlier mentioned formula is
as close as possible to sar numbers, there's a bit of deviation but the
same can be seen with pmiostat as well, dividing by 1000 would be wrong.

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>