pcp
[Top] [All Lists]

[Bug 1099] New: compressed archive volumes hobble pmwebd graphite webapi

To: pcp@xxxxxxxxxxx
Subject: [Bug 1099] New: compressed archive volumes hobble pmwebd graphite webapi
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 15 Dec 2014 20:19:58 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
Bug ID 1099
Summary compressed archive volumes hobble pmwebd graphite webapi
Product pcp
Version unspecified
Hardware All
OS Linux
Status NEW
Severity major
Priority P5
Component pcp
Assignee pcp@oss.sgi.com
Reporter fche@redhat.com
CC pcp@oss.sgi.com
Classification Unclassified

When pmwebd scans an directory of archives that contain compressed
volumes, libpcp causes each file to be decompressed, briefly analyzed,
and then tossed away.  Even one round of bunzip2'ing a single file
takes too long; but imagine what a directory full of them does.

It would be nice if we had some combination of:

- a way of directly accessing compressed files in situ,
  as in zlib or libbz2 ... except they are not normally seekable

- use of a seekable compression tool/library like dictzip
  (it's in the dictd package, dictd_data_read_ etc.,
  licensed GPL1+, so usable)

 
http://stackoverflow.com/questions/429987/compression-formats-with-good-support-for-random-access-within-archives/4010096

- tweak libpcp so it does not decompress whole volume files
  just to answer basic queries like PMNS enumeration, log start and 
  *end* times, which are generally in the .meta / .index.  (The
  archive end is not so nigh -- maybe we need a pcp-archive format
  tweak, or perhaps an fstat()-based heuristic?)

- tweak libpcp so that decompressed files are kept in a cache
  for a while, to avoid redecompression

- a way of letting pmwebd open up numerous long-lived pmcontext's,
  so any explicit decompression step would have to be paid-for only
  once


You are receiving this mail because:
  • You are on the CC list for the bug.
  • You are the assignee for the bug.
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1099] New: compressed archive volumes hobble pmwebd graphite webapi, bugzilla-daemon <=