[Bug 1377464] New: "pmrep proc" takes too long

[email protected]
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
https://bugzilla.redhat.com/show_bug.cgi?id=1377464

            Bug ID: 1377464
           Summary: "pmrep proc" takes too long
           Product: Fedora
           Version: rawhide
         Component: pcp
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]



Marko reports "pmrep proc" takes on the order of many seconds.  Diagnosis with
the aid of a systemtap script (ltrace and $PCP_DEBUG not being helpful)
indicated that the pmrep is using the extend_item rather than extend_indom API
for the metrics beneath proc.*, one instance per call.

This means that each extend_item involves another bunch of lookups, repeated
over processes (the indom), and over metrics (proc.*).

pmrep should routinely use the extend_indom API for metrics with indoms.  (It
can use the same API for metrics with a null indom!).  It can find the instance
domain in the output results coming from each fetch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=oq2zT9macB&a=cc_unsubscribe
_______________________________________________
pcp mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/pcp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.