From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JJ4te-0000PR-04 for garchives@archives.gentoo.org; Sun, 27 Jan 2008 10:37:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2239BE02CD; Sun, 27 Jan 2008 10:37:52 +0000 (UTC) Received: from 0815-web.localdomain (static.21.48.46.78.clients.your-server.de [78.46.48.21]) by pigeon.gentoo.org (Postfix) with ESMTP id E91BFE02CD for ; Sun, 27 Jan 2008 10:37:51 +0000 (UTC) Received: by 0815-web.localdomain (Postfix, from userid 1007) id 7FB9E9DCBD3; Sun, 27 Jan 2008 11:37:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on 0815-web.localdomain X-Spam-Level: X-Spam-Status: No, score=-100.1 required=5.0 tests=AWL,BAYES_00,PLING_QUERY, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.2.1 Received: from [192.168.1.33] (ip-62-143-21-146.1411O-CUD12K-04.ish.de [62.143.21.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by 0815-web.localdomain (Postfix) with ESMTP id 3C5E59DCBD1 for ; Sun, 27 Jan 2008 11:37:55 +0100 (CET) Message-ID: <479C5EFD.6090500@j-schmitz.net> Date: Sun, 27 Jan 2008 11:37:49 +0100 From: Justin User-Agent: Thunderbird 2.0.0.9 (X11/20071218) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Speed up with pbzip2 or not!? References: <479C55D6.70406@j-schmitz.net> <1201428996.13657.6.camel@NOTE_GENTOO64.PHHEIMNETZ> In-Reply-To: <1201428996.13657.6.camel@NOTE_GENTOO64.PHHEIMNETZ> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 876465d9-912b-4d18-815b-db525367cb30 X-Archives-Hash: 1f3607cdd7a6cf387c8e05ca34983ac9 Thats a good point. Now it worked really fast. But then the questions is why should I use pbzip2 for decompression with portage? I think most tarballs are packed only with the normal compression algorithm! The WIKI articel pretends a gain of speed which wont be! Florian Philipp schrieb: > On Sun, 2008-01-27 at 10:58 +0100, Justin wrote: > >> 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 >> >> > > >> So my questions is what did I do wrong? >> > > > Did you compress it with pbzip2 in the first place? > > Pbzip2 can only speed up decompression of files created by pbzip2, as > well. Read the docs, dude ... > > p7zip has got its own implementation of bzip2, which might be faster. > -- gentoo-user@lists.gentoo.org mailing list