racktech_logo

Приветствую!

А вот тут тест обратной стороны VPS Village - Racktech. Тут виртуалки в Москве, но уже есть OpenVZ, очень низкие цены и отсутствие поддержки. Сервер можно арендовать даже за 55 руб./месяц. Тут для более-менее подходящего теста я взял Cloud OpenVZ 1 vCore CPU 2.6GHz за 99 руб./месяц. За эти деньги нам дают канал 10-30 мегабит, 5 гигабайт SAS и 512 мегабайт ОЗУ. Прямо скажем негусто, но это низкая цена и Москва.

Железо

root@rt:~# cat /etc/issue
Debian GNU/Linux 8 \n \l


System:    Host: rt Kernel: 2.6.32-042stab108.8 x86_64 (64 bit) Console: tty 0 Distro: Debian GNU/Linux 8
Machine:   No /sys/class/dmi machine data: try newer kernel, or install dmidecode
CPU:       Quad core Intel Xeon E5620 (-HT-MCP-) clocked at 693 MHz
Graphics:  Card: Failed to Detect Video Card!
           Display Server: N/A driver: N/A tty size: 182x27 Advanced Data: N/A for root out of X
Network:   Card: Failed to Detect Network Card!
Drives:    HDD Total Size: NA (-)
Info:      Processes: 19 Uptime: 10:45 Memory: 67.3/512.0MB Init: systemd runlevel: 3
           Client: Shell (bash) inxi: 2.1.28
root@rt:~#

CPU

[root@rt ~]# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 44
model name    : Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
stepping    : 2
microcode    : 16
cpu MHz        : 693.778
cache size    : 12288 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
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 pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips    : 4800.19
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management:

ОЗУ

[root@rt ~]# cat /proc/meminfo
MemTotal:         524288 kB
MemFree:          284508 kB
Cached:           157164 kB
Buffers:               0 kB
Active:            92172 kB
Inactive:         129284 kB
Active(anon):      62488 kB
Inactive(anon):     6628 kB
Active(file):      29684 kB
Inactive(file):   122656 kB
Unevictable:          32 kB
Mlocked:              32 kB
SwapTotal:       1048576 kB
SwapFree:        1048576 kB
Dirty:                12 kB
Writeback:             0 kB
AnonPages:         69116 kB
Shmem:              4824 kB
Slab:              18272 kB
SReclaimable:       7108 kB
SUnreclaim:        11164 kB

SAS

[root@rt ~]# df -H
Filesystem         Size  Used Avail Use% Mounted on
/dev/ploop42953p1  5,1G  1,6G  3,4G  33% /
none               269M  4,1k  269M   1% /dev
none               269M     0  269M   0% /dev/shm

Скорость записи на диск просто никакая.

root@rt:~# 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, 203.056 s, 5.3 MB/s
root@rt:~/kirpich/bin# cd /root/
root@rt:~# 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, 191.327 s, 5.6 MB/s
root@rt:~# rm -f test
root@rt:~# 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, 199.83 s, 5.4 MB/s

Тест CPU

Тестим проц sysbench’ем. Все очень грустно.

root@rt:~# 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:                          109.7698s
    total number of events:              10000
    total time taken by event execution: 109.6953
    per-request statistics:
         min:                                  3.03ms
         avg:                                 10.97ms
         max:                                 86.71ms
         approx.  95 percentile:              74.09ms


Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   109.6953/0.00
root@rt:~/kirpich/bin# 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.5250s
    total number of events:              64
    total time taken by event execution: 11.8325
    per-request statistics:
         min:                                  9.53ms
         avg:                                184.88ms
         max:                                296.44ms
         approx.  95 percentile:             295.81ms


Threads fairness:
    events (avg/stddev):           1.0000/0.00
    execution time (avg/stddev):   0.1849/0.08
root@rt:~/kirpich/bin# sysbench --test=memory --num-threads=4 --memory-total-size=512M 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: 512M


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


Operations performed: 524288 (518105.36 ops/sec)


512.00 MB transferred (505.96 MB/sec)




Test execution summary:
    total time:                          1.0119s
    total number of events:              524288
    total time taken by event execution: 3.2145
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.01ms
         max:                                 97.01ms
         approx.  95 percentile:               0.00ms


Threads fairness:
    events (avg/stddev):           131072.0000/2351.15
    execution time (avg/stddev):   0.8036/0.07
root@rt:~# sysbench --test=fileio --file-total-size=1G prepare
sysbench 0.4.12:  multi-threaded system evaluation benchmark


128 files, 8192Kb each, 1024Mb total
Creating files for the test...
root@rt:~# sysbench --test=fileio --file-total-size=1G --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, 8Mb each
1Gb 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:  85500 Read, 57000 Write, 182303 Other = 324803 Total
Read 1.3046Gb  Written 890.62Mb  Total transferred 2.1744Gb  (7.4196Mb/sec)
  474.86 Requests/sec executed


Test execution summary:
    total time:                          300.0905s
    total number of events:              142500
    total time taken by event execution: 3.8047
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.03ms
         max:                                526.82ms
         approx.  95 percentile:               0.02ms


Threads fairness:
    events (avg/stddev):           142500.0000/0.00
    execution time (avg/stddev):   3.8047/0.00

Выводы

Ресурсы выделены минимальные. Но за такую цену и в РФ. Для каких-то совсем небольших вещей (например бота и т.д.) ресурсов вполне хватит.