pcp
[Top] [All Lists]

Re: [pcp] pcpstats

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] pcpstats
From: Michele Baldessari <michele@xxxxxxxxxx>
Date: Tue, 27 May 2014 11:11:31 +0100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=2010; t=1401185492; bh=0uWxyK/EaREfK9osqz2PBsd3tm4ejwnfX1M+PpWwO9E=; b=lQB0Me8O/GDd dE6Ggx/TQ7jY35Wg7H3PlNDK1U94bx5l3/7hcso+9Q0Kf4eYiDJ3GjyjB9UYNUhv NEFWXWqVPozuJJqoRF4tXnnGPEUXfbnBB3lBvPicJuRP+5DqLBpc6tA6ZvMU+xeV 3n44KaHfhMJdJJu0pNHQIcq3mVyQW1s=
In-reply-to: <672876172.15341316.1401169006360.JavaMail.zimbra@xxxxxxxxxx>
References: <20140524215548.GA13540@xxxxxxxxxxxxxxx> <1951313532.14634422.1401085287050.JavaMail.zimbra@xxxxxxxxxx> <672876172.15341316.1401169006360.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2012-12-30)
Hi Nathan,

On Tue, May 27, 2014 at 01:36:46AM -0400, Nathan Scott wrote:
> Hi Michele,
> 
> Two more thoughts :)  Given this last topic I mentioned ...

Thanks for all your feedback, precious as usual. I've started
tackling some of your previous points and added the other
ones to the TODO.

> ----- Original Message -----
> > [...]
> > - More future work that might help (less distant though :) - there's
> > a current effort underway to make the Convenience Class python module
> > work and take on alot more of the effort that python client tools are
> > still having to do (as you've found here).  Things like converting
> > counters to rates, improved caching (pmDesc, indoms/inst names, etc,
> > etc), things like that.  ... pmAtomValue -> python type conversions
> > too, the sorts of things you needed to do in PcpArchive.get_values()
> > ... any things you've discovered in your hacking so far as "nice to
> > have" from such a module, please point 'em out (and feel free to help
> > scox & I out with hacking in that module too :) - this is "pcp.pmcc"
> > in the tree at src/python/pcp/pmcc.py).
> > 
> 
> - would it make sense to include the pcpstats code in the pcp tree &
>   release it along with all the other tools?  (as these API advances
>   happen we could be immediately updating this code as well then).  The
>   license you've chosen is a direct match for PCPs, and I'm a big fan
>   of driving API evolution from the needs of actual tools using the
>   code ... so I'd be all for direct inclusion if you'd like to go that
>   route.

Sure thing, works for me. Anything that helps PCP's adoption I'm happy
with ;) I fully agree with the API evolution thought. Give me a week or
two to clean up the code and then we can work on putting it into the
main tree.

> - "pcpstats" seems a fairly generic name, could I suggest "pcp2pdf"
>   as a more specific, catchy handle?

Indeed, makes sense ;)

> - oh, 3rd & 4th points too, sorry - there's loads of archives to test
>   with in the PCP tree below qa/src (you've started a tests/pcp-files
>   directory with similar goals I see);  also, there's a handy PMDA in
>   PCP that might help your testing efforts; pmdasample has metrics of
>   every conceivable flavour (types, units, semantics, lots of insts,
>   fast-changing-insts, etc, etc).

Ack, I'll clean up the remaining most embarassing parts of the code,
and work on a branch that can be merged into pcp proper. I'll make sure
that I move the test suite to the qa folder using the existing archives.
You can then take a look and we adjust anything that needs fixing before
merging it.

cheers,
Michele

ps. I might take a bit longer as I have some work-related trips
coming up.
-- 
Michele Baldessari            <michele@xxxxxxxxxx>
C2A5 9DA3 9961 4FFB E01B  D0BC DDD4 DCCB 7515 5C6D

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