6 min read

Testing Digital Ocean Singapore

After receiving the email from Digital Ocean for the new DC opening in Singapore, I decided to spin a droplet from my Digital Ocean Account in Singapore. You can register here to get $10 for free 🙂
I’ve moved this blog to Digital Ocean Singapore for testing the speed and the stability. And as usual, like another Digital Ocean minimum spec at another DC, this Cloud Droplet comes with :

512 MB RAM
Disk space 20 GB SSD
Bandiwdth Unmetered 100mbps
1 IPv4
Cloud KVM
Price: $ 5
Location Singapore

 CPU Info

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 1.5.0
stepping        : 3
cpu MHz         : 1999.999
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 cl
flush mmx fxsr sse sse2 syscall nx lm up pni vmx cx16 popcnt hypervisor lahf_lm
bogomips        : 3999.99
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:


Memory Info

# cat /proc/meminfo
MemTotal:         514496 kB
MemFree:          325556 kB
Buffers:           47016 kB
Cached:            95288 kB
SwapCached:         4656 kB
Active:           146656 kB
Inactive:          25848 kB
Active(anon):      39348 kB
Inactive(anon):    23672 kB
Active(file):     107308 kB
Inactive(file):     2176 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         514496 kB
LowFree:          325556 kB
SwapTotal:       1048568 kB
SwapFree:        1039856 kB
Dirty:              1212 kB
Writeback:             0 kB
AnonPages:         26604 kB
Mapped:            11284 kB
Shmem:             32816 kB
Slab:               9756 kB
SReclaimable:       6264 kB
SUnreclaim:         3492 kB
KernelStack:         496 kB
PageTables:          692 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1305816 kB
Committed_AS:     246368 kB
VmallocTotal:     507904 kB
VmallocUsed:        4052 kB
VmallocChunk:     497696 kB
HardwareCorrupted:     0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        6136 kB
DirectMap2M:      518144 kB

Freevps.sh

# wget freevps.us/downloads/bench.sh -O - -o /dev/null | bash
CPU model :  QEMU Virtual CPU version 1.5.0
Number of cores : 1
CPU frequency :  1999.999 MHz
Total amount of ram : 502 MB
Total amount of swap : 1023 MB
System uptime :   7 days, 15:47,
Download speed from CacheFly: 16.3MB/s
Download speed from Coloat, Atlanta GA: 3.92MB/s
Download speed from Softlayer, Dallas, TX: 5.95MB/s
Download speed from Linode, Tokyo, JP: 6.03MB/s
Download speed from i3d.net, Rotterdam, NL: 5.85MB/s
Download speed from Leaseweb, Haarlem, NL: 4.01MB/s
Download speed from Softlayer, Singapore: 108MB/s
Download speed from Softlayer, Seattle, WA: 6.57MB/s
Download speed from Softlayer, San Jose, CA: 6.66MB/s
Download speed from Softlayer, Washington, DC: 5.05MB/s
I/O speed :  194 MB/s

 Inodes

# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/vda1            1310720   58191 1252529    5% /
tmpfs                  64312       3   64309    1% /lib/init/rw
udev                   63196     377   62819    1% /dev
tmpfs                  64312       4   64308    1% /dev/shm

 Disk free space

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/vda1              20G  3.4G   16G  18% /
tmpfs                 252M     0  252M   0% /lib/init/rw
udev                  247M   56K  247M   1% /dev
tmpfs                 252M  4.0K  252M   1% /dev/shm

 Download test from Cachefly

# wget  cachefly.cachefly.net/100mb.bin
--2014-02-20 10:17: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 26.6M/s   in 4.3s
2014-02-20 10:17:18 (23.1 MB/s) - `100mb.bin' saved [104857600/104857600]

 Ping and traceroute to Cachefly

# ping -c 10 cachefly.cachefly.net
PING vip1.g.cachefly.net (205.234.175.175) 56(84) bytes of data.
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=1 ttl=57
time=51.7 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=2 ttl=57
time=52.9 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=3 ttl=57
time=53.7 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=4 ttl=55
time=74.3 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=5 ttl=57
time=51.6 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=6 ttl=57
time=39.5 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=7 ttl=56
time=89.7 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=8 ttl=55
time=73.9 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=9 ttl=57
time=67.4 ms
64 bytes from vip1.G-anycast1.cachefly.net (205.234.175.175): icmp_req=10 ttl=57
 time=66.3 ms
--- vip1.g.cachefly.net ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9010ms
rtt min/avg/max/mdev = 39.559/62.148/89.714/14.062 ms
# traceroute cachefly.cachefly.net
traceroute to cachefly.cachefly.net (205.234.175.175), 30 hops max, 60 byte pack
ets
 1  128.199.255.254 (128.199.255.254)  1.421 ms  1.367 ms  1.331 ms
 2  103.253.144.237 (103.253.144.237)  0.552 ms  0.496 ms  0.493 ms
 3  103.253.144.249 (103.253.144.249)  0.831 ms  0.824 ms  0.787 ms
 4  116.51.27.149 (116.51.27.149)  2.755 ms  2.742 ms  2.714 ms
 5  ae-1.r21.sngpsi02.sg.bb.gin.ntt.net (129.250.6.104)  1.274 ms  14.328 ms  1.
244 ms
 6  as-2.r21.tkokhk01.hk.bb.gin.ntt.net (129.250.6.8)  86.481 ms  86.554 ms  71.
216 ms
 7  as-1.r21.newthk02.hk.bb.gin.ntt.net (129.250.6.125)  89.121 ms  89.250 ms  7
4.023 ms
 8  ae-2.r02.newthk02.hk.bb.gin.ntt.net (129.250.3.11)  51.126 ms  52.980 ms  51
.197 ms
 9  vip1.G-anycast1.cachefly.net (205.234.175.175)  76.065 ms  76.916 ms  76.810
 ms

 DD Test

# dd if=/dev/zero of=iotest bs=64k count=16k conv=fdatasync && rm -
rf iotest
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 6.34896 s, 169 MB/s
# 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, 5.78975 s, 185 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, 6.36125 s, 169 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, 9.36758 s, 115 MB/s
# dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 36.3175 s, 29.6 MB/s

 IOPING

# ioping . -c 5
4096 bytes from . (ext4 /dev/disk/by-label/DOROOT): request=1 time=0.1 ms
4096 bytes from . (ext4 /dev/disk/by-label/DOROOT): request=2 time=0.2 ms
4096 bytes from . (ext4 /dev/disk/by-label/DOROOT): request=3 time=0.2 ms
4096 bytes from . (ext4 /dev/disk/by-label/DOROOT): request=4 time=0.2 ms
4096 bytes from . (ext4 /dev/disk/by-label/DOROOT): request=5 time=0.2 ms
--- . (ext4 /dev/disk/by-label/DOROOT) ioping statistics ---
5 requests completed in 4001.9 ms, 5171 iops, 20.2 mb/s
min/avg/max/mdev = 0.1/0.2/0.2/0.1 ms
# ioping . -R
--- . (ext4 /dev/disk/by-label/DOROOT) ioping statistics ---
19235 requests completed in 3000.0 ms, 13164 iops, 51.4 mb/s
min/avg/max/mdev = 0.0/0.1/0.7/0.0 ms

 Speedtest

 
Test ping dari Indonesia / Speedy :

# ping www.erawanarifnugroho.com
Pinging www.erawanarifnugroho.com [128.199.252.96] with 32 bytes of data:
Reply from 128.199.252.96: bytes=32 time=39ms TTL=54
Reply from 128.199.252.96: bytes=32 time=37ms TTL=54
Reply from 128.199.252.96: bytes=32 time=38ms TTL=54
Reply from 128.199.252.96: bytes=32 time=38ms TTL=54
Ping statistics for 128.199.252.96:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 37ms, Maximum = 39ms, Average = 38ms