Test Benchmark VPS dengan UnixBench dan ioping

Share ke Sosmed

vps-serverSaatnya mencuba kekuatan vps yang digunakan zacom.org  seberapa tangguh box yang digunakan. Tools untuk menguji coba menggunakan unixbench dan ioping.

Untuk install unixbench pada VPS / Dedicated
– Pengguna Ubuntu / Debian

apt-get install build-essential libx11-dev libgl1-mesa-dev libxext-dev

– Centos

yum groupinstall "Development Tools"
yum install libX11-devel mesa-libGL-devel perl-Time-HiRes

Kemudian

wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
tar xvfz unixbench-5.1.2.tar.gz
cd unixbench-5.1.2
./Run

Untuk installasi ioping (hanya di centos saja, soalnya cuma make centos :p )

wget http://ioping.googlecode.com/files/ioping-0.6.tar.gz
tar -xzf ioping-0.6.tar.gz
mv ioping-0.6 ioping
cd ioping
make file

Saatnya kita mulai Test Benchmark VPS dengan UnixBench dan ioping di VPS.

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com

skip..

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: xx11.jetorbit.net: GNU/Linux
   OS: GNU/Linux -- 2.6.32-279.11.1.el6.x86_64 -- #1 SMP Tue Oct 16 15:57:10 UTC 2012
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: QEMU Virtual CPU version 0.9.1 (4788.1 bogomips)
          x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   CPU 1: QEMU Virtual CPU version 0.9.1 (4788.1 bogomips)
          x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   14:39:44 up 10 days, 14:52,  2 users,  load average: 0.03, 0.94, 2.05; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Nov 16 2012 14:39:44 - 15:08:34
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       22354075.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2785.1 MWIPS (9.8 s, 7 samples)
Execl Throughput                               1911.0 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        567689.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          164503.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1185610.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1238143.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 202307.1 lps   (10.0 s, 7 samples)
Process Creation                               4028.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3790.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    833.2 lpm   (60.1 s, 2 samples)
System Call Overhead                        1470277.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   22354075.4   1915.5
Double-Precision Whetstone                       55.0       2785.1    506.4
Execl Throughput                                 43.0       1911.0    444.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     567689.3   1433.6
File Copy 256 bufsize 500 maxblocks            1655.0     164503.0    994.0
File Copy 4096 bufsize 8000 maxblocks          5800.0    1185610.4   2044.2
Pipe Throughput                               12440.0    1238143.4    995.3
Pipe-based Context Switching                   4000.0     202307.1    505.8
Process Creation                                126.0       4028.7    319.7
Shell Scripts (1 concurrent)                     42.4       3790.8    894.1
Shell Scripts (8 concurrent)                      6.0        833.2   1388.7
System Call Overhead                          15000.0    1470277.5    980.2
                                                                   ========
System Benchmarks Index Score                                         889.7

------------------------------------------------------------------------
Benchmark Run: Fri Nov 16 2012 15:08:34 - 15:37:30
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       43503350.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5420.2 MWIPS (10.0 s, 7 samples)
Execl Throughput                               5398.1 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        852244.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          225727.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2039111.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2424007.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 392174.7 lps   (10.0 s, 7 samples)
Process Creation                              14700.6 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   6122.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    873.8 lpm   (60.1 s, 2 samples)
System Call Overhead                        2635558.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   43503350.3   3727.8
Double-Precision Whetstone                       55.0       5420.2    985.5
Execl Throughput                                 43.0       5398.1   1255.4
File Copy 1024 bufsize 2000 maxblocks          3960.0     852244.7   2152.1
File Copy 256 bufsize 500 maxblocks            1655.0     225727.9   1363.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    2039111.5   3515.7
Pipe Throughput                               12440.0    2424007.1   1948.6
Pipe-based Context Switching                   4000.0     392174.7    980.4
Process Creation                                126.0      14700.6   1166.7
Shell Scripts (1 concurrent)                     42.4       6122.1   1443.9
Shell Scripts (8 concurrent)                      6.0        873.8   1456.4
System Call Overhead                          15000.0    2635558.8   1757.0
                                                                   ========
System Benchmarks Index Score                                        1644.8

I/O PINGS

ioping -c 10 /
4096 bytes from / (ext4 /dev/vda1): request=1 time=23.2 ms
4096 bytes from / (ext4 /dev/vda1): request=2 time=14.6 ms
4096 bytes from / (ext4 /dev/vda1): request=3 time=26.6 ms
4096 bytes from / (ext4 /dev/vda1): request=4 time=14.3 ms
4096 bytes from / (ext4 /dev/vda1): request=5 time=0.3 ms
4096 bytes from / (ext4 /dev/vda1): request=6 time=339.1 ms
4096 bytes from / (ext4 /dev/vda1): request=7 time=5.9 ms
4096 bytes from / (ext4 /dev/vda1): request=8 time=1.0 ms
4096 bytes from / (ext4 /dev/vda1): request=9 time=0.4 ms
4096 bytes from / (ext4 /dev/vda1): request=10 time=17.1 ms

I/O Read – Sequential

#ioping -RL /home
--- /home (ext4 /dev/vda1) ioping statistics ---
1092 requests completed in 3001.0 ms, 455 iops, 113.6 mb/s
min/avg/max/mdev = 1.4/2.2/68.1/3.6 ms

I/O Seek Test (no cache)

# ioping -RD /home
846 requests completed in 3000.7 ms, 397 iops, 1.6 mb/s
min/avg/max/mdev = 0.2/2.5/37.8/3.9 ms

DD

#dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync
572522496 bytes (573 MB) copied, 16.246 s, 35.2 MB/s

Dengan ini hasilnya cukup memuaskan mengingat ini VPS lokasi di indonesia.

Share ke Sosmed

Leave a Reply

Your email address will not be published. Required fields are marked *