pcp
[Top] [All Lists]

[Bug 1091] New: pmapi extension for regularly scheduled fetches

To: pcp@xxxxxxxxxxx
Subject: [Bug 1091] New: pmapi extension for regularly scheduled fetches
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 03 Dec 2014 18:40:08 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
Bug ID 1091
Summary pmapi extension for regularly scheduled fetches
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

In order to limit unnecessary load, it would be helpful if the PMAPI
included a single operation to fetch metrics in a recurrent manner.

The aim would be to eliminate having to wake up pmlogger just to send
the inquiry, let it go to sleep awaiting network/pmcd, then waking it
up again when each response comes.  It could help synchronize

A possible PMAPI-flavoured extension might look like:

int pmFetchRecurrent(int numpid, pmID *pmidList, struct timeval interval,
                     int (*consumerCallBack)(pmResult *),
                     volatile int *cancel);

(where the consumer callback and the cancel flag could determine how
long the operation is to continue).  PDU state-machine design etc. TBD.


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>