pcp
[Top] [All Lists]

pcp updates: log I/O, logmv, dumplog longopts, qa

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: log I/O, logmv, dumplog longopts, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 22 Apr 2014 03:36:12 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <62074033.8479698.1398152020878.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: q3HWD5mdo2A4kGCrJIJVYykhTnekgw==
Thread-topic: pcp updates: log I/O, logmv, dumplog longopts, qa
Changes committed to git://git.performancecopilot.org/pcp/pcp.git dev

 VERSION.pcp                     |    2 
 build/rpm/fedora.spec           |    7 
 debian/changelog                |    6 
 qa/.gitignore                   |    1 
 qa/038                          |    1 
 qa/195.out                      |    8 
 qa/417.out                      |   20 +-
 qa/438                          |    8 
 qa/438.out                      |  129 +++++++++++++++
 qa/438.out.1                    |  103 ------------
 qa/438.out.2                    |  129 ---------------
 qa/555                          |   15 +
 qa/738.out                      |    2 
 qa/898                          |   65 +++++++
 qa/898.out                      |   55 ++++++
 src/libpcp/src/logutil.c        |   55 +++---
 src/libpcp/src/p_result.c       |   63 ++++---
 src/pcp/free/pcp-free.py        |    4 
 src/pmdumplog/pmdumplog.c       |  339 +++++++++++++++-------------------------
 src/pmlogextract/pmlogextract.c |    6 
 src/pmlogger/pmlogmv.sh         |   62 +++++--
 src/pmlogreduce/scan.c          |    7 
 22 files changed, 556 insertions(+), 531 deletions(-)

commit 90170fe6c9498398ed994d1f5b06ceef62d2b9cd
Merge: 073793a e85a6cf
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 22 11:37:47 2014 +1000

    Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev

commit 073793a9d6ab8bef112da7fe264a2ff731eeb092
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 22 09:03:24 2014 +1000

    Convert pmdumplog to using long options via pmGetOptions

commit e85a6cfb549d1da09cbc51c96c21586e3af83517
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Apr 18 15:43:01 2014 +1000

    pmlogmv - fix a couple of corner cases
    
    Validation of input arguments was deficient in a couple of ways ...
    - oldname.NNN was assumed to be data file, but it could be the
      basename for a data file such as oldname.NNN.0
    - if oldname was the prefix of multiple archives, then this was not
      discovered until the linking had begun ... it should be checked
      earlier and trigger a more specific error message
    
    Both isues found when using pmlogmv in anger!
    
    qa/898 added to address the inadequate testing coverage that these
    issues also exposed.

commit 61308844be8caa5bf8cde3857f31012c970b92ad
Merge: f7e19c9 ada57af
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Apr 18 12:11:31 2014 +1000

    Merge branch 'archio' into dev
    
    Improved archive I/O features.

commit f7e19c9b43dc7bf263418f2da3d4b3cd214fcb3a
Merge: 7a0b9fe 6cfd9c0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Apr 18 12:10:30 2014 +1000

    Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev

commit ada57af7f86706729209bfe555a8fe957792ff53
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Apr 18 11:59:52 2014 +1000

    pmlogger I/O changes - part 2
    
    This commit makes further changes to improve the I/O behaviour when
    archives are being created.
    
    1. revert to buffered I/O for the metadata and index files ...
       unbuffered I/O here was a signficant hit and reduced (rather than
       improved) the semantic integrity of the external files
    2. change the semantics for the internal __pmLogPutResult() routine
       so that the buffer containing the PDU is large enough to allow
       __pmLogPutResult() set the record length in the end of the buffer
       and then output all of the logical record (header, pmResult &
       trailer) in a single write()
    3. consequent changes to the users of __pmLogPutResult() in the light
       of 2.

commit 6cfd9c0f42429a20007c9367a29eb1ff89973b54
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 16 13:36:14 2014 +1000

    Ensure memory metrics are converted to kilobytes in pcp-free
    
    Implements Franks review point that pcp-free should make sure
    that its working with kilobytes, instead of assuming that the
    metric descriptor from the kernel PMDA will never change.  A
    no-op for the present, but good future-proofing nonetheless.

commit c2f0a562c66baf28a7c81679ec1b2b7901428c14
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 16 13:26:51 2014 +1000

    Prepare next dev branch, make a call on next release date

commit 78782332f1ee9d027a6f9d8e3ccba59f806f6502
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Apr 16 09:19:11 2014 +1000

    qa/038 - capture a little more diagnostic detail in 038.full

commit 116c98a850dad1d1b3924e9e40742b245b9161be
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Apr 15 18:07:52 2014 +1000

    Update contact details in fedora spec for daves builds

commit 7320e673ce8d4b00d19a05656992c067a6d531e4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Apr 15 10:13:28 2014 +1000

    libpcp - __pmLogNewFile() - make writes unbuffered
    
    One line change to add setvbuf(f, NULL, _IONBF, 0) call
    after fopen(.., "w");

commit 7a0b9fe524b6b13979fa99adf760d5c5096512d5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Apr 11 19:32:16 2014 +1000

    qa/555 - better diags and improved upstart detection

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