This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1376861 - pcp pmwebd performance improvements
pcp pmwebd performance improvements
Status: NEW
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
26
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: pcp-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-16 12:09 EDT by Frank Ch. Eigler
Modified: 2017-08-23 11:00 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Frank Ch. Eigler 2016-09-16 12:09:10 EDT
pmwebd is slow to answer certain types of queries, sometimes painfully so.
Some ideas:

- fix multithreading problems in libpcp, so that the core pmwebapi portion of
  pmwebd could become multithreaded

- fix multithreading problems in libpcp, so that the graphite pmwebapi portion can be fully multithreaded too (with concurrent service of different requests, rather than just concurrent scans of multiple archives for a given request)

- for graphite mode, cache archive metadata somehow.  We can't keep all of the   archives open because of FD limits.  Plus we must be tolerant to archives that are being actively written-to (so the metadata cache must be flushable).

- for graphite-json query outputs, investigate whether all the JSON "{null, $timestamp}" entries actually must be emitted.  Maybe the graphite/grafana webapps we bundle can fill in that stuff.

- for graphite-png query outputs, rework the representation of all the timeseries in memory as a big rectangular vector-of-vectors.  The nulls/nans probably don't need to be materialized, and costing perhaps tens or hundreds of MB (for massive sets of series).
Comment 1 Fedora End Of Life 2017-02-28 05:19:21 EST
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.
Comment 2 Mark Goodwin 2017-08-02 20:49:10 EDT
Frank, how much of this is in mainline and/or your pcpfans tree, what's left to be done?
Comment 3 Nathan Scott 2017-08-02 20:52:21 EDT
(In reply to Mark Goodwin from comment #2)
> Frank, how much of this is in mainline and/or your pcpfans tree, what's left
> to be done?

Frank is on PTO for a few weeks Mark.  Nothing has been sent upstream at this stage, although of course Ken's libpcp threading improvements continue onward independently.

Note You need to log in before you can comment on or make changes to this bug.