pcp
[Top] [All Lists]

Re: [pcp] Linux Swap Patch

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Linux Swap Patch
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Mon, 04 Mar 2013 16:02:08 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1721089761.14337316.1362429624227.JavaMail.root@xxxxxxxxxx>
References: <1721089761.14337316.1362429624227.JavaMail.root@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0
Nathan,
Forgot to respond to the list first time around. Sorry for the duplicate.

On 3/4/13 3:40 PM, Nathan Scott wrote:
      I wasn't able to get the linux pmda to report any swap activity
without the attached patch.  Not sure if this is the right way to go
about it, but it seems to work for us.
Just so I can reproduce it locally, what was the test case you were
using?  Is something like "pminfo -f swap" enough to show the issue
(if so, can you send the output you're observing)?


Sure.  While a machine is actively swapping, before the patch:

pmval swap.pagesout

metric:    swap.pagesout
host:      localhost
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   all
     0.0
     0.0
     0.0
     0.0
     0.0
     0.0
     0.0



After the patch:

pmval swap.pagesout

metric:    swap.pagesout
host:      localhost
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   all
  2.657E+04
  3.438E+04
  4.112E+04
  3.997E+04
  3.897E+04
  2.899E+04
  2.813E+04


Martins

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