public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Justin <justin@j-schmitz.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Speed up with pbzip2  or not!?
Date: Sun, 27 Jan 2008 10:58:46 +0100	[thread overview]
Message-ID: <479C55D6.70406@j-schmitz.net> (raw)

[-- 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 --]

             reply	other threads:[~2008-01-27  9:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27  9:58 Justin [this message]
2008-01-27 10:11 ` [gentoo-user] Speed up with pbzip2 or not!? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479C55D6.70406@j-schmitz.net \
    --to=justin@j-schmitz.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox