pcp
[Top] [All Lists]

Re: [pcp] pcp updates: containers, qa

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: [pcp] pcp updates: containers, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 14 May 2015 02:01:37 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <55533BF8.208@xxxxxxxxxx>
References: <1009828124.17466209.1431416607069.JavaMail.zimbra@xxxxxxxxxx> <5552B428.2010604@xxxxxxxxxx> <1582823694.18245416.1431484897421.JavaMail.zimbra@xxxxxxxxxx> <1662044263.18277261.1431491325842.JavaMail.zimbra@xxxxxxxxxx> <5552E12D.5020807@xxxxxxxxxx> <2135868737.18350469.1431496017520.JavaMail.zimbra@xxxxxxxxxx> <55533BF8.208@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: sMgyRacIZm/40G/RObvf7QmOSPOs/g==
Thread-topic: pcp updates: containers, qa
Hi Mark,

----- Original Message -----
> On 05/13/2015 03:46 PM, Nathan Scott wrote:
> >
> > Sounds good - thanks mate.  If you don't get to it tonight, toss it back to
> > me and I'll write the test tomorrow.
> 
> Here's the flat profile of pmdaroot compiled with -pg after running
> pminfo -f containers.state.running  on 14662 containers. Basically
> pmdaroot is disk bound reading and parsing the json for each container
> below /var/lib/docker/containers (total of ~ 467 mbytes). With default
> parameters, the pmda times out. After fixing that, the client times out.
> When you fix that, you wait for ~ 22 seconds or so ... which isn't
> actually too bad given how much json data has to be parsed.

Can you try things with the attached patch?

thanks!

--
Nathan

Attachment: rootinit.patch
Description: Text Data

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