pcp
[Top] [All Lists]

[Bug 1041] New: pmlogger lacks duplicate-elimination on metric-groups in

To: pcp@xxxxxxxxxxx
Subject: [Bug 1041] New: pmlogger lacks duplicate-elimination on metric-groups in config file
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 27 Dec 2013 02:47:23 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
Bug ID 1041
Summary pmlogger lacks duplicate-elimination on metric-groups in config file
Product pcp
Version unspecified
Hardware All
OS Linux
Status NEW
Severity major
Priority P5
Component pcp
Assignee pcp@kenj.com.au
Reporter fche@redhat.com
CC pcp@oss.sgi.com
Classification Unclassified

A generated or hand-made config.pmlogger file may have many
clauses such as:

#+ kernel/summary-linux:y:default:
## summary kernel performance data [Linux]
log advisory on default {
        mem.util
        swap.pagesin
        swap.pagesout
        swap.free
        swap.used
        kernel.all.pswitch
        kernel.all.intr
        kernel.all.load
        kernel.all.runnable
        network.interface.collisions
        network.interface.in.drops
        network.interface.out.drops
        disk.dev.avactive
        filesys.full
}
[...]
#+ tools/collectl:y:default:
## metrics used by the collectl command
log advisory on default {
[...]
        kernel.all.intr
        kernel.all.load
        kernel.all.nprocs
        kernel.all.pswitch
        kernel.all.runnable
[...]
#+ tools/pmstat:y:default:
## metrics used by the pmstat(1) command
log advisory on default {
        kernel.all.load
        swap.used
[...]

Note e.g. kernel.all.load being listed frequently, all with the "default"
logging interval.

pmlogger appears to interpret this as a requirement to log these
multiply-mentioned metrics multiple times, thus multiplying the
disk consumption.  One can confirm this with e.g. pmlogger -r 
outputs, or pmval -U $archive listing the same metric repeated
at near-identical timestamps, then the expected interval.

Instead, pmlogger should duplicate-eliminate amongst specification
groups.


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1041] New: pmlogger lacks duplicate-elimination on metric-groups in config file, bugzilla-daemon <=