RE: gzip vs. compress
Date: Tue, 22 Jan 2008 20:33:11 -0500
Very nice comparison.
Personally I am using gzip (on any platform) since 1998 without any issues. cpu usage was pointed out by my collegue as it touches 100% sometime.
Rafiq> Date: Tue, 22 Jan 2008 20:18:56 -0300> From: firstname.lastname@example.org> To: email@example.com> Subject: Re: gzip vs. compress> CC: firstname.lastname@example.org; email@example.com; firstname.lastname@example.org> > Adding my 0.02, you'd can do some tests on your box and, as others> have said, make your mind based on what is cheaper for you: disk space> or CPU.> > > Original random.out is about 7MB:> > > > $ time gzip random.out> > real 0m7.231s> user 0m6.650s> sys 0m0.540s> > > $ ls -l random.out.gz> -rw-r--r-- 1 owner users 39641 Jan 22 11:39 random.out.gz> > > > $ time compress random.out> > real 0m26.246s> user 0m22.470s> sys 0m1.220s> > > > $ ls -l random.out.Z> -rw-r--r-- 1 owner users 386673 Jan 22 11:39 random.out.Z> > > HTH,> Cerri> > > 2008/1/22, Alberto Dell'Era <email@example.com>:> > On Jan 22, 2008 9:04 PM, M Rafiq <firstname.lastname@example.org> wrote:> > > Only observation is high CPU usage for gzip than compress though.> >> > Also worth mentioning:> >> > > man gzip> > (snip)> > -# --fast --best> > Regulate the speed of compression using the specified> > digit #, where -1 or --fast indicates the fastest compression> > method (less compression) and -9 or --best indicates the> > slowest compression method (best compression). The default com-> > pression level is -6 (that is, biased towards high compression> > at expense of speed).> >> > probably (not tested myself) you might experience less CPU utilization> > by setting a low compression rate, if CPU is at a premium.> >> > --> > Alberto Dell'Era> > "the more you know, the faster you go"> > --> > http://www.freelists.org/webpage/oracle-l> >> >> >> --> http://www.freelists.org/webpage/oracle-l> >
Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan Received on Tue Jan 22 2008 - 19:33:11 CST