Всем привет! Публикую тесты нескольких серверов от OVH которые я провел в октябре этого года. Все серверы для теста любезно предоставил alice2k
Публикую тест виртуального сервера от OVH на самом дешевом тарифе за 2.99 евро.
Начнем тест.
Информация о сервере
Тарифы:
Стоит отметить что это новая линейка виртуальных серверов. На странице заказа также опубликованы результаты сравнительных тестов со старой линейкой.
В прошлом году я уже тестировал сервер старой линейки. Так что мы тоже сравним =)
Из бросающегося в глаза - теперь вместо OpenVZ используется OpenStack KVM и стоимость немного выросла. Ну и традиционно они идут с AntiDDoS.
На тесте сервер с Debian 8
root@vps2095xx:~# cat /etc/issue Debian GNU/Linux 8 \n \l
CPU и RAM
root@vps2095xx:~# 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.436 cache size : 4096 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 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 mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu 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 bmi1 avx2 smep bmi2 erms invpcid bogomips : 4788.87 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: root@vps2095xx:~# cat /proc/meminfo MemTotal: 2009556 kB MemFree: 1890384 kB MemAvailable: 1871580 kB Buffers: 23416 kB Cached: 49356 kB SwapCached: 0 kB Active: 62156 kB Inactive: 25904 kB Active(anon): 15436 kB Inactive(anon): 10168 kB Active(file): 46720 kB Inactive(file): 15736 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 44 kB Writeback: 0 kB AnonPages: 15284 kB Mapped: 12848 kB Shmem: 10320 kB Slab: 19140 kB SReclaimable: 12556 kB SUnreclaim: 6584 kB KernelStack: 928 kB PageTables: 1292 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1004776 kB Committed_AS: 60684 kB VmallocTotal: 34359738367 kB VmallocUsed: 3752 kB VmallocChunk: 34359733807 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: 2007040 kB DirectMap1G: 0 kB
Диск примонтирован по-умолчанию вот так:
root@vps2095xx:~# df -H Filesystem Size Used Avail Use% Mounted on /dev/vda1 11G 871M 9.3G 9% / udev 11M 0 11M 0% /dev tmpfs 412M 11M 401M 3% /run tmpfs 1.1G 0 1.1G 0% /dev/shm tmpfs 5.3M 0 5.3M 0% /run/lock tmpfs 1.1G 0 1.1G 0% /sys/fs/cgroup tmpfs 206M 0 206M 0% /run/user/0
Более подробная информация о виртуальном железе:
root@vps2095xx:~# inxi -b System: Host: vps2095xx.ovh.net Kernel: 3.16.0-4-amd64 x86_64 (64 bit) Console: tty 0 Distro: Debian GNU/Linux 8 Machine: System: OpenStack Foundation product: OpenStack Nova v: 2014.2.3 serial: dbef5100-f368-11e4-8000-001e67cb0a8a Mobo: N/A model: N/A Bios: Bochs v: Bochs date: 01/01/2011 CPU: Single core Intel Xeon E312xx (Sandy Bridge) (-MCP-) clocked at 2394 MHz Graphics: Card: Cirrus Logic GD 5446 Display Server: N/A driver: N/A tty size: 182x27 Advanced Data: N/A for root out of X Network: Card: Red Hat Virtio network device driver: virtio-pci Drives: HDD Total Size: 10.7GB (10.1% used) Info: Processes: 58 Uptime: 6 days Memory: 67.9/1962.5MB Init: systemd runlevel: 5 Client: Shell (bash) inxi: 2.1.28
Тесты и замеры производительности
Пинг из Ульяновска:
[rail@localhost ~]$ ping 51.254.202.1xx PING 51.254.202.1xx (51.254.202.1xx) 56(84) bytes of data. 64 bytes from 51.254.202.1xx: icmp_seq=1 ttl=52 time=80.4 ms 64 bytes from 51.254.202.1xx: icmp_seq=2 ttl=52 time=98.5 ms 64 bytes from 51.254.202.1xx: icmp_seq=3 ttl=52 time=79.4 ms 64 bytes from 51.254.202.1xx: icmp_seq=4 ttl=52 time=79.0 ms 64 bytes from 51.254.202.1xx: icmp_seq=5 ttl=52 time=79.2 ms 64 bytes from 51.254.202.1xx: icmp_seq=6 ttl=52 time=79.3 ms 64 bytes from 51.254.202.1xx: icmp_seq=7 ttl=52 time=82.3 ms 64 bytes from 51.254.202.1xx: icmp_seq=8 ttl=52 time=80.3 ms 64 bytes from 51.254.202.1xx: icmp_seq=9 ttl=52 time=85.3 ms 64 bytes from 51.254.202.1xx: icmp_seq=10 ttl=52 time=79.2 ms 64 bytes from 51.254.202.1xx: icmp_seq=11 ttl=52 time=79.1 ms 64 bytes from 51.254.202.1xx: icmp_seq=12 ttl=52 time=79.8 ms 64 bytes from 51.254.202.1xx: icmp_seq=13 ttl=52 time=79.7 ms ^C --- 51.254.202.1xx ping statistics --- 13 packets transmitted, 13 received, 0% packet loss, time 12006ms rtt min/avg/max/mdev = 79.062/81.702/98.544/5.151 ms
SSD тут повеселее:
root@vps2095xx:~# 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, 4.5215 s, 237 MB/s root@vps2095xx:~# rm test root@vps2095xx:~# 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.44875 s, 438 MB/s root@vps2095xx:~# rm test root@vps2095xx:~# 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.4015 s, 447 MB/s
Тесты Sysbench
Замеряем производительность процессора нагружая его вычислениями 64-разрядных чисел. Попробуем запустить вычисление в один поток.
root@vps2095xx:~# 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: 31.4646s total number of events: 10000 total time taken by event execution: 31.4617 per-request statistics: min: 2.78ms avg: 3.15ms max: 7.78ms approx. 95 percentile: 3.32ms Threads fairness: events (avg/stddev): 10000.0000/0.00 execution time (avg/stddev): 31.4617/0.00
root@vps2095xx:~# 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.1627s total number of events: 64 total time taken by event execution: 6.2140 per-request statistics: min: 16.95ms avg: 97.09ms max: 159.70ms approx. 95 percentile: 149.00ms Threads fairness: events (avg/stddev): 1.0000/0.00 execution time (avg/stddev): 0.0971/0.04
Теперь замерим производительность оперативной памяти:
root@vps2095xx:~# free -m total used free shared buffers cached Mem: 1962 416 1545 10 38 316 -/+ buffers/cache: 61 1900 Swap: 0 0 0
root@vps2095xx:~# sysbench --test=memory --num-threads=4 --memory-total-size=2G 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: 2048M Memory operations type: write Memory scope type: global Threads started! Done. Operations performed: 2097152 (1460269.63 ops/sec) 2048.00 MB transferred (1426.04 MB/sec) Test execution summary: total time: 1.4361s total number of events: 2097152 total time taken by event execution: 4.4099 per-request statistics: min: 0.00ms avg: 0.00ms max: 16.02ms approx. 95 percentile: 0.00ms Threads fairness: events (avg/stddev): 524288.0000/2971.36 execution time (avg/stddev): 1.1025/0.05
Тест скорости чтения и записи на диск. Чтобы на тест не влиял кэш в ОЗУ зададим общий объем тестовых чуть больше чем установлено на сервере RAM.
root@vps2095xx:~# sysbench --test=fileio --file-total-size=4G prepare sysbench 0.4.12: multi-threaded system evaluation benchmark 128 files, 32768Kb each, 4096Mb total Creating files for the test... root@vps2095xx:~# sysbench --test=fileio --file-total-size=4G --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, 32Mb each 4Gb 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: 182460 Read, 121640 Write, 389194 Other = 693294 Total Read 2.7841Gb Written 1.8561Gb Total transferred 4.6402Gb (15.838Mb/sec) 1013.66 Requests/sec executed Test execution summary: total time: 300.0018s total number of events: 304100 total time taken by event execution: 54.1109 per-request statistics: min: 0.00ms avg: 0.18ms max: 15.16ms approx. 95 percentile: 0.49ms Threads fairness: events (avg/stddev): 304100.0000/0.00 execution time (avg/stddev): 54.1109/0.00
Serverbear
Тесты Serverbear
Выводы
Производительность VPS этой линейки выше предыдущей более чем в 2 раза. Особенно порадовал SSD вместо старого медленного SATA. Рекомендую эти сервера к применению.