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 18:38:32 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <55548BC0.3010202@xxxxxxxxxx>
References: <1009828124.17466209.1431416607069.JavaMail.zimbra@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> <1534828449.19453028.1431583297773.JavaMail.zimbra@xxxxxxxxxx> <55548BC0.3010202@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: IXXGVEOPV7NVmHf+yTQbLJKZsmE0fA==
Thread-topic: pcp updates: containers, qa
Hi Mark,

----- Original Message -----
> >
> > Can you try things with the attached patch?
> 
> didn't make any difference. My system now has 36000+ containers (I'm
> determined to see what happens when docker creates the 65537th
> container, thus running out class b/c addresses, so I'm leaving my
> script running).

Oh, I see, so its continually extending the set ... right, yes, that
wont help there, only for the case where there were many containers
at agent start time (so, I'll test more and push this patch through
later).

This doesn't sound like a particularly realistic workload to optimise
for TBH, but it definitely needs to not hang things up...

> So we need a second thread for the initial scan, during which the
> main thread just returns PM_ERR_PMDANOTREADY for all requests. In
> reality, this many containers is a bit silly, so the patch for this
> is on my back-burner - let's move on to more important container work!

Indeed, as discussed - something like pmdarpm perhaps.  So, the earlier
patch effectively does that just for the initial pmcd/pmda connect, but
not for subsequent PDUs... that's far more invasive change, and I agree,
lets come back to that once more fundamental container work is in place.

cheers.

--
Nathan

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