public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Speed up with pbzip2  or not!?
@ 2008-01-27  9:58 Justin
  2008-01-27 10:11 ` Dirk Heinrichs
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Justin @ 2008-01-27  9:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

Hey guys!

Yesterday I found this article
http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was
very happy, because I'm an owner of an Q6600.

So I tried to reproduce the benchmark from the wiki article but got that
bad results:

test # time *bzip2* -d -kf linux-2.6.23.tar.bz2

real    0m11.672s
user    0m11.306s
sys     0m0.367s


test # time *pbzip2* -d -p4 -kf linux-2.6.23.tar.bz2

real    0m25.554s
user    0m24.862s
sys     0m0.683s

So the parallel version took more than the double time!

To test whether this is a problem of my Pc I tested this on an Dual Core
with the same result.

An test with 7z was much better:


 test # time *7za* x -y linux-2.6.23.tar.bz2

real    0m4.642s
user    0m8.379s
sys     0m0.327s


All tests where done in a tmpfs off 1GB on 2GB RAM.


So my questions is what did I do wrong?

I also tested it with different CFLAGS, but my CFLAGS are basically very
conservative. (-O2 -march=prescott -pipe -fomit-frame-pointer)

[-- Attachment #2: Type: text/html, Size: 1528 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-01-27 19:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-27  9:58 [gentoo-user] Speed up with pbzip2 or not!? Justin
2008-01-27 10:11 ` Dirk Heinrichs
2008-01-27 10:28   ` Justin
2008-01-27 10:49     ` Dirk Heinrichs
2008-01-27 10:58       ` Justin
2008-01-27 11:00         ` Justin
2008-01-27 10:16 ` Florian Philipp
2008-01-27 10:37   ` Justin
2008-01-27 12:54     ` Hemmann, Volker Armin
2008-01-27 19:07       ` Florian Philipp
2008-01-27 10:40 ` Justin
2008-01-27 11:33   ` Benno Schulenberg
2008-01-27 11:38   ` Florian Philipp
2008-01-27 17:29     ` Enrico Weigelt
2008-01-27 17:54       ` Bo Ørsted Andresen
2008-01-27 18:21       ` Justin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox