Changes committed to git://git.pcp.io/pcp.git master
Martins Innus (14):
Initial pmdaslurm checkin
pmdaslurm add build config
pmdaslurm - fix Install options
pmdaslurm - fix hostname lookup
pmdaslurm - more hostname fixes
First cut at multi-threading the slurm pmda
pmda slurm : don't die if slurm controller is not up
pmdaslurm : remove a debug config
Use timestamp in slurm_load_jobs to reduce the number of queries
pmdaslurm : add build to spec file
pmdaslurm : Reduce memory use
QA for pmda slurm
pmdaslurm : Add a missing Remove file
pmdaslurm : add QA out file
Mark Goodwin (6):
containers: remove /proc bind mount, it conflicts with --pid=host
pmchart - improve time axis labeling
build: fix containers build for docker 1.8.
pcp-pmie container: remove /proc bind mount, it conflicts with --pid=host
Use full path to pmie in pmie_check.
Containers: bindmount /dev/log for syslog messages
Nathan Scott (5):
build: bump version and dates for next planned release
docs: minor typo fix in proc.nproc semantics
build: add slurm pmda into the fedora.spec as well
libpcp: small cleanups to pdubuf.c, abstract out gcc directives
qa: remove leftovers from ./new template in test 1065
Frank Ch. Eigler (4):
Revert "libpcp: temporarily revert pdubuf tsearch-based optimisation"
Revert "qa: updated couple of expected test outputs, pdubuf-related"
tsearch pdubuf: correct off-by-one error in matching address to pdubuf
qa/1065: new test for pdubuf range checking
Marko Myllynen (2):
pmdads389: instantaneous vs discrete metric corrections
pmdads389: add normalized dn cache metrics
CHANGELOG | 3
Makepkgs | 4
VERSION.pcp | 2
books/PCP_PG/pcp-programmers-guide.xml | 2
books/PCP_UAG/pcp-users-and-administrators-guide.xml | 6
build/containers/pcp-base/Dockerfile | 4
build/containers/pcp-collector/Dockerfile | 4
build/containers/pcp-monitor/Dockerfile | 4
build/containers/pcp-pmie/Dockerfile | 4
build/containers/pcp-pmlogger/Dockerfile | 4
build/containers/pcp-testsuite/Dockerfile | 4
build/rpm/fedora.spec | 176 ++--
build/rpm/pcp.spec.in | 28
debian/changelog | 6
qa/1031 | 62 +
qa/1031.out | 34
qa/1065 | 62 +
qa/1065.out | 70 +
qa/825 | 4
qa/825.out | 7
qa/828.out | 20
qa/833.out | 86 -
qa/GNUmakefile | 2
qa/GNUmakefile.install | 2
qa/group | 3
qa/slurm/GNUmakefile | 21
qa/slurm/GNUmakefile.install | 21
qa/slurm/Slurm.pm | 141 +++
qa/slurm/Slurm/GNUmakefile | 17
qa/slurm/Slurm/GNUmakefile.install | 19
qa/slurm/Slurm/Hostlist.pm | 21
qa/src/.gitignore | 1
qa/src/GNUlocaldefs | 2
qa/src/pdubufbounds.c | 52 +
scripts/bintray-upload | 2
src/libpcp/src/GNUmakefile | 4
src/libpcp/src/check-statics | 6
src/libpcp/src/compiler.h | 31
src/libpcp/src/internal.h | 13
src/libpcp/src/pdubuf.c | 481 +++++------
src/pmchart/statusbar.h | 2
src/pmchart/timeaxis.cpp | 47 -
src/pmchart/timeaxis.h | 2
src/pmdas/GNUmakefile | 2
src/pmdas/ds389/pmdads389.pl | 27
src/pmdas/slurm/GNUmakefile | 45 +
src/pmdas/slurm/Install | 28
src/pmdas/slurm/Remove | 24
src/pmdas/slurm/pmdaslurm.1 | 57 +
src/pmdas/slurm/pmdaslurm.pl | 821 ++++++++++++++-----
src/pmie/pmie_check.sh | 2
51 files changed, 1790 insertions(+), 702 deletions(-)
commit 713f8f099db75d0299671d82ab14ae6d7f5c5a3d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Sep 18 12:47:42 2015 +1000
qa: remove leftovers from ./new template in test 1065
commit 7c0b78678a37815b719276abc8c952d234f114a7
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Fri Sep 18 12:35:35 2015 +1000
pmdads389: add normalized dn cache metrics
commit 937edb318fff34ad898113dfc292d7c431c9fb84
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Fri Sep 18 12:33:28 2015 +1000
pmdads389: instantaneous vs discrete metric corrections
commit 889c99bb400a52380b5a88c273a9c1d47390d709
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Sep 18 11:41:28 2015 +1000
libpcp: small cleanups to pdubuf.c, abstract out gcc directives
Updates to pdubuf.c so that it uses libpcp coding style. Several
small readability changes too, incl. a couple of missed unlikely/
likely branches hiding behind ternary operators (collapsed down a
branch or two in the process). Abstract use of __builtin_expect,
so that other libpcp locations (e.g. all pmDebug?) could make use
of it too someday.
commit 0759092ea1f2349a6d801ed110d498e3138f66bb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Sep 18 10:01:40 2015 +1000
build: add slurm pmda into the fedora.spec as well
commit e9e93d7e503b51d583c786c9d1ff68d4d9e2b8df
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Sep 18 09:15:38 2015 +1000
docs: minor typo fix in proc.nproc semantics
commit 2f5a881b073f82b0e1c643951236a7311dee5eb2
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Sep 17 18:13:03 2015 +1000
build: bump version and dates for next planned release
commit 7025f497f7db335e3e0955ea59190ae79526fe44
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu Sep 17 13:16:59 2015 +1000
Containers: bindmount /dev/log for syslog messages
Fedora journald and systemd listen on the /dev/log socket (which
is actually a symlink). So we need to bind mount it, especially for
pmie to log messages.
modified: build/containers/pcp-base/Dockerfile
modified: build/containers/pcp-collector/Dockerfile
modified: build/containers/pcp-monitor/Dockerfile
modified: build/containers/pcp-pmie/Dockerfile
modified: build/containers/pcp-pmlogger/Dockerfile
modified: build/containers/pcp-testsuite/Dockerfile
commit 77582e49b3465fe4b21337c7d868d8f7a7fe71e2
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Wed Sep 16 11:07:13 2015 -0400
qa/1065: new test for pdubuf range checking
This test exercises the __pm*PDU* API for off-by-N errors.
commit 4b9ffbd040e63d6fe0663325193bfc8b7234f5a6
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Wed Sep 16 11:07:57 2015 -0400
tsearch pdubuf: correct off-by-one error in matching address to pdubuf
The tsearch-based comparison function computed false-positives for
overlapping pdubuf address ranges for the one-past-buffer case. We
encountered this bug on MacOS only, where memory allocations can
appear tightly packed. This could result in prematurely freed pdubufs
and eventually worse.
We also add range-checking assertions to the result of the tsearch.
commit 045e8cbbe0e9b7d8dbcbf3510469e63ecf8d9f89
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Wed Sep 16 13:49:32 2015 -0400
Revert "qa: updated couple of expected test outputs, pdubuf-related"
This reverts commit 136796807fbc30c2eb3445ba34556b797d71dafc.
commit 2cf44ec1fe3acac63f4c02bacca1e2dbf6d56b4b
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Wed Sep 16 13:48:19 2015 -0400
Revert "libpcp: temporarily revert pdubuf tsearch-based optimisation"
This reverts commit ab715bd75287187d478e3e27a977b44434d4fef6.
commit ea0b3516cc4193ccb0ee2544aaccb8088b01607a
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu Sep 17 00:08:23 2015 +1000
Use full path to pmie in pmie_check.
In a container, the PATH has $PCP_SHARE_DIR/lib ahead of $PCP_BIN_DIR,
so trying to run "pmie" in pmie_check is going to relaunch the rc script
(recursively) rather than running the pmie binary.
modified: src/pmie/pmie_check.sh
commit 9b0f7b29efc9c45de22ee74baf81607eeb5736ad
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed Sep 16 10:19:46 2015 +1000
pcp-pmie container: remove /proc bind mount, it conflicts with --pid=host
For the pcp-pmie container, same change as commit bafb33eac62.
modified: build/containers/pcp-pmie/Dockerfile
commit 68a1ea924046249fad8a68eab6b19d095046a4c7
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed Sep 16 09:26:04 2015 +1000
build: fix containers build for docker 1.8.
Latest docker version 1.8.x in f22 has changed the format of the
'docker version' command. Fix the script to handle new and old.
modified: Makepkgs
commit e845faa250562fa493612731e756ff408200ff69
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue Sep 15 12:59:43 2015 +1000
pmchart - improve time axis labeling
Improve the time axis labels in pmchart by including the date under each
time label when the visible chart interval (delta * visible points) exceeds
6 hours, and also at midnight. This improves the time axis labeling for
archives spanning multiple days or longer. Also tweak the major ticks
calculation to avoid scrunched up time axis labels after a resize event,
or a change to the visible points or the update interval.
modified: src/pmchart/statusbar.h
modified: src/pmchart/timeaxis.cpp
modified: src/pmchart/timeaxis.h
commit 129bfc5fd788d747c5ec2acfa70cd51900a55a60
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Sep 11 13:59:05 2015 +0000
pmdaslurm : add QA out file
commit baf0ffa73afab365cbb7872554a5958cca88cc3c
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Sep 11 13:37:58 2015 +0000
pmdaslurm : Add a missing Remove file
commit 628605e8a179a2c2339c59f58a4a8cfe71ae278d
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Sep 11 13:26:31 2015 +0000
QA for pmda slurm
commit ebd77c6baa0b18f2fd28731177728de425f0a661
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed Aug 12 13:16:38 2015 -0400
pmdaslurm : Reduce memory use
Only keep track of the jobs that are running in the current host
commit bafb33eac6226fc92c3a3da424581184b7d3e765
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed Aug 5 15:09:49 2015 +1000
containers: remove /proc bind mount, it conflicts with --pid=host
Docker v1.7.1 doesn't allow -v /proc:/proc and --pid=host since this
is a redundant and conflicting configuration. Remove the bind mount.
modified: build/containers/pcp-collector/Dockerfile
modified: build/containers/pcp-monitor/Dockerfile
modified: build/containers/pcp-pmlogger/Dockerfile
modified: build/containers/pcp-testsuite/Dockerfile
commit a20cb883f0ad60f4dc86e42dd71042b86c937613
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Jul 17 18:47:42 2015 +0000
pmdaslurm : add build to spec file
commit bd480889adf256798437ae48ad42b2691e349ea0
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu Jul 9 16:06:14 2015 -0400
Use timestamp in slurm_load_jobs to reduce the number of queries
commit 8a64111ed602c8b36eb3502dce9f16c4b59b2f34
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed Jun 10 20:10:08 2015 +0000
pmdaslurm : remove a debug config
commit b1eceeb742cb4d0ba55e0694e25507626b0ce7a3
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Wed Jun 3 13:55:50 2015 -0400
pmda slurm : don't die if slurm controller is not up
commit ce90ee5ca0933744df5c77594559b35c955fbe7c
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu May 21 15:39:42 2015 -0400
First cut at multi-threading the slurm pmda
commit 38c6ea99e773edbf51b52f92e474873eddd4b8f8
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue Apr 21 15:57:03 2015 -0400
pmdaslurm - more hostname fixes
commit 494534adb9a3fa8b6f1ae68890b9efb9af6894b0
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue Apr 21 19:53:06 2015 +0000
pmdaslurm - fix hostname lookup
commit 9aae2d6b2d41fc4fbbb172e778038fb99597cc25
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue Apr 21 19:00:15 2015 +0000
pmdaslurm - fix Install options
commit 1dff4dcd3cc118063bba3a76121a9044b658c9e6
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu Apr 16 14:08:46 2015 -0400
pmdaslurm add build config
commit da096205daa024cb9f00207884673e2fb4f24d8e
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu Apr 16 14:04:24 2015 -0400
Initial pmdaslurm checkin
Uses the slurm perlapi component to provide information
on jobs, nodes, and users in a slurm cluster
|