1 |
Is there a way to use 7zip for decompression with emerge? |
2 |
|
3 |
|
4 |
|
5 |
|
6 |
Justin schrieb: |
7 |
> Hey guys! |
8 |
> |
9 |
> Yesterday I found this article |
10 |
> http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and |
11 |
> was very happy, because I'm an owner of an Q6600. |
12 |
> |
13 |
> So I tried to reproduce the benchmark from the wiki article but got |
14 |
> that bad results: |
15 |
> |
16 |
> test # time *bzip2* -d -kf linux-2.6.23.tar.bz2 |
17 |
> |
18 |
> real 0m11.672s |
19 |
> user 0m11.306s |
20 |
> sys 0m0.367s |
21 |
> |
22 |
> |
23 |
> test # time *pbzip2* -d -p4 -kf linux-2.6.23.tar.bz2 |
24 |
> |
25 |
> real 0m25.554s |
26 |
> user 0m24.862s |
27 |
> sys 0m0.683s |
28 |
> |
29 |
> So the parallel version took more than the double time! |
30 |
> |
31 |
> To test whether this is a problem of my Pc I tested this on an Dual |
32 |
> Core with the same result. |
33 |
> |
34 |
> An test with 7z was much better: |
35 |
> |
36 |
> |
37 |
> test # time *7za* x -y linux-2.6.23.tar.bz2 |
38 |
> |
39 |
> real 0m4.642s |
40 |
> user 0m8.379s |
41 |
> sys 0m0.327s |
42 |
> |
43 |
> |
44 |
> All tests where done in a tmpfs off 1GB on 2GB RAM. |
45 |
> |
46 |
> |
47 |
> So my questions is what did I do wrong? |
48 |
> |
49 |
> I also tested it with different CFLAGS, but my CFLAGS are basically |
50 |
> very conservative. (-O2 -march=prescott -pipe -fomit-frame-pointer) |
51 |
-- |
52 |
gentoo-user@l.g.o mailing list |