Linux Bench Mark of Soyoustart server VS Homebased Bay-tray Server

SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load.

$apt-get install sysbench

Soyoustart E3-SAT-3 Intel Xeon E3 1245v2 4c/8t 3.4 GHz+ 32 GB 2x2TB SATA SoftRaid 16IPv4 $56.00CAD/Mnth

$ sysbench –test=cpu –cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 22.2765s
total number of events: 10000
total time taken by event execution: 22.2758
per-request statistics:
min: 2.21ms
avg: 2.23ms
max: 5.35ms
approx. 95 percentile: 2.28ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 22.2758/0.00

$ sysbench –test=fileio –file-total-size=150G –file-test-mode=rndrw –init-rng=on –max-time=300 –max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

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

Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting…
Done.

Operations performed: 21840 Read, 14560 Write, 46551 Other = 82951 Total
Read 341.25Mb Written 227.5Mb Total transferred 568.75Mb (1.8958Mb/sec)
121.33 Requests/sec executed

Test execution summary:
total time: 300.0083s
total number of events: 36400
total time taken by event execution: 154.0920
per-request statistics:
min: 0.00ms
avg: 4.23ms
max: 67.57ms
approx. 95 percentile: 11.50ms

Threads fairness:
events (avg/stddev): 36400.0000/0.00
execution time (avg/stddev): 154.0920/0.00
$sysbench –test=fileio –file-total-size=150G cleanup

$sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX prepare
$sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX–max-time=60 –oltp-read-only=on –max-requests=0 –num-threads=8 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using “BEGIN” for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting…
(last message repeated 7 times)
Done.

OLTP test statistics:
queries performed:
read: 1342600
write: 0
other: 191800
total: 1534400
transactions: 95900 (1598.25 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 1342600 (22375.45 per sec.)
other operations: 191800 (3196.49 per sec.)

Test execution summary:
total time: 60.0033s
total number of events: 95900
total time taken by event execution: 479.4940
per-request statistics:
min: 1.74ms
avg: 5.00ms
max: 65.49ms
approx. 95 percentile: 6.31ms

Threads fairness:
events (avg/stddev): 11987.5000/25.12
execution time (avg/stddev): 59.9368/0.00

$sysbench –test=oltp –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX cleanup

Home Tray- Server
$ sysbench –test=cpu –cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 42.9262s
total number of events: 10000
total time taken by event execution: 42.9202
per-request statistics:
min: 4.25ms
avg: 4.29ms
max: 12.57ms
approx. 95 percentile: 4.32ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 42.9202/0.00

$ sysbench –test=fileio –file-total-size=150G –file-test-mode=rndrw –init-rng=on –max-time=300 –max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

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

Extra file open flags: 0
128 files, 1.1719Gb each
150Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting…
Done.

Operations performed: 19740 Read, 13160 Write, 42010 Other = 74910 Total
Read 308.44Mb Written 205.62Mb Total transferred 514.06Mb (1.7135Mb/sec)
109.66 Requests/sec executed

Test execution summary:
total time: 300.0087s
total number of events: 32900
total time taken by event execution: 177.1898
per-request statistics:
min: 0.01ms
avg: 5.39ms
max: 53.44ms
approx. 95 percentile: 12.98ms

Threads fairness:
events (avg/stddev): 32900.0000/0.00
execution time (avg/stddev): 177.1898/0.00
$sysbench –test=fileio –file-total-size=150G cleanup

~$ sysbench –test=oltp –oltp-table-size=1000000 –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX–max-time=60 –oltp-read-only=on –max-requests=0 –num-threads=8 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using “BEGIN” for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting…
(last message repeated 7 times)
Done.

OLTP test statistics:
queries performed:
read: 330694
write: 0
other: 47242
total: 377936
transactions: 23621 (393.60 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 330694 (5510.46 per sec.)
other operations: 47242 (787.21 per sec.)

Test execution summary:
total time: 60.0120s
total number of events: 23621
total time taken by event execution: 479.8122
per-request statistics:
min: 2.88ms
avg: 20.31ms
max: 54.78ms
approx. 95 percentile: 29.62ms

Threads fairness:
events (avg/stddev): 2952.6250/13.99
execution time (avg/stddev): 59.9765/0.00

$sysbench –test=oltp –mysql-db=test –mysql-user=root –mysql-password=XXXXXXXX cleanup

结论:

抵挡的之强E3 服务器的性能,与抵挡的个人Bay-Tray机的比较:

CPU性能  2倍

磁盘读写,稍微快一点,不明显

MySQL性能,5倍。

UnixBench

SoyouStart SYS-E3-SAT-3T

CPU 0: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz (6784.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
…..
CPU 7:
06:34:11 up 45 days, 23:16, 1 user, load average: 1.08, 0.73, 0.43; runlevel 2

————————————————————————
Benchmark Run: Fri Apr 22 2016 06:34:11 – 07:03:19
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 41985868.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3860.2 MWIPS (13.9 s, 7 samples)
Execl Throughput 2143.0 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1341320.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 354148.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3038413.2 KBps (30.0 s, 2 samples)
Pipe Throughput 2810580.9 lps (10.0 s, 7 samples)
Pipe-based Context Switching 125135.9 lps (10.0 s, 7 samples)
Process Creation 9474.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4708.7 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2601.0 lpm (60.0 s, 2 samples)
System Call Overhead 4995876.6 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 41985868.5 3597.8
Double-Precision Whetstone 55.0 3860.2 701.9
Execl Throughput 43.0 2143.0 498.4
File Copy 1024 bufsize 2000 maxblocks 3960.0 1341320.6 3387.2
File Copy 256 bufsize 500 maxblocks 1655.0 354148.0 2139.9
File Copy 4096 bufsize 8000 maxblocks 5800.0 3038413.2 5238.6
Pipe Throughput 12440.0 2810580.9 2259.3
Pipe-based Context Switching 4000.0 125135.9 312.8
Process Creation 126.0 9474.5 751.9
Shell Scripts (1 concurrent) 42.4 4708.7 1110.5
Shell Scripts (8 concurrent) 6.0 2601.0 4335.1
System Call Overhead 15000.0 4995876.6 3330.6
========
System Benchmarks Index Score 1650.0

————————————————————————
Benchmark Run: Fri Apr 22 2016 07:03:19 – 07:31:57
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables 184253998.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 34534.8 MWIPS (9.9 s, 7 samples)
Execl Throughput 20302.3 lps (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1060155.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 267058.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3048746.6 KBps (30.0 s, 2 samples)
Pipe Throughput 12012576.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1552004.4 lps (10.0 s, 7 samples)
Process Creation 49549.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 28008.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 4678.1 lpm (60.1 s, 2 samples)
System Call Overhead 10960493.1 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 184253998.2 15788.7
Double-Precision Whetstone 55.0 34534.8 6279.1
Execl Throughput 43.0 20302.3 4721.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 1060155.1 2677.2
File Copy 256 bufsize 500 maxblocks 1655.0 267058.0 1613.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 3048746.6 5256.5
Pipe Throughput 12440.0 12012576.2 9656.4
Pipe-based Context Switching 4000.0 1552004.4 3880.0
Process Creation 126.0 49549.3 3932.5
Shell Scripts (1 concurrent) 42.4 28008.1 6605.7
Shell Scripts (8 concurrent) 6.0 4678.1 7796.8
System Call Overhead 15000.0 10960493.1 7307.0
========
System Benchmarks Index Score 5381.0

Bay-tray Server at home

========================================================================
BYTE UNIX Benchmarks (Version 5.1.2)

System: pioneer-PC: GNU/Linux
OS: GNU/Linux — 3.13.0-85-generic — #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)
CPU 0: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (4832.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (4832.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
06:51:30 up 8 days, 9:01, 1 user, load average: 1.93, 1.43, 0.98; runlevel 2

————————————————————————
Benchmark Run: Fri Apr 22 2016 06:51:30 – 07:19:49
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 12909173.8 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2181.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 1251.0 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 385660.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 110242.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 885921.6 KBps (30.0 s, 2 samples)
Pipe Throughput 988040.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 58298.2 lps (10.0 s, 7 samples)
Process Creation 4310.3 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3060.0 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 723.9 lpm (60.0 s, 2 samples)
System Call Overhead 1941336.5 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 12909173.8 1106.2
Double-Precision Whetstone 55.0 2181.9 396.7
Execl Throughput 43.0 1251.0 290.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 385660.0 973.9
File Copy 256 bufsize 500 maxblocks 1655.0 110242.6 666.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 885921.6 1527.5
Pipe Throughput 12440.0 988040.7 794.2
Pipe-based Context Switching 4000.0 58298.2 145.7
Process Creation 126.0 4310.3 342.1
Shell Scripts (1 concurrent) 42.4 3060.0 721.7
Shell Scripts (8 concurrent) 6.0 723.9 1206.5
System Call Overhead 15000.0 1941336.5 1294.2
========
System Benchmarks Index Score 649.6

————————————————————————
Benchmark Run: Fri Apr 22 2016 07:19:49 – 07:48:28
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables 23912237.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4363.3 MWIPS (10.0 s, 7 samples)
Execl Throughput 3624.6 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 453392.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 125918.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1111064.5 KBps (30.0 s, 2 samples)
Pipe Throughput 1838487.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 223319.6 lps (10.0 s, 7 samples)
Process Creation 10257.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4885.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 770.6 lpm (60.1 s, 2 samples)
System Call Overhead 2806574.8 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 23912237.5 2049.0
Double-Precision Whetstone 55.0 4363.3 793.3
Execl Throughput 43.0 3624.6 842.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 453392.1 1144.9
File Copy 256 bufsize 500 maxblocks 1655.0 125918.3 760.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 1111064.5 1915.6
Pipe Throughput 12440.0 1838487.1 1477.9
Pipe-based Context Switching 4000.0 223319.6 558.3
Process Creation 126.0 10257.7 814.1
Shell Scripts (1 concurrent) 42.4 4885.5 1152.2
Shell Scripts (8 concurrent) 6.0 770.6 1284.3
System Call Overhead 15000.0 2806574.8 1871.0
========
System Benchmarks Index Score 1128.2

The UnixBech score of the Bay-Tray Atom server is about 1/5 of a SYS E3 Server

发表评论

电子邮件地址不会被公开。 必填项已用*标注