After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128705 - Compress ~/.pan/<server>/* data files
Compress ~/.pan/<server>/* data files
Status: RESOLVED WONTFIX
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal enhancement
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-12-06 22:08 UTC by qube99
Modified: 2012-01-05 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description qube99 2003-12-06 22:08:05 UTC
It would be nice to have, if at least an option, to auto compress/
decompress with gzip the data files in ~/.pan/<server>/.  They should 
compact pretty nicely and the saved space could be useful.
Comment 1 Charles Kerr 2003-12-17 18:54:55 UTC
I tried this a couple of years ago, and the result was that the files
were *much* smaller but reading/saving the header files was an order
of magnitude slower.  Maybe things have improved since then -- if
someone wants to benchmark times to save a big newsgroup with &
without compression I'd love to see the results.
Comment 2 Benoît Dejean 2005-04-06 18:09:02 UTC
I think the best way to compress the cache for smaller disk usage and faster
startup would be to rewrite the cache to use something like gdbm. This would
reduce internal fragmentation.

For example :

message/cache contains 3057 files
du -hs message/cache -> 14MB
data size -> 8MB

Everytime i start pan, it's a pain to hear my disk ... This is a real issue ...
Comment 3 Charles Kerr 2006-07-28 18:55:47 UTC
I tried this out again somewhere around 0.95.  The space
savings were very good (though less than before, since the
new data files are better organized), but reading was
5x slower and saving was more than 10x slower than
without compression.
Comment 4 Benoît Dejean 2006-07-28 19:14:28 UTC
i guess that every layout but one file per message would improve performance.
Comment 5 Heinrich Müller 2012-01-05 22:05:36 UTC
the next version will employ a db backend if i'm concerned, so wontfix.