RE: gzip vs. compress

From: M Rafiq <rafiq9857_at_hotmail.com>
Date: Tue, 22 Jan 2008 20:33:11 -0500
Message-ID: <BAY107-W3692D75E35AA60887EB1ADA13F0@phx.gbl>

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.  

Regards
Rafiq> Date: Tue, 22 Jan 2008 20:18:56 -0300> From: lfcerri@gmail.com> To: alberto.dellera@gmail.com> Subject: Re: gzip vs. compress> CC: rafiq9857@hotmail.com; joe_dba@hotmail.com; oracle-l@freelists.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 <alberto.dellera@gmail.com>:> > On Jan 22, 2008 9:04 PM, M Rafiq <rafiq9857@hotmail.com> 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
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 22 2008 - 19:33:11 CST

Original text of this message