Hacker News new | ask | show | jobs
by rshm 4082 days ago
Tested on random instance, without any io intensive application running

VULTR 2 GB INSTANCE dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync

    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 8.11451 s, 132 MB/s
    
    
    hdparm -tT /dev/vda
    
    /dev/vda:
    Timing cached reads:   25106 MB in  2.00 seconds = 12568.51 MB/sec
    Timing buffered disk reads: 496 MB in  3.02 seconds = 164.16 MB/sec

DIGITALOCEAN 2GB INSTANCE

    hdparm -tT /dev/vda
    
    Timing cached reads:   8926 MB in  2.00 seconds = 4468.52 MB/sec
    Timing buffered disk reads: 542 MB in  3.00 seconds = 180.43 MB/sec


    dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync 
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 32.0005 s, 33.6 MB/s
2 comments

I'm not sure how good is the test as it depends on the IO levels of the host where the VM instance is running.

This is a 1GB Debian Wheezy instance with regular HDD in Memset [1]:

    dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 17.7142 s, 60.6 MB/s
I checked the host and its load is average. DO's 33.6 MB/s sounds poor.

[1] disclaimer: Memset hosting is my employer, I built some of this; but this is an honest test (personal VM running several services).

EDIT: formatting

EDIT 2: same test on a VM with SSD disk:

    dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 3.48953 s, 308 MB/s
Again, the host has average load.
Did the same test on a VM I have in DigitalOcean... ( Ubuntu, 512 MB droplet )

~# dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 2.35872 s, 455 MB/s

Add four spaces at the start of a line to mark it as code (both to avoid lines being merged and fixed-width font).

(yes: it's just markdown here).