Re: On the fly compression

From: Bertrand Petit <elrond@dont-contact.us>
Date: Wed, 17 Mar 1999 18:38:36 +0100

On Wed, Mar 17, 1999 at 09:37:40AM +0000, Bertold Kolics wrote:
> First, examine a content of a cache. Typically, 70% of its content is
> GIF and JPG images and about 10% is textual files (HTML files, ftp
> directory listings, etc.).
> Is it worth implementing this feature?

        It's still a 20% saving. Here is a stupid test I just made on
a 780 MB spool:

$ tar cf - /var/spool/ww-cache/0* | gzip -9v >/dev/null
 20.7%

-- 
%!PS Il n'y a pas de mauvaises reponses, il n'y a que de mauvaises questions
/B{bind def}def/m{moveto}B/d{dup}B/s{gsave}B/r{grestore}B/S{stroke}B/P{false 
charpath}B/G{setgray}B/W{setlinewidth}B/z{0 G 1 W}B/Times-Roman findfont 120 
scalefont setfont 60 10 m 56 rotate(elrond@netdev.net)d d s z 40 40 rmoveto
P S r s 0.5 G .5 W P flattenpath{newpath m 40 40 rlineto S}d{}{}pathforall 
r s z P S r 400 120 m (Bertrand) show 400 -160 m (Petit) show showpage
Received on Wed Mar 17 1999 - 10:48:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:19 MST