User Tools

Site Tools


sandbox:openvz

OpenVZ container

Test disk speed:

# time (dd if=/dev/zero of=/tmp/test bs=64k count=16k > /dev/null; sync)
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 244.182 s, 4.4 MB/s
 
real	4m4.440s
user	0m0.016s
sys	0m3.962s
 
# time ls -la /tmp | wc -l 
99
​
real    0m2.350s
user    0m0.004s
sys     0m0.011s
 
# ioping -c 10 /
4 KiB <<< / (simfs /dev/simfs): request=1 time=7.24 ms (warmup)
4 KiB <<< / (simfs /dev/simfs): request=2 time=189.6 us
4 KiB <<< / (simfs /dev/simfs): request=3 time=6.69 ms
4 KiB <<< / (simfs /dev/simfs): request=4 time=137.8 us
4 KiB <<< / (simfs /dev/simfs): request=5 time=136.1 us
4 KiB <<< / (simfs /dev/simfs): request=6 time=80.0 ms
4 KiB <<< / (simfs /dev/simfs): request=7 time=5.45 ms
4 KiB <<< / (simfs /dev/simfs): request=8 time=5.45 ms
4 KiB <<< / (simfs /dev/simfs): request=9 time=157.3 us (fast)
4 KiB <<< / (simfs /dev/simfs): request=10 time=139.0 us (fast)
 
--- / (simfs /dev/simfs) ioping statistics ---
9 requests completed in 98.3 ms, 36 KiB read, 91 iops, 366.2 KiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 136.1 us / 10.9 ms / 80.0 ms / 24.5 ms
 
# vmstat 1 -w
procs -----------------------memory---------------------- ---swap-- -----io---- -system-- --------cpu--------
 r  b         swpd         free         buff        cache   si   so    bi    bo   in   cs  us  sy  id  wa  st
37  0       115840      1518576            0      1386452    1    2    18   107    0    2  45  13  42   0   0
31  0       115840      1517960            0      1386468    0    0     0    36    0 3521   3   5  91   0   0
31  0       115840      1520920            0      1386392    0    0    16    88    0 10727   5   5  91   0   0
35  0       115840      1516624            0      1386372    0    0   124   876    0 9174  10  10  81   0   0
32  0       115840      1516120            0      1386708    0    0     0   168    0 1510   1   3  96   0   0
36  0       115840      1515968            0      1386720    0    0     0    24    0  664   1   1  99   0   0
54  0       115840      1506072            0      1387012    0    0     0     4    0  474  10   4  85   0   0
38  0       115840      1497588            0      1387476    0    0     0  1604    0  913  12  17  71   0   0

1) For disk I/O tests

< 40 MB/s is below average
40 - 80 MB/s is about average
80 MB/s -120 MB/s is very nice
120 MB/s + is outstanding

2) For Unixbench CPU benchmarks (single CPU)

< 150 is poor
150-300 is ok for a budget VM
300-400 is average
400-500 is very good
500+ is outstanding for a budget VM
sandbox/openvz.txt · Last modified: 2019/04/25 23:43 by dreiggy