7 Dec 2015

Scaleway vs DigitalOcean vs Raspberry Pi

There's a good posting from May 2015 by Martin Rusev comparing Scaleway and DigitalOcean that includes a benchmark. This post adds results from Raspberry Pi 2 and an older Intel i3 system of mine with Ubuntu.


The commands used for single and multi-threading were:

sysbench --test=cpu --cpu-max-prime=20000 run
sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=4

CPU Single Threaded Results:

DigitalOcean:      42.4121s
Scaleway:         685.5120s (16x slower)
Pi 2:            1143.0230s (27x slower)
i3 3120M 2.5Ghz:   33.76s (ZBox ID83, Dual Core)

CPU Multi-threaded Results:

DigitalOcean:     21.3409s
Scaleway:        171.3962s (8x slower)
Pi 2:            290.7834s (13.6x slower)
i3 3120M 2.5Ghz:   9.94s (ZBox ID83, Dual Core)

Disk I/O

The commands used were:

sysbench --test=fileio --file-total-size=6G prepare
sysbench --test=fileio --file-total-size=6G --file-test-mode=rndrw 
    --max-time=300 --max-requests=0 --file-extra-flags=direct run
sysbench --test=fileio --file-total-size=6G cleanup

Transfer Rate Results:

DigitalOcean:  54.565Mb/sec
Scaleway:      16.347Mb/sec (3.33x slower)
Pi 2:            .054Mb/sec (1,000x slower)

The disk I/O seems so much slower on the Pi that it's hard to believe. I'm using a 32Gb Samsung Class 10 Micro SDHC card. I'll have to try this test on another card.