| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] suitability of PCP for event tracing |
| From: | "Frank Ch. Eigler" <fche@xxxxxxxxxx> |
| Date: | Thu, 16 Sep 2010 10:24:00 -0400 |
| Cc: | Greg Banks <gnb@xxxxxxxxxxx>, "nathans@xxxxxxxxxx" <nathans@xxxxxxxxxx>, "systemtap@xxxxxxxxxxxxxxxxxx" <systemtap@xxxxxxxxxxxxxxxxxx>, "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx> |
| In-reply-to: | <4C921049.6010402@xxxxxxxxxxxxxxxx> |
| References: | <105152664.981101284508372475.JavaMail.root@xxxxxxxxxxxxxxxxxx> <4C90397B.1040305@xxxxxxxxxxx> <20100915121115.GF26765@xxxxxxxxxx> <4C9162FC.1040402@xxxxxxxxxxx> <20100916010348.GJ26765@xxxxxxxxxx> <4C917BE0.40706@xxxxxxxxxxx> <4C921049.6010402@xxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.4.2.2i |
Hi - > [...] Makes sense. > So, can anyone mount a convincing argument that the requirements would > demand changes to allow asynchronous behaviour between PMAPI clients > <---> PMCD <---> PMDAs? Not without more data, so your plan sounds good. > If not, I strongly suggest we work to flesh out the changes needed > to make a variable length array of structured event records > available through the existing poll-based APIs. OK. This suggests two separate steps: allowing more than one separately-timestamped metric tuple to come back from the new array-fetch functions; and to allow structured data through some new metric data type. For the former, it seems we'd need at least three functions in pmapi.h to be forwarded to the pmda: one to start watching metrics of interest, one to poll any values collected since last time, and one to shut down the watch. For the pmda side, since main thread control is to stay elsewhere, asynchronous data collection would seem to require multithreading in the typical cases, but perhaps not initially. - FChE |
| Previous by Date: | Re: [pcp] suitability of PCP for event tracing, Ken McDonell |
|---|---|
| Next by Date: | Re: [pcp] suitability of PCP for event tracing, Ken McDonell |
| Previous by Thread: | Re: [pcp] suitability of PCP for event tracing, Ken McDonell |
| Next by Thread: | Re: [pcp] suitability of PCP for event tracing, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |