pcp
[Top] [All Lists]

Re: [pcp] proc migration from the Linux PMDA to a new PMDA

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] proc migration from the Linux PMDA to a new PMDA
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Jul 2012 07:33:13 +1000
Cc: Mark Goodwin <mgoodwin@xxxxxxxxxx>, pcp <pcp@xxxxxxxxxxx>
In-reply-to: <CAAp5ZgPFt7VU_O618yP0kkr7Ro5Vbqce=uipqTLqBLm0BaZaog@xxxxxxxxxxxxxx>
References: <500791FB.2040305@xxxxxxxxxx> <CAAp5ZgPFt7VU_O618yP0kkr7Ro5Vbqce=uipqTLqBLm0BaZaog@xxxxxxxxxxxxxx>
On Fri, 2012-07-20 at 06:56 +1000, Nathan Scott wrote:
> Hi Mark,
> 
> On 19 July 2012 14:50, Mark Goodwin <mgoodwin@xxxxxxxxxx> wrote:
> > For various reasons, 'proc' metrics (per-process) need to be in
> > their own PMDA. So I'm proposing to remove them from the Linux
> > PMDA and reincarnate them in a new stand-alone PMDA. That means
> > their PMIDs will all change (different domain number).
> >
> > Does anyone maintain logger archives that would require pmid
> > migration/translation? Or can we just ignore that problem?
> 
> With an Aconex hat on, I can say its not a problem that would affect
> us.  It would make sense to provide a pmlogrewrite(1) configuration
> file to assist with anyone handling the transition though.

I agree.  The pmlogrewrite config will be simpler if the metrics
maintain their cluster and ordinal parts, so just the domain changes.

> > Also, what about platforms other than Linux. Would the new
> > PMDA need to be portable, e.g. for Solaris? Darwin? Windows??
> > There is probably insufficient overlap in metrics and semantics
> > that portability would be infeasible, but thought I'd ask anyway.
> 
> Solaris and Darwin have no proc metrics at this stage.  The Windows
> metrics are completely different to Linux.  The extraction mechanism
> (Win32 API) also is totally different of course.
> 
> For Linux, I think the open question is then what to do about the
> cgroup metrics.  I suspect moving these into the Linux proc PMDA
> makes sense (see the "TODO" note in cgroup_procs_fetch).

The WIP I have moves the cgroup metrics also.

I'll get this patch to Mark today.

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