ovh_logo

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

Публикую тест виртуального сервера от OVH на тарифе VPS SSD 2 за 5.99 евро.

Начнем тест.

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

Тарифы:

Здесь все аналогично предыдущему тесту. Разница только в том что тариф подороже.

На тесте сервер с Debian 7

root@vps1992xx:~# cat /etc/issue
Debian GNU/Linux 7 \n \l

CPU и RAM

root@vps1992xx:~# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel Xeon E312xx (Sandy Bridge)
stepping    : 1
microcode    : 0x1
cpu MHz        : 2394.442
cache size    : 4096 KB
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 mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc up rep_good nopl pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm xsaveopt vnmi ept fsgsbase smep erms
bogomips    : 4788.88
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management:

root@vps1992xx:~# cat /proc/meminfo
MemTotal:        3965424 kB
MemFree:         2058032 kB
Buffers:           47320 kB
Cached:          1106008 kB
SwapCached:            0 kB
Active:          1194516 kB
Inactive:         598360 kB
Active(anon):     639672 kB
Inactive(anon):     1696 kB
Active(file):     554844 kB
Inactive(file):   596664 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                72 kB
Writeback:             0 kB
AnonPages:        639572 kB
Mapped:            36232 kB
Shmem:              1820 kB
Slab:              81984 kB
SReclaimable:      72540 kB
SUnreclaim:         9444 kB
KernelStack:         888 kB
PageTables:         9416 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1982712 kB
Committed_AS:    1360040 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       18672 kB
VmallocChunk:   34359696868 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       40952 kB
DirectMap2M:     4055040 kB
DirectMap1G:           0 kB

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

root@vps1992xx:~# df -H
Filesystem      Size  Used Avail Use% Mounted on
rootfs           22G  1.7G   19G   9% /
udev             11M     0   11M   0% /dev
tmpfs           407M  197k  406M   1% /run
/dev/vda1        22G  1.7G   19G   9% /
tmpfs           5.3M     0  5.3M   0% /run/lock
tmpfs           813M     0  813M   0% /run/shm

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

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

[rail@localhost ~]$ ping 149.202.59.1xx
PING 149.202.59.1xx (149.202.59.1xx) 56(84) bytes of data.
64 bytes from 149.202.59.1xx: icmp_seq=1 ttl=52 time=80.3 ms
64 bytes from 149.202.59.1xx: icmp_seq=2 ttl=52 time=80.8 ms
64 bytes from 149.202.59.1xx: icmp_seq=3 ttl=52 time=83.8 ms
64 bytes from 149.202.59.1xx: icmp_seq=4 ttl=52 time=80.5 ms
64 bytes from 149.202.59.1xx: icmp_seq=5 ttl=52 time=80.0 ms
64 bytes from 149.202.59.1xx: icmp_seq=6 ttl=52 time=79.6 ms
64 bytes from 149.202.59.1xx: icmp_seq=7 ttl=52 time=80.2 ms
64 bytes from 149.202.59.1xx: icmp_seq=8 ttl=52 time=80.6 ms
64 bytes from 149.202.59.1xx: icmp_seq=9 ttl=52 time=79.9 ms
64 bytes from 149.202.59.1xx: icmp_seq=10 ttl=52 time=79.5 ms
64 bytes from 149.202.59.1xx: icmp_seq=11 ttl=52 time=82.9 ms
^C
--- 149.202.59.1xx ping statistics ---
11 packets transmitted, 11 received, 0% packet loss, time 10015ms
rtt min/avg/max/mdev = 79.517/80.781/83.831/1.306 ms
root@vps1992xx:~# 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, 3.31861 s, 324 MB/s
root@vps1992xx:~# rm test
root@vps1992xx:~# 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, 3.1426 s, 342 MB/s
root@vps1992xx:~# rm test
root@vps1992xx:~# 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, 2.65997 s, 404 MB/s

Тесты Sysbench

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

root@vps1992xx:~# 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:                          32.1753s
    total number of events:              10000
    total time taken by event execution: 32.1720
    per-request statistics:
         min:                                  2.78ms
         avg:                                  3.22ms
         max:                                  7.92ms
         approx.  95 percentile:               3.37ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   32.1720/0.00
root@vps1992xx:~# 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.1650s
    total number of events:              64
    total time taken by event execution: 6.4615
    per-request statistics:
         min:                                  2.56ms
         avg:                                100.96ms
         max:                                159.12ms
         approx.  95 percentile:             158.76ms

Threads fairness:
    events (avg/stddev):           1.0000/0.00
    execution time (avg/stddev):   0.1010/0.05

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

root@vps1992xx:~# free -m
             total       used       free     shared    buffers     cached
Mem:          3872       1868       2004          0         48       1080
-/+ buffers/cache:        739       3133
Swap:            0          0          0
root@vps1992xx:~# sysbench --test=memory --num-threads=4 --memory-total-size=4G 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: 4096M

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

Operations performed: 4194304 (1332178.65 ops/sec)

4096.00 MB transferred (1300.96 MB/sec)


Test execution summary:
    total time:                          3.1485s
    total number of events:              4194304
    total time taken by event execution: 9.7048
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.00ms
         max:                                 20.02ms
         approx.  95 percentile:               0.00ms

Threads fairness:
    events (avg/stddev):           1048576.0000/2284.08
    execution time (avg/stddev):   2.4262/0.02

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

root@vps1992xx:~# sysbench --test=fileio --file-total-size=6G prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark

128 files, 49152Kb each, 6144Mb total
Creating files for the test...
root@vps1992xx:~# sysbench --test=fileio --file-total-size=6G --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, 48Mb each
6Gb 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:  180480 Read, 120320 Write, 384948 Other = 685748 Total
Read 2.7539Gb  Written 1.8359Gb  Total transferred 4.5898Gb  (15.667Mb/sec)
 1002.66 Requests/sec executed

Test execution summary:
    total time:                          300.0018s
    total number of events:              300800
    total time taken by event execution: 52.1556
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.17ms
         max:                                 33.65ms
         approx.  95 percentile:               0.51ms

Threads fairness:
    events (avg/stddev):           300800.0000/0.00
    execution time (avg/stddev):   52.1556/0.00

Serverbear

Тесты Serverbear

Выводы

См. предыдущий пост.