pcp
[Top] [All Lists]

pcp updates - pmlogger I/O all unbuffered now

To: pcp@xxxxxxxxxxx
Subject: pcp updates - pmlogger I/O all unbuffered now
From: kenj@xxxxxxxxxxx (Ken McDonell)
Date: Mon, 28 Apr 2014 07:42:06 +1000 (EST)
Delivered-to: pcp@xxxxxxxxxxx
Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 man/man1/pmlc.1             |    5 +
 man/man1/pmlogger.1         |   23 ++++-
 qa/099.out                  |    1 
 qa/102.out                  |    9 --
 qa/139.out                  |    1 
 qa/179.out                  |    2 
 qa/322                      |   17 +++-
 qa/492.out                  |    2 
 qa/510.out                  |    1 
 qa/518                      |   14 +++
 qa/928.out                  |   74 ++++++++++++++++-
 qa/group                    |    2 
 qa/src/chkputlogresult.c    |   14 +++
 src/libpcp/src/logmeta.c    |  184 ++++++++++++++++++++++----------------------
 src/libpcp/src/logutil.c    |   79 ++++++++++++------
 src/pmlc/pmlc.c             |    1 
 src/pmlogger/src/callback.c |   12 --
 src/pmlogger/src/dopdu.c    |    4 
 src/pmlogger/src/logger.h   |    7 -
 src/pmlogger/src/pmlogger.c |   41 +--------
 src/pmlogger/src/ports.c    |    5 -
 src/pmlogger/src/preamble.c |    2 
 22 files changed, 287 insertions(+), 213 deletions(-)

commit 20dde126ce6a40c4a7b39bfff661e1074cc603b0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Apr 28 07:40:13 2014 +1000

    qa/518 - dodge other pmie's running at the same time
    
    Filter pcp -P output to pick pmie lines for just the pmie launched
    by qa/518.

commit 61450c26fe10e7cbc860f220cb7e10722ebe92e3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Apr 28 07:17:35 2014 +1000

    qa/492 - track change in error message format for pmlogrewrite

commit 1c85848f3c64a93acc930d505c995601fd3783ab
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 27 19:15:25 2014 +1000

    pmlc - retire flush command
    
    Recent changes tp pmlogger mean the flush operation is no longer
    needed.
    
    Removed reference to "flush command from help text (so lots of
    cosmetic QA changes), toned down the man page description and
    turned the implementation to a no-op.
    
    The pmlc "flush" command is still (sliently) supported to provide
    backwards compatibility for scripts using pmlc.

commit 9a980fdfd31f900adde8db11c505dbf22c293e54
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 27 17:06:13 2014 +1000

    libpcp - __pmLogPut*() all unbuffered writes now
    
    Changes to __pmLogPutDesc, __pmLogPutInDom and __pmLogWriteLabel
    so that each record to an archive file is written in a single
    fwrite() and using unbuffered I/O for each file.

commit 7357a7e8cf96b7e18f8b8cc0777d00e0d8a1894a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 27 17:02:09 2014 +1000

    pmlogger - turn all flushing operations into no-ops
    
    All pmlogger writes are now unbuffered, with one fwrite() per logical
    record for each of the data, metadata and index files.
    
    So we can retire
    - the -u command line option
    - the SIGUSR1 handler
    - support for the flush command from pmlc
    
    All are preserved for backwards compatibility, but they are now
    no-ops that are either not documented any more or described as no
    longer useful.

commit e93c254ed3b0e9165faf1d56a5122cb78db06928
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 27 16:59:05 2014 +1000

    qa/928 - extend chkputlogresult
    
    Make sure the test program also calls __pmLogPutInDom() so we can
    exercise all of the archive fwrite() paths in libpcp.

commit bf081792016e9fd0e1db6359056c35855d8fbd9f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 27 16:58:24 2014 +1000

    qa/group - qa/510 exercises pmlc as well

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - pmlogger I/O all unbuffered now, Ken McDonell <=