Сравнение производительности интернет серверов на базе CentOS 7 с помощью sysbench

aruba.it Cloud VPSHome Server (mini PC)
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2650L v4 @ 1.70GHz
Stepping: 2
CPU MHz: 1699.998
BogoMIPS: 3399.99
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 35840K
NUMA node0 CPU(s): 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt aes xsave avx hypervisor lahf_lm ssbd ibrs ibpb stibp arat spec_ctrl intel_stibp flush_l1d arch_capabilities
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 28
Model name: Intel(R) Atom(TM) CPU D525 @ 1.80GHz
Stepping: 10
CPU MHz: 1799.963
BogoMIPS: 3599.92
L1d cache: 24K
L1i cache: 32K
L2 cache: 512K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
vmstat -s
1005464 K total memory
424968 K used memory
322412 K active memory
439972 K inactive memory
107460 K free memory
10792 K buffer memory
462244 K swap cache
2187260 K total swap
881368 K used swap
1305892 K free swap
11894647 non-nice user cpu ticks
1920 nice user cpu ticks
3356001 system cpu ticks
240301223 idle cpu ticks
411574 IO-wait cpu ticks
0 IRQ cpu ticks
102521 softirq cpu ticks
0 stolen cpu ticks
1359619623 pages paged in
250036370 pages paged out
24274346 pages swapped in
24668596 pages swapped out
532768085 interrupts
812810584 CPU context switches
1582570400 boot time
3783001 forks
sysbench --test=cpu --cpu-max-prime=10000 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
events per second: 637.44

General statistics:
total time: 10.0012s
total number of events: 6377

Latency (ms):
min: 1.50
avg: 1.57
max: 23.64
95th percentile: 1.67
sum: 9991.08

Threads fairness:
events (avg/stddev): 6377.0000/0.00
execution time (avg/stddev): 9.9911/0.00
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
events per second: 105.06

General statistics:
total time: 10.0008s
total number of events: 1051

Latency (ms):
min: 9.50
avg: 9.51
max: 9.59
95th percentile: 9.56
sum: 9996.48

Threads fairness:
events (avg/stddev): 1051.0000/0.00
execution time (avg/stddev): 9.9965/0.00
sysbench mutex run --threads=10
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 10
Initializing random number generator from current time


Initializing worker threads...

Threads started!


General statistics:
total time: 2.8415s
total number of events: 10

Latency (ms):
min: 2736.35
avg: 2779.19
max: 2825.76
95th percentile: 2828.87
sum: 27791.92

Threads fairness:
events (avg/stddev): 1.0000/0.00
execution time (avg/stddev): 2.7792/0.03
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 10
Initializing random number generator from current time


Initializing worker threads...

Threads started!


General statistics:
total time: 2.8783s
total number of events: 10

Latency (ms):
min: 2596.99
avg: 2774.81
max: 2857.42
95th percentile: 2880.27
sum: 27748.06

Threads fairness:
events (avg/stddev): 1.0000/0.00
execution time (avg/stddev): 2.7748/0.08
sysbench threads run --threads=4 --thread-yields=1000
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 4
Initializing random number generator from current time


Initializing worker threads...

Threads started!


General statistics:
total time: 10.0161s
total number of events: 7407

Latency (ms):
min: 4.73
avg: 5.40
max: 22.81
95th percentile: 7.30
sum: 40009.01

Threads fairness:
events (avg/stddev): 1851.7500/4.49
execution time (avg/stddev): 10.0023/0.01
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 4
Initializing random number generator from current time


Initializing worker threads...

Threads started!


General statistics:
total time: 10.0023s
total number of events: 18004

Latency (ms):
min: 1.63
avg: 2.22
max: 21.17
95th percentile: 3.07
sum: 39932.11

Threads fairness:
events (avg/stddev): 4501.0000/1216.01
execution time (avg/stddev): 9.9830/0.01
sysbench fileio prepare --file-num=10 --file-total-size=1G --file-extra-flags=direct
sysbench 1.0.17 (using system LuaJIT 2.0.4)

10 files, 104857Kb each, 1023Mb total
Creating files for the test...
Extra file open flags: directio
Creating file test_file.0
Creating file test_file.1
Creating file test_file.2
Creating file test_file.3
Creating file test_file.4
Creating file test_file.5
Creating file test_file.6
Creating file test_file.7
Creating file test_file.8
Creating file test_file.9
1073807360 bytes written in 7.08 seconds (144.74 MiB/sec).
[root]# sysbench memory run --memory-total-size=20G --memory-open=write --memory-access-mode=rnd --time=0
WARNING: Both event and time limits are disabled, running an endless test
sysbench 1.0.17 (using system LuaJIT 2.0.4)
sysbench 1.0.17 (using system LuaJIT 2.0.4)

10 files, 104857Kb each, 1023Mb total
Creating files for the test...
Extra file open flags: directio
Creating file test_file.0
Creating file test_file.1
Creating file test_file.2
Creating file test_file.3
Creating file test_file.4
Creating file test_file.5
Creating file test_file.6
Creating file test_file.7
Creating file test_file.8
Creating file test_file.9
1073807360 bytes written in 19.45 seconds (52.66 MiB/sec).
[root]# sysbench memory run --memory-total-size=20G --memory-open=write --memory-access-mode=rnd --time=0
WARNING: Both event and time limits are disabled, running an endless test
sysbench 1.0.17 (using system LuaJIT 2.0.4)
sysbench memory run --memory-total-size=20G
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Running memory speed test with the following options:
block size: 1KiB
total size: 20480MiB
operation: write
scope: global

Initializing worker threads...

Threads started!

Total operations: 20971520 (2244289.02 per second)

20480.00 MiB transferred (2191.69 MiB/sec)


General statistics:
total time: 9.3417s
total number of events: 20971520

Latency (ms):
min: 0.00
avg: 0.00
max: 22.03
95th percentile: 0.00
sum: 4251.57

Threads fairness:
events (avg/stddev): 20971520.0000/0.00
execution time (avg/stddev): 4.2516/0.00
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Running memory speed test with the following options:
block size: 1KiB
total size: 20480MiB
operation: write
scope: global

Initializing worker threads...

Threads started!

Total operations: 2460366 (245959.49 per second)

2402.70 MiB transferred (240.19 MiB/sec)


General statistics:
total time: 10.0002s
total number of events: 2460366

Latency (ms):
min: 0.00
avg: 0.00
max: 0.05
95th percentile: 0.00
sum: 3792.80

Threads fairness:
events (avg/stddev): 2460366.0000/0.00
execution time (avg/stddev): 3.7928/0.00
Запись опубликована в рубрике Без рубрики с метками , , . Добавьте в закладки постоянную ссылку.

Добавить комментарий