pcp
[Top] [All Lists]

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

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: [pcp] proc migration from the Linux PMDA to a new PMDA
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 20 Jul 2012 06:56:22 +1000
Cc: pcp <pcp@xxxxxxxxxxx>
In-reply-to: <500791FB.2040305@xxxxxxxxxx>
References: <500791FB.2040305@xxxxxxxxxx>
Sender: ndsco1@xxxxxxxxxxxxxxxxxx
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.

> 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).

cheers.

--
Nathan

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