While setting up a new server recently, I spent a bit of time doing some basic benchmarks, and I thought it couldn’t hurt just putting them out there. It’s really just the raw data I collected, without analysis or commentary. Also, at this point, if a piece of information isn’t listed here, I likely don’t have it any more.
The hardware is a Intel Xeon L5410A 4x 2.44 Ghz with 16 GB Ram (unless otherwise noted). The ext3 filesystem was used for all tests.
Ubuntu Hardy, 8GB RAM
time git clone [linux-kernel]
2075 KiB/s
real 5m43.632s
user 2m49.540s
sys 0m7.720s
time tar -czf linux.tar.gz linux-git/
real 0m38.317s
user 0m37.460s
sys 0m1.580s
Ubuntu Jaunty, 8GB RAM, on LVM
time git clone [linux-kernel]
2072 KiB/s
real 5m39.452s
user 2m49.040s
sys 0m7.660s
time tar -czf linux.tar.gz linux-git/
real 0m37.786s
user 0m36.140s
sys 0m1.650s
(repeat)
time git clone [linux-kernel]
2061 KiB/s
real 5m36.951s
user 2m48.430s
sys 0m7.980s
time tar -czf linux.tar.gz linux-git/
real 0m37.812s
user 0m36.100s
sys 0m1.700s
bonnie++
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 32G 47133 73 50981 13 25721 4 39083 57 54106 5 368.9 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 34523 60 494559 99 1708 2 14833 23 +++++ +++ 1132 2
elsdoerfer,32G,47133,73,50981,13,25721,4,39083,57,54106,5,368.9,1,256,34523,60,494559,99,1708,2,14833,23,+++++,+++,1132,2
iperf
939 MBit/s
(repeat)
iperf
931 MBit/s
./nbench
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 1108.5 : 28.43 : 9.34
STRING SORT : 246.16 : 109.99 : 17.02
BITFIELD : 4.5177e+08 : 77.49 : 16.19
FP EMULATION : 241.92 : 116.08 : 26.79
FOURIER : 25098 : 28.54 : 16.03
ASSIGNMENT : 33.36 : 126.94 : 32.93
IDEA : 6721.3 : 102.80 : 30.52
HUFFMAN : 2206.8 : 61.19 : 19.54
NEURAL NET : 49.6 : 79.68 : 33.52
LU DECOMPOSITION : 1563.5 : 81.00 : 58.49
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 80.788
FLOATING-POINT INDEX: 56.897
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU : 4 CPU GenuineIntel Intel(R) Xeon(R) CPU L5410 @ 2.33GHz 2333MHz
L2 Cache : 6144 KB
OS : Linux 2.6.28-11-server
C compiler : gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
libc : libc-2.9.so
MEMORY INDEX : 20.857
INTEGER INDEX : 19.652
FLOATING-POINT INDEX: 31.557
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.
Ubuntu Hardy, 512MB RAM, on LVM (read-ahead 8192)
bonnie++ -s 1g -n 2
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 54938 82 59756 15 38555 8 68071 92 119171 11 674.0 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
2 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
elsdoerfer,1G,54938,82,59756,15,38555,8,68071,92,119171,11,674.0,1,2,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
bonnie++ -s 1g -n 256
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 57688 87 60005 15 36878 7 70054 94 116765 11 697.2 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 39843 66 446376 100 1778 2 14549 22 +++++ +++ 1130 2
elsdoerfer,1G,57688,87,60005,15,36878,7,70054,94,116765,11,697.2,1,256,39843,66,446376,100,1778,2,14549,22,+++++,+++,1130,2
Ubuntu Hardy, 512MB RAM, on LVM (read-ahead 8192)
bonnie++ -s 1g -n 2
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 61444 93 60359 16 27047 5 38587 58 63769 6 674.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
2 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
elsdoerfer,1G,61444,93,60359,16,27047,5,38587,58,63769,6,674.7,1,2,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
bonnie++ -s 1g -n 256
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 50989 95 61399 15 26720 5 32579 59 63642 6 703.4 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 39059 66 439526 100 1763 2 17369 27 +++++ +++ 1203 2
elsdoerfer,1G,50989,95,61399,15,26720,5,32579,59,63642,6,703.4,1,256,39059,66,439526,100,1763,2,17369,27,+++++,+++,1203,2
Ubuntu Hardy, 512MB RAM, on LVM (read-ahead 16384)
bonnie++
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 55044 90 60922 16 36693 8 47231 75 124815 15 685.4 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
4 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
elsdoerfer,1G,55044,90,60922,16,36693,8,47231,75,124815,15,685.4,1,4,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
Ubuntu Hardy, 512MB RAM, on LVM (read-ahead 4096)
bonnie++ -s 1g -n 4
Version 1.03c ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
elsdoerfer 1G 58692 90 63051 17 31598 6 62978 88 92682 9 691.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
4 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
elsdoerfer,1G,58692,90,63051,17,31598,6,62978,88,92682,9,691.7,1,4,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,++
Ubuntu Hardy, KVM VM (non-virtio, 2GB RAM)
time git clone [linux-kernel]
2058 KiB/s
real 5m52.794s
user 2m50.330s
sys 0m17.260s
Ubuntu Hardy, KVM VM (virtio, 2GB RAM)
time git clone [linux-kernel]
2059 KiB/s
real 5m52.455s
user 2m50.430s
sys 0m14.470s
time tar -czf linux.tar.gz linux-git/
real 0m40.305s
user 0m37.910s
sys 0m2.080s
iperf
850 Mbit/s
Ubuntu Hardy, KVM VM (virtio disk, pcnet network, 2GB RAM)
iperf
73 Mbit/s
Ubuntu Hardy, KVM VM (virtio, 8GB RAM, 1CPU, 35GB disk)
bonnie++ -s 32g -n 256
Version 1.03b ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
vm1 32G 30618 50 30184 5 21731 4 35322 56 40786 5 280.2 2
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 41823 50 +++++ +++ 11834 11 44915 53 +++++ +++ 4866 5
vm1 32G 30618,50 30184,5 21731,4 35322,56 40786,5 280.2,2 256 41823,50,+++++,+++,11834,11,44915,53,+++++,+++,4866,5
(repeat)
bonnie++ -s 4g -n 16
Version 1.03b ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
vm1 4G 33773 56 48037 8 45177 16 59915 96 349013 85 12613 100
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
vm1,4G,33773,56,48037,8,45177,16,59915,96,349013,85,12612.9,100,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
./nbench
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 1139.8 : 29.23 : 9.60
STRING SORT : 231.36 : 103.38 : 16.00
BITFIELD : 4.3024e+08 : 73.80 : 15.42
FP EMULATION : 248 : 119.00 : 27.46
FOURIER : 24781 : 28.18 : 15.83
ASSIGNMENT : 32.415 : 123.35 : 31.99
IDEA : 5663.5 : 86.62 : 25.72
HUFFMAN : 2433.2 : 67.47 : 21.55
NEURAL NET : 49.58 : 79.65 : 33.50
LU DECOMPOSITION : 1559 : 80.77 : 58.32
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 78.957
FLOATING-POINT INDEX: 56.595
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU : GenuineIntel QEMU Virtual CPU version 0.9.1 2332MHz
L2 Cache : 2048 KB
OS : Linux 2.6.24-23-server
C compiler : gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
libc : libc-2.7.so
MEMORY INDEX : 19.909
INTEGER INDEX : 19.550
FLOATING-POINT INDEX: 31.390
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gc
Ubuntu Hardy, OpenVZ VE (1GB disk, 256 RAM) inside KVM VM (virtio, 8GB RAM, 1CPU, 35GB disk)
./nbench
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 1142.3 : 29.29 : 9.62
STRING SORT : 231.68 : 103.52 : 16.02
BITFIELD : 4.3035e+08 : 73.82 : 15.42
FP EMULATION : 247.92 : 118.96 : 27.45
FOURIER : 24853 : 28.27 : 15.88
ASSIGNMENT : 32.414 : 123.34 : 31.99
IDEA : 5665.2 : 86.65 : 25.73
HUFFMAN : 2436.1 : 67.55 : 21.57
NEURAL NET :
CPU:NNET--error in opening file!
Debian Lenny, 16GB RAM, on LVM (read-align 256)
iperf
921 Mbits/sec
bonnie++ -u michael -s 1g -n 8
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 59378 88 66050 14 24926 4 59592 77 69149 6 719.3 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
8 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
darjeeling,1G,59378,88,66050,14,24926,4,59592,77,69149,6,719.3,1,8,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
bonnie++ -u michael -s 1g -n 256
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 59848 89 65199 14 24752 4 61072 80 69264 5 727.4 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 42443 60 378919 100 1999 2 28995 40 468931 100 1370 2
darjeeling,1G,59848,89,65199,14,24752,4,61072,80,69264,5,727.4,1,256,42443,60,378919,100,1999,2,28995,40,468931,100,1370,2
./nbnench
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 1099.4 : 28.19 : 9.26
STRING SORT : 247.12 : 110.42 : 17.09
BITFIELD : 4.5086e+08 : 77.34 : 16.15
FP EMULATION : 242.64 : 116.43 : 26.87
FOURIER : 24699 : 28.09 : 15.78
ASSIGNMENT : 33.014 : 125.62 : 32.58
IDEA : 6714.6 : 102.70 : 30.49
HUFFMAN : 2174.8 : 60.31 : 19.26
NEURAL NET : 49.02 : 78.75 : 33.12
LU DECOMPOSITION : 1559.9 : 80.81 : 58.35
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 80.450
FLOATING-POINT INDEX: 56.330
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU : 4 CPU GenuineIntel Intel(R) Xeon(R) CPU L5410 @ 2.33GHz 2333MHz
L2 Cache : 6144 KB
OS : Linux 2.6.26-2-openvz-amd64
C compiler : gcc version 4.3.2 (Debian 4.3.2-1.1)
libc : libc-2.7.so
MEMORY INDEX : 20.798
INTEGER INDEX : 19.550
FLOATING-POINT INDEX: 31.243
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
Debian Lenny, 512MB RAM, on LVM (read-align 8192)
bonnie++ -u michael -s 1g -n 256
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 60006 89 65137 14 29067 5 64637 84 78755 6 697.6 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 43515 63 379181 100 2018 3 26261 38 469528 100 1234 1
darjeeling,1G,60006,89,65137,14,29067,5,64637,84,78755,6,697.6,1,256,43515,63,379181,100,2018,3,26261,38,469528,100,1234,1
Debian Lenny, 512MB RAM, disk direct (read-align 256)
bonnie++ -u michael -s 1g -n 256
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 42348 63 45139 9 18894 2 42236 55 46424 4 639.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 38219 54 378907 100 1901 2 8710 12 470516 100 1182 1
darjeeling,1G,42348,63,45139,9,18894,2,42236,55,46424,4,639.7,1,256,38219,54,378907,100,1901,2,8710,12,470516,100,1182,1
Debian Lenny, 512MB RAM, disk direct (read-align 8192)
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 32064 48 45588 9 19811 3 45751 60 51435 4 647.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 43643 62 378565 99 1858 2 8396 11 467667 99 1124 1
darjeeling,1G,32064,48,45588,9,19811,3,45751,60,51435,4,647.7,1,256,43643,62,378565,99,1858,2,8396,11,467667,99,1124,1
(repeat)
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 31010 51 44288 9 20165 4 46325 62 53544 4 626.5 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 44501 62 378833 100 1837 2 8413 11 468219 100 1158 1
darjeeling,1G,31010,51,44288,9,20165,4,46325,62,53544,4,626.5,1,256,44501,62,378833,100,1837,2,8413,11,468219,100,1158,1
(repeat)
Version 1.03d ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
darjeeling 1G 31876 49 45912 9 21013 3 42870 56 42369 3 653.1 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
256 41862 59 377359 100 1818 2 9454 13 469059 99 1179 1
darjeeling,1G,31876,49,45912,9,21013,3,42870,56,42369,3,653.1,1,256,41862,59,377359,100,1818,2,9454,13,469059,99,1179,1
I know I’m digging this up, but anyway…
I see you have used gzip (when compressing the files) which can’t use multiple cores / CPUs, so it might be interesting to see how much faster it would run if you would use (for example) pigz.
pigz is basically a relatively young gzip replacement which can utilize multiple cores / CPUs.
LikeLike