Тест VPS KVM SSD

Хочу показать результаты тестов VPS, которые я предлагаю. Конфигураия самая простая: 1 Гб оперативной памяти, 1 процессор и 20 Гб SSD диска.

Начнем с информации о процессоре:

# 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	: 0x1
cpu MHz		: 2400.082
cache size	: 12288 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
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 mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm
bugs		:
bogomips	: 4800.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:

Информациоя об оперативной памяти:

# cat /proc/meminfo
MemTotal:        1016216 kB
MemFree:           86080 kB
MemAvailable:     528760 kB
Buffers:           32840 kB
Cached:           529136 kB
SwapCached:         5648 kB
Active:           219440 kB
Inactive:         566484 kB
Active(anon):     124848 kB
Inactive(anon):   133140 kB
Active(file):      94592 kB
Inactive(file):   433344 kB
Unevictable:        3656 kB
Mlocked:            3656 kB
SwapTotal:       2097148 kB
SwapFree:        1992768 kB
Dirty:                84 kB
Writeback:             0 kB
AnonPages:        224952 kB
Mapped:            61060 kB
Shmem:             31612 kB
Slab:             103220 kB
SReclaimable:      84760 kB
SUnreclaim:        18460 kB
KernelStack:        3104 kB
PageTables:        11164 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2605256 kB
Committed_AS:    1192992 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:    139264 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       77816 kB
DirectMap2M:      970752 kB
DirectMap1G:           0 kB

Тест файловой системы на SSD. Делал несколько замеров в разное время (по идее разная загруженность).

На чтение:

Будни 13:00

# dd if=test.file of=/dev/null bs=1M count=1k
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.76928 s, 607 MB/s

Будни 17:00

# dd if=test.file of=/dev/null bs=1M count=1k
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.34619 s, 458 MB/s

Будни 22:30

# dd if=test.file of=/dev/null bs=1M count=1k
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.26548 s, 474 MB/s

Будни 00:30

# dd if=test.file of=/dev/null bs=1M count=1k
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.28141 s, 838 MB/s

На запись:

Будни 13:00

# dd if=/dev/zero of=test.file bs=1M count=1k conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 6.60771 s, 162 MB/s

Будни 17:00

# dd if=/dev/zero of=test.file bs=1M count=1k conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.82442 s, 184 MB/s

Будни 22:30

# dd if=/dev/zero of=test.file bs=1M count=1k conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 6.70782 s, 160 MB/s

Будни 00:30

# dd if=/dev/zero of=test.file bs=1M count=1k conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 6.10857 s, 176 MB/s

Синтетический тест процессора Sysbench CPU:

# 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.3668s
    total number of events:              10000
    total time taken by event execution: 31.3631
    per-request statistics:
         min:                                  2.75ms
         avg:                                  3.14ms
         max:                                  9.37ms
         approx.  95 percentile:               3.47ms

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

Синтетический тест оперативной памяти Sysbench memory:

# sysbench --test=memory --num-threads=4 --memory-total-size=1G 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: 1024M

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

Operations performed: 1048576 (1480173.79 ops/sec)

1024.00 MB transferred (1445.48 MB/sec)


Test execution summary:
    total time:                          0.7084s
    total number of events:              1048576
    total time taken by event execution: 2.1124
    per-request statistics:
         min:                                  0.00ms
         avg:                                  0.00ms
         max:                                 28.16ms
         approx.  95 percentile:               0.00ms

Threads fairness:
    events (avg/stddev):           262144.0000/3309.41
    execution time (avg/stddev):   0.5281/0.05

 

Добавить комментарий