Re: Parallel GZIP --> speed instead of 2 CPUs running

2008-12-23 Thread Ron Johnson
On 12/23/08 00:28, Osamu Aoki wrote: [snip] PS: I did not understand intent of "Total" time written in Ron Johnson's post. I added up real+user+sys, but suddenly I realize what a stupid mistake that was. -- Ron Johnson, Jr. Jefferson LA USA I like my women like I like my coffee - purchas

Re: Parallel GZIP --> speed instead of 2 CPUs running

2008-12-22 Thread Osamu Aoki
Hi, I am wonderig why Ron Johnson replied to my post with just bzip2 bench marks. Maybe I was unclear about myself. >> Osamu: >> The full story is here on my amd64 core2duo system: >> >> Summary: (with -1 option for speed, real time for compression) >> >> Binary filesText f

Re: Parallel GZIP --> speed instead of 2 CPUs running

2008-12-22 Thread Ron Johnson
On 12/22/08 10:49, Osamu Aoki wrote: On Mon, Dec 22, 2008 at 05:13:17PM +0200, Eugene V. Lyubimkin wrote: Thomas Preud'homme wrote: The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : ... I have a core 2 duo and time give me a usage of almost 200% with pbzip2 Anyone has bet

Re: Parallel GZIP --> speed instead of 2 CPUs running

2008-12-22 Thread Osamu Aoki
On Mon, Dec 22, 2008 at 05:13:17PM +0200, Eugene V. Lyubimkin wrote: > Thomas Preud'homme wrote: > > The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : ... > > I have a core 2 duo and time give me a usage of almost 200% with pbzip2 > > > > Anyone has better results ? > Yes, see

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Thomas Preud'homme wrote: > The Monday 22 December 2008 17:26:17 Eugene V. Lyubimkin, you wrote : >> Nelson Castillo wrote: No, don't. I'm just wondering why. Actually I did a test in the same order (bzip2 and the pbzip2) on a tar of my picture directory and on a video. I just don't

Re: Parallel GZIP

2008-12-22 Thread Thomas Preud'homme
The Monday 22 December 2008 17:26:17 Eugene V. Lyubimkin, you wrote : > Nelson Castillo wrote: > >> No, don't. I'm just wondering why. Actually I did a test in the same > >> order (bzip2 and the pbzip2) on a tar of my picture directory and on a > >> video. I just don't understand why my 2 runs aren

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Nelson Castillo wrote: >> No, don't. I'm just wondering why. Actually I did a test in the same order >> (bzip2 and the pbzip2) on a tar of my picture directory and on a video. I >> just don't understand why my 2 runs aren't much quicker with pbzip2. > > Your test data is already compressed :-) You

Re: Parallel GZIP

2008-12-22 Thread Nelson Castillo
> No, don't. I'm just wondering why. Actually I did a test in the same order > (bzip2 and the pbzip2) on a tar of my picture directory and on a video. I > just don't understand why my 2 runs aren't much quicker with pbzip2. Your test data is already compressed :-) You will not be able to compress

Re: Parallel GZIP

2008-12-22 Thread Nelson Castillo
>> Anyone has better results ? > Yes, see following: > > jac...@work:~/temp$ time tar -cjf temp1.tar.bz2 debian > > real0m18.830s > user0m18.317s > sys 0m0.268s > jac...@work:~/temp$ time bash -c "tar -cf - debian | pbzip2 -c > > temp2.tar.bz2" > > real0m10.494s > user0m19.557s

Re: Parallel GZIP

2008-12-22 Thread Thomas Preud'homme
The Monday 22 December 2008 16:47:26 Eugene V. Lyubimkin, you wrote : > Thomas Preud'homme wrote: > > The Monday 22 December 2008 16:13:17 Eugene V. Lyubimkin, you wrote : > >> Thomas Preud'homme wrote: > >>> The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : > Volkan YAZICI

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Ron Johnson wrote: > On 12/22/08 09:13, Eugene V. Lyubimkin wrote: >> Thomas Preud'homme wrote: >>> The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : Volkan YAZICI wrote: > Hi, > > Are there any compression tools in the official Debian GNU/Linux > repositori

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Thomas Preud'homme wrote: > The Monday 22 December 2008 16:13:17 Eugene V. Lyubimkin, you wrote : >> Thomas Preud'homme wrote: >>> The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : Volkan YAZICI wrote: > Hi, > > Are there any compression tools in the official De

Re: Parallel GZIP

2008-12-22 Thread Ron Johnson
On 12/22/08 09:13, Eugene V. Lyubimkin wrote: Thomas Preud'homme wrote: The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : Volkan YAZICI wrote: Hi, Are there any compression tools in the official Debian GNU/Linux repositories that can take the benefit of multiple cores/cpus

Re: Parallel GZIP

2008-12-22 Thread Thomas Preud'homme
The Monday 22 December 2008 16:13:17 Eugene V. Lyubimkin, you wrote : > Thomas Preud'homme wrote: > > The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : > >> Volkan YAZICI wrote: > >>> Hi, > >>> > >>> Are there any compression tools in the official Debian GNU/Linux > >>> reposito

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Thomas Preud'homme wrote: > The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : >> Volkan YAZICI wrote: >>> Hi, >>> >>> Are there any compression tools in the official Debian GNU/Linux >>> repositories that can take the benefit of multiple cores/cpus? >> pbzip2? > > > I profit o

Re: Parallel GZIP

2008-12-22 Thread Thomas Preud'homme
The Monday 22 December 2008 13:53:43 Eugene V. Lyubimkin, you wrote : > Volkan YAZICI wrote: > > Hi, > > > > Are there any compression tools in the official Debian GNU/Linux > > repositories that can take the benefit of multiple cores/cpus? > > pbzip2? I profit of this thread to ask you if you se

Re: Parallel GZIP

2008-12-22 Thread Douglas A. Tutty
On Mon, Dec 22, 2008 at 11:37:34AM +, Tzafrir Cohen wrote: > On Mon, Dec 22, 2008 at 01:10:04PM +0200, Volkan YAZICI wrote: > > > > Are there any compression tools in the official Debian GNU/Linux > > repositories that can take the benefit of multiple cores/cpus? > > Could you please giva a u

Re: Parallel GZIP

2008-12-22 Thread Osamu Aoki
Hi, On Mon, Dec 22, 2008 at 02:48:41PM +0200, Volkan YAZICI wrote: > On Mon, 22 Dec 2008, Tzafrir Cohen writes: > > Could you please giva a usage scenario? > > Compressing a database backup file of size 300GB. > > > Is the task really CPU bound and not i/o bound? > > "top -d 1" tells me that C

Re: Parallel GZIP

2008-12-22 Thread Volkan YAZICI
On Mon, 22 Dec 2008, Tzafrir Cohen writes: > Could you please giva a usage scenario? Compressing a database backup file of size 300GB. > Is the task really CPU bound and not i/o bound? "top -d 1" tells me that CPU usage is 800%. (BTW, have you ever met with an input file that is not CPU bound,

Re: Parallel GZIP

2008-12-22 Thread Eugene V. Lyubimkin
Volkan YAZICI wrote: > Hi, > > Are there any compression tools in the official Debian GNU/Linux > repositories that can take the benefit of multiple cores/cpus? pbzip2? -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com Ukrainian C++ Developer, Debian Maintainer, APT contribu

Re: Parallel GZIP

2008-12-22 Thread Tzafrir Cohen
On Mon, Dec 22, 2008 at 01:10:04PM +0200, Volkan YAZICI wrote: > Hi, > > Are there any compression tools in the official Debian GNU/Linux > repositories that can take the benefit of multiple cores/cpus? Could you please giva a usage scenario? Is the task really CPU bound and not i/o bound? --