Last active
June 26, 2018 03:53
-
-
Save danmack/05561034e3ccb6aafcf775200e100d2c to your computer and use it in GitHub Desktop.
gzip vs pigz with-without hyper threading i7-3930k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@f292b233-6a5b-e858-898a-85d89db534c5 ~]# ministat -c 99.5 -s -w 60 | |
trial.1 trial.2 | |
x trial.1 | |
+ trial.2 | |
+------------------------------------------------------------+ | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|x +| | |
|A | | |
| A| | |
+------------------------------------------------------------+ | |
x - hyperthreading (198 watts peak) | |
+ - hyperthreading disabled in BIOS (174 watts peak) | |
N Min Max Median Avg Stddev | |
x 10 24.46 24.54 24.48 24.485 0.026352314 | |
+ 10 34.68 34.75 34.72 34.719 0.018529256 | |
Difference at 99.5% confidence | |
10.234 +/- 0.0367756 | |
41.797% +/- 0.150196% | |
(Student's t, pooled s = 0.0227791) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@f292b233-6a5b-e858-898a-85d89db534c5 ~]# ./trial.sh ./gzip-no-ht-i7-3930k ./pigz-no-ht-i7-3930k | |
x trial.1 | |
+ trial.2 | |
+------------------------------------------------------------------------------------------------------------------------+ | |
|+ | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ x | | |
|+ xx| | |
| A | | |
|A | | |
+------------------------------------------------------------------------------------------------------------------------+ | |
N Min Max Median Avg Stddev | |
x 10 246.14 248.33 246.2 246.407 0.67664286 | |
+ 10 34.68 34.75 34.72 34.719 0.018529256 | |
Difference at 99.5% confidence | |
-211.688 +/- 0.772733 | |
-85.9099% +/- 0.3136% | |
(Student's t, pooled s = 0.478638) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
rm -rf gzip_out && mkdir gzip_out | |
for i in raw/* ; do | |
fn=$(basename $i) | |
gzip raw/$fn -c > gzip_out/${fn}.gz | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf pigz_out && mkdir pigz_out | |
for i in raw/* ; do | |
fn=$(basename $i) | |
pigz raw/$fn -c > pigz_out/${fn}.gz | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@f292b233-6a5b-e858-898a-85d89db534c5 ~]# ./trial.sh ./gzip-ht-i7-3930k ./pigz-ht-i7-3930k | |
x trial.1 | |
+ trial.2 | |
+------------------------------------------------------------------------------------------------------------------------+ | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
|+ x| | |
| A| | |
|A | | |
+------------------------------------------------------------------------------------------------------------------------+ | |
N Min Max Median Avg Stddev | |
x 10 246.62 247 246.94 246.88 0.13540064 | |
+ 10 24.46 24.54 24.48 24.485 0.026352314 | |
Difference at 99.5% confidence | |
-222.395 +/- 0.157471 | |
-90.0822% +/- 0.0637845% | |
(Student's t, pooled s = 0.0975392) | |
[root@f292b233-6a5b-e858-898a-85d89db534c5 ~]# ls -l raw/ | |
total 1959066 | |
-rw-r--r-- 1 root root 1769771950 Nov 13 2012 com-orkut.ungraph.txt | |
-rw-r--r-- 1 root root 227440640 May 28 12:35 emacs-26.1.tar | |
-rw-r--r-- 1 root root 562176000 May 2 09:29 gcc-8.1.0.tar | |
-rw-r--r-- 1 root root 1341774104 Aug 21 2013 gplus_combined.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment