Beberapa hari lalu, saya menginstall KVM vps saya yang di Leap Switch berlokasi India dengan Debian 7 dan berencana melakukan partisi hard disk secara terenkripsi, namun proses installasi di vps yang memiliki hard disk 20GB tersebut memakan waktu berjam-jam…
Karena hal ini, saya ingin tahu tentang hasil benchmarknya, dan hari ini akhirnya bisa terlaksana.
Berikut adalah benchmark KVM VPS yang memiliki memory 512MB, disk space 20GB, dan bandwidth 500GB dari Leap Switch di India :
CPU Info
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : QEMU Virtual CPU version (cpu64-rhel6) stepping : 3 cpu MHz : 3300.022 cache size : 4096 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm up pni cx16 hypervisor lahf_lm bogomips : 6600.04 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: |
Memory Info
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# cat /proc/meminfo MemTotal: 514736 kB MemFree: 433168 kB Buffers: 20412 kB Cached: 36908 kB SwapCached: 0 kB Active: 52680 kB Inactive: 15736 kB Active(anon): 4944 kB Inactive(anon): 6428 kB Active(file): 47736 kB Inactive(file): 9308 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 514736 kB LowFree: 433168 kB SwapTotal: 1048568 kB SwapFree: 1048568 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 11096 kB Mapped: 10352 kB Shmem: 276 kB Slab: 8376 kB SReclaimable: 5448 kB SUnreclaim: 2928 kB KernelStack: 472 kB PageTables: 440 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1305936 kB Committed_AS: 96884 kB VmallocTotal: 503812 kB VmallocUsed: 6168 kB VmallocChunk: 489308 kB HardwareCorrupted: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 4096 kB DirectMap4k: 12276 kB DirectMap4M: 512000 kB |
Freevps.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash CPU model : QEMU Virtual CPU version (cpu64-rhel6) Number of cores : 1 CPU frequency : 3300.022 MHz Total amount of ram : 502 MB Total amount of swap : 1023 MB System uptime : 4:21, Download speed from CacheFly: 7.53MB/s Download speed from Coloat, Atlanta GA: 1.84MB/s Download speed from Softlayer, Dallas, TX: 3.01MB/s Download speed from Linode, Tokyo, JP: 4.19MB/s Download speed from i3d.net, NL: Download speed from Leaseweb, Haarlem, NL: 4.18MB/s Download speed from Softlayer, Singapore: 531KB/s Download speed from Softlayer, Seattle, WA: 2.33MB/s Download speed from Softlayer, San Jose, CA: 2.73MB/s Download speed from Softlayer, Washington, DC: 3.07MB/s I/O speed : 40.6 MB/s |
Download test dari Cachefly
1 2 3 4 5 6 7 8 9 |
# wget cachefly.cachefly.net/100mb.bin --2013-11-04 16:18:13-- http://cachefly.cachefly.net/100mb.bin Resolving cachefly.cachefly.net... 205.234.175.175 Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 104857600 (100M) [application/octet-stream] Saving to: `100mb.bin' 100%[==============================================================================================================================>] 104,857,600 3.53M/s in 26s 2013-11-04 16:18:39 (3.89 MB/s) - `100mb.bin' saved [104857600/104857600] |
Inode dan kapasitas disk
1 2 3 4 5 6 7 8 9 10 11 12 |
# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/vda1 1190592 34638 1155954 3% / tmpfs 64342 3 64339 1% /lib/init/rw udev 63301 464 62837 1% /dev tmpfs 64342 2 64340 1% /dev/shm # df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 20G 2.0G 17G 11% / tmpfs 252M 0 252M 0% /lib/init/rw udev 248M 108K 248M 1% /dev tmpfs 252M 0 252M 0% /dev/shm |
DD Test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 28.2039 s, 38.1 MB/s # dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync 16384+0 records in 16384+0 records out 1073741824 bytes (1.1 GB) copied, 44.6484 s, 24.0 MB/s # dd if=/dev/zero of=sb-io-test bs=1M count=1k oflag=dsync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 123.689 s, 8.7 MB/s # dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync ^C -- karena terlalu lama, akhirnya saya hentikan 12015+0 records in 12015+0 records out 787415040 bytes (787 MB) copied, 1627.65 s, 484 kB/s |
IOPING Test
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# ioping . -c 5 4096 bytes from . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c): request=1 time=0.1 ms 4096 bytes from . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c): request=2 time=0.1 ms 4096 bytes from . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c): request=3 time=0.1 ms 4096 bytes from . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c): request=4 time=0.1 ms 4096 bytes from . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c): request=5 time=0.1 ms --- . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c) ioping statistics --- 5 requests completed in 4001.2 ms, 8278 iops, 32.3 mb/s min/avg/max/mdev = 0.1/0.1/0.1/0.0 ms # ioping . -R --- . (ext4 /dev/disk/by-uuid/548e4fc3-9196-46b9-b04b-ec314efcb21c) ioping statistics --- 22068 requests completed in 3000.0 ms, 16044 iops, 62.7 mb/s min/avg/max/mdev = 0.0/0.1/56.1/0.5 ms |
ServerBear benchmark
1 |
http://serverbear.com/benchmark/2013/11/04/MpxBVsKZV4qdutKq |