pcp
[Top] [All Lists]

Re: pcp updates: pmdaproc, cgroups, books

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: pcp updates: pmdaproc, cgroups, books
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Fri, 19 Dec 2014 11:20:30 -0500
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1544484578.17657959.1418625363923.JavaMail.zimbra@xxxxxxxxxx>
References: <1309338393.770280.1416292315684.JavaMail.zimbra@xxxxxxxxxx> <1249426361.1589601.1416371161222.JavaMail.zimbra@xxxxxxxxxx> <20141119181439.GF5700@xxxxxxxxxx> <1666386574.2247920.1416427865663.JavaMail.zimbra@xxxxxxxxxx> <2132304544.16180073.1418360958577.JavaMail.zimbra@xxxxxxxxxx> <20141212061823.GC14953@xxxxxxxxxx> <53646500.16198226.1418365398316.JavaMail.zimbra@xxxxxxxxxx> <20141212164033.GD14953@xxxxxxxxxx> <1544484578.17657959.1418625363923.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
Hi -

On Mon, Dec 15, 2014 at 01:36:03AM -0500, Nathan Scott wrote:
> [...]
> > In an echo of early problems with the papi-pmda qa, this style makes
> > leaks difficult to find, because they are so ephemeral: you can't just
> > do a pminfo loop to exhaust the resources, because they are recreated
> > anew for each pminfo!
> 
> The problem is the choice of client tool, not an inherent limitation of
> the testing as you're suggesting.  The case you're reproducing here is
> calling for a long-running client that issues many fetches, but you're
> coming at it with pminfo - try pmval instead?

Yes, except that pmval is limited to a single metric per invocation.
A single "pminfo cgroup" run can exercise all metrics, and "pminfo
cgroup cgroup cgroup ..." can endurance-test all metrics, not just the
one that we found/fixed this leak in, so it's more forward-looking.

It's not the batch-fetching aspect of pminfo that made this test
workable, but its willingness to traverse a PMNS hierarchy.  (For that
matter, repeatedly traversing the -entire- PMNS would be a good
endurance test for PMDAs and PMCD, as noted in an earlier email.)

- FChE

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