sys_logo

Всем привет! Публикую тесты нескольких серверов от OVH которые я провел в октябре этого года. Все серверы для теста любезно предоставил alice2k

Тестим вот такой сервер http://www.soyoustart.com/ie/offers/e3-sat-3.xml по цене вот этого. Получается что нам выдали более мощный сервер по меньшей цене. Стоимость 35 евро вместо 40. Оказывается такое часто бывает в OVH.

Начнем тест.

Информация о сервере

Спецификация сервера:

Так как это SYS, то многие пункты схожи вот с этим тестом. Разница в том что тут “обычный” антиддос, SATA-диски в RAID-массиве и 100Gb доп. места под бэкапы.

На тесте сервер с Proxmox VE

root@ns3134xx:~# cat /etc/issue
Linux ns3134xx 4.2.2-1-pve #1 SMP Mon Oct 5 18:23:31 CEST 2015 x86_64 GNU/Linux

server    : 233932
ip        : 37.59.4.xx
hostname  : ns3134xx

CPU и RAM

root@ns3134xx:~# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
stepping    : 9
microcode    : 0x15
cpu MHz        : 3498.148
cache size    : 8192 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs        :
bogomips    : 6784.70
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

...

processor    : 7
vendor_id    : GenuineIntel
cpu family    : 6
model        : 58
model name    : Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
stepping    : 9
microcode    : 0x15
cpu MHz        : 3607.320
cache size    : 8192 KB
physical id    : 0
siblings    : 8
core id        : 3
cpu cores    : 4
apicid        : 7
initial apicid    : 7
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bugs        :
bogomips    : 6784.70
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

root@ns3134xx:~# cat /proc/meminfo
MemTotal:       32845020 kB
MemFree:        31323020 kB
MemAvailable:   31958392 kB
Buffers:          173812 kB
Cached:           533468 kB
SwapCached:            0 kB
Active:           932852 kB
Inactive:         332912 kB
Active(anon):     567652 kB
Inactive(anon):    32496 kB
Active(file):     365200 kB
Inactive(file):   300416 kB
Unevictable:        3496 kB
Mlocked:            3512 kB
SwapTotal:       2095096 kB
SwapFree:        2095096 kB
Dirty:                84 kB
Writeback:             0 kB
AnonPages:        561972 kB
Mapped:            58456 kB
Shmem:             39412 kB
Slab:              84224 kB
SReclaimable:      54068 kB
SUnreclaim:        30156 kB
KernelStack:        3632 kB
PageTables:        11108 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    18517604 kB
Committed_AS:    1497072 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      458752 kB
VmallocChunk:   34358947836 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      106272 kB
DirectMap2M:    33345536 kB

Диск примонтирован по-умолчанию вот так:

root@ns3134xx:~# df -H
Filesystem            Size  Used Avail Use% Mounted on
udev                   11M     0   11M   0% /dev
tmpfs                 6.8G   18M  6.8G   1% /run
/dev/md2               21G  1.5G   19G   8% /
tmpfs                  17G   23M   17G   1% /dev/shm
tmpfs                 5.3M     0  5.3M   0% /run/lock
tmpfs                  17G     0   17G   0% /sys/fs/cgroup
/dev/mapper/pve-data  2.0T   71M  1.9T   1% /var/lib/vz
cgmfs                 103k     0  103k   0% /run/cgmanager/fs
/dev/fuse              32M   13k   32M   1% /etc/pve

Более подробная информация о железе:

System:    Host: ns3134xx Kernel: 4.2.2-1-pve x86_64 (64 bit) Console: tty 0
           Distro: /etc/ corrupted, use -% to override
Machine:   Mobo: Intel model: DH67BL v: AAG10189-211 serial: BTBL21701VS0
           Bios: Intel v: BLH6710H.86A.0160.2012.1204.1156 date: 12/04/2012
CPU:       Quad core Intel Xeon E3-1245 V2 (-HT-MCP-) clocked at 3792 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           Display Server: N/A driver: N/A tty size: 182x27 Advanced Data: N/A for root out of X
Network:   Card: Intel 82579V Gigabit Network Connection driver: e1000e
Drives:    HDD Total Size: 4000.8GB (0.1% used)
RAID:      Devices: 1: /dev/md2 2: /dev/md4
Info:      Processes: 196 Uptime: 2 days Memory: 805.4/32075.2MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.1.28

Тесты и замеры производительности

Пинг из Ульяновска:

[rail@localhost ~]$ ping 37.59.4.xx
PING 37.59.4.xx (37.59.4.xx) 56(84) bytes of data.
64 bytes from 37.59.4.xx: icmp_seq=1 ttl=53 time=79.0 ms
64 bytes from 37.59.4.xx: icmp_seq=2 ttl=53 time=79.1 ms
64 bytes from 37.59.4.xx: icmp_seq=3 ttl=53 time=175 ms
64 bytes from 37.59.4.xx: icmp_seq=4 ttl=53 time=79.4 ms
64 bytes from 37.59.4.xx: icmp_seq=5 ttl=53 time=78.7 ms
64 bytes from 37.59.4.xx: icmp_seq=6 ttl=53 time=79.7 ms
64 bytes from 37.59.4.xx: icmp_seq=7 ttl=53 time=79.0 ms
64 bytes from 37.59.4.xx: icmp_seq=8 ttl=53 time=79.3 ms
64 bytes from 37.59.4.xx: icmp_seq=9 ttl=53 time=78.8 ms
64 bytes from 37.59.4.xx: icmp_seq=10 ttl=53 time=79.6 ms
^C
--- 37.59.4.xx ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9013ms
rtt min/avg/max/mdev = 78.793/88.819/175.096/28.762 ms

Довольно неплохая для SATA скорость записи:

root@ns3134xx:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.26799 s, 148 MB/s
root@ns3134xx:~# rm test
root@ns3134xx:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.22757 s, 149 MB/s
root@ns3134xx:~# rm test
root@ns3134xx:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.31147 s, 147 MB/s

Тесты Sysbench

Замеряем производительность процессора нагружая его вычислениями 64-разрядных чисел. Попробуем запустить вычисление в один поток.

root@ns3134xx:~# sysbench --test=cpu --cpu-max-prime=20000 --num-threads=1 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.2105s
    total number of events:              10000
    total time taken by event execution: 22.2099
    per-request statistics:
         min:                                  2.22ms
         avg:                                  2.22ms
         max:                                  2.53ms
         approx.  95 percentile:               2.22ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   22.2099/0.00
root@ns3134xx:~# sysbench --test=mutex --num-threads=64 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

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

Doing mutex performance test
Threads started!
Done.


Test execution summary:
    total time:                          0.5450s
    total number of events:              64
    total time taken by event execution: 33.3360
    per-request statistics:
         min:                                394.17ms
         avg:                                520.88ms
         max:                                543.88ms
         approx.  95 percentile:             543.63ms

Threads fairness:
    events (avg/stddev):           1.0000/0.00
    execution time (avg/stddev):   0.5209/0.04

Теперь замерим производительность оперативной памяти:

root@ns3134xx:~# sysbench --test=memory --num-threads=4 --memory-total-size=32G run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

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

Doing memory operations speed test
Memory block size: 1K

Memory transfer size: 32768M

Memory operations type: write
Memory scope type: global
Threads started!
Done.

Operations performed: 33554432 (5900566.72 ops/sec)

32768.00 MB transferred (5762.27 MB/sec)


Test execution summary:
    total time:                          5.6866s
    total number of events:              33554432
    total time taken by event execution: 15.7350
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.00ms
         max:                                  0.30ms
         approx.  95 percentile:               0.00ms

Threads fairness:
    events (avg/stddev):           8388608.0000/184397.93
    execution time (avg/stddev):   3.9338/0.02

Тест скорости чтения и записи на диск. Чтобы на тест не влиял кэш в ОЗУ зададим общий объем тестовых чуть больше чем установлено на сервере RAM.

root@ns3134xx:/var/lib/vz/tst# sysbench --test=fileio --file-total-size=36G prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark

128 files, 294912Kb each, 36864Mb total
Creating files for the test...
root@ns3134xx:/var/lib/vz/tst# sysbench --test=fileio --file-total-size=36G --file-test-mode=rndrw --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

Extra file open flags: 0
128 files, 288Mb each
36Gb 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:  58500 Read, 39000 Write, 124673 Other = 222173 Total
Read 914.06Mb  Written 609.38Mb  Total transferred 1.4877Gb  (5.0763Mb/sec)
  324.88 Requests/sec executed

Test execution summary:
    total time:                          300.1090s
    total number of events:              97500
    total time taken by event execution: 77.6201
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.80ms
         max:                                 49.03ms
         approx.  95 percentile:               7.24ms

Threads fairness:
    events (avg/stddev):           97500.0000/0.00
    execution time (avg/stddev):   77.6201/0.00

Serverbear

Тесты Serverbear

Выводы

Очень крутое предложение. Считаю такой сервер прекрасным вариантом для хостинга сайтов.