HostDime vs AWS vs Azure vs GCP Speed Test


Unix Bench and IOPS tests for the following cloud server set-ups:

  • HostDime Cloud (2 vCPU, 8 GB RAM)
  • AWS (t3a.large, 2 vCPU, 8 GB RAM)
  • Azure (Standard_B2ms, 2 vCPU, 8 GB RAM)
  • GCP (n2-standard-2, 2 vCPU, 8 GB RAM)


Run Unix Bench:

cd; mkdir unixbench; cd unixbench git init; git clone https://github.com/kdlucas/byte-unixbench cd byte-unixbench/UnixBench screen -S benchmark ./Run


Run fio stats:

# Random read/write performance test fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=0 --name=test --filename=random.fio --bs=4k
--iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 | grep IOPS; rm -f random.fio
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=0 --name=test --filename=random.fio --bs=256k
--iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 | grep IOPS; rm -f random.fio
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=0 --name=test --filename=random.fio --bs=4m
--iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 | grep IOPS; rm -f random.fio # Random read performance test fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4k --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio
fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=256k --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio
fio --name=randread --ioengine=libaio --iodepth=16 --rw=randread --bs=4m --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio # Random write performance test fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio
fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=256k --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio
fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4m --direct=1 --size=4G --numjobs=2
--runtime=240 --filename=random.fio --group_reporting | grep IOPS; rm -f random.fio



Benchmark Testing Raw Data for HostDime Cloud, AWS, Azure, Google Cloud

AWS (t3a.large)

UNIX Benchmark

Run 1: 1056.3 Run 2: 1827.6

FIO R/W

Byte size 4K: read : io=3070.4MB, bw=9019.5KB/s, iops=2254, runt=348580msec write: io=1025.8MB, bw=3013.2KB/s, iops=753, runt=348580msec

Byte size 256K: read : io=3078.3MB, bw=100675KB/s, iops=393, runt= 31310msec write: io=1017.8MB, bw=33286KB/s, iops=130, runt= 31310msec

Byte size 4M: read : io=3032.0MB, bw=99697KB/s, iops=24, runt= 31142msec write: io=1064.0MB, bw=34986KB/s, iops=8, runt= 31142msec

FIO Write

Byte size 4K: write: io=1603.6MB, bw=6841.3KB/s, iops=1710, runt=240012msec

Byte size 256K: write: io=8192.0MB, bw=50962KB/s, iops=199, runt=164604msec

Byte size 4M: write: io=6876.0MB, bw=29310KB/s, iops=7, runt=240226msec

FIO Read

Byte size 4K: read : io=2823.6MB, bw=12047KB/s, iops=3011, runt=240011msec

Byte size 256K: read : io=8192.0MB, bw=132620KB/s, iops=518, runt= 63253msec

Byte size 4M: read : io=8192.0MB, bw=132565KB/s, iops=32, runt= 63279msec

HostDime Cloud (2 vCPU 8GiB RAM)

UNIX Benchmark

Run 1: 1081.9 Run 2: 1954.7

FIO R/W

Byte size 4K: read: IOPS=20.9k, BW=81.6MiB/s (85.5MB/s)(3070MiB/37631msec) write: IOPS=6979, BW=27.3MiB/s (28.6MB/s)(1026MiB/37631msec)

Byte size 256K: read: IOPS=2528, BW=632MiB/s (663MB/s)(3069MiB/4855msec) write: IOPS=846, BW=212MiB/s (222MB/s)(1027MiB/4855msec)

Byte size 4M: read: IOPS=168, BW=673MiB/s (706MB/s)(3000MiB/4457msec) write: IOPS=61, BW=246MiB/s (258MB/s)(1096MiB/4457msec)

FIO Write

Byte size 4K: write: IOPS=1856, BW=7427KiB/s (7605kB/s)(1741MiB/240001msec)

Byte size 256K: write: IOPS=793, BW=198MiB/s (208MB/s)(8192MiB/41317msec)

Byte size 4M: write: IOPS=101, BW=404MiB/s (424MB/s)(8192MiB/20267msec)

FIO Read

Byte size 4K: read: IOPS=26.0k, BW=105MiB/s (110MB/s)(8192MiB/77745msec)

Byte size 256K: read: IOPS=3395, BW=849MiB/s (890MB/s)(8192MiB/9651msec)

Byte size 4M: read: IOPS=231, BW=927MiB/s (972MB/s)(8192MiB/8836msec)

GCP (n2-standard-2)

UNIX Benchmark

Run 1: 1108.2 Run 2: 1591.0

FIO R/W

Byte size 4K: read: IOPS=1211, BW=4844KiB/s (4960kB/s)(3070MiB/648975msec) write: IOPS=404, BW=1619KiB/s (1658kB/s)(1026MiB/648975msec)

Byte size 256K: read: IOPS=144, BW=36.0MiB/s (37.8MB/s)(3069MiB/85183msec) write: IOPS=48, BW=12.1MiB/s (12.6MB/s)(1027MiB/85183msec)

Byte size 4M: read: IOPS=9, BW=36.4MiB/s (38.2MB/s)(3000MiB/82310msec) write: IOPS=3, BW=13.3MiB/s (13.0MB/s)(1096MiB/82310msec)

FIO Write

Byte size 4K: write: IOPS=1426, BW=5704KiB/s (5841kB/s)(1337MiB/240002msec)

Byte size 256K: write: IOPS=113, BW=28.3MiB/s (29.6MB/s)(6785MiB/240016msec)

Byte size 4M: write: IOPS=6, BW=24.6MiB/s (25.8MB/s)(5912MiB/240233msec)

FIO Read

Byte size 4K: read: IOPS=1812, BW=7251KiB/s (7425kB/s)(1700MiB/240022msec)

Byte size 256K: read: IOPS=113, BW=28.3MiB/s (29.6MB/s)(6793MiB/240324msec)

Byte size 4M: read: IOPS=7, BW=28.2MiB/s (29.6MB/s)(6912MiB/245267msec)

Azure (Standard_B2ms)

UNIX Benchmark

Run 1: 787.7 Run 2: 1590.4

FIO R/W

Byte size 4K: read: IOPS=1797, BW=7191KiB/s (7364kB/s)(3070MiB/437147msec) write: IOPS=600, BW=2403KiB/s (2461kB/s)(1026MiB/437147msec)

Byte size 256K: read: IOPS=79, BW=19.0MiB/s (20.0MB/s)(3069MiB/153464msec) write: IOPS=26, BW=6853KiB/s (7017kB/s)(1027MiB/153464msec)

Byte size 4M: read: IOPS=4, BW=19.6MiB/s (20.5MB/s)(3000MiB/153428msec) write: IOPS=1, BW=7315KiB/s (7490kB/s)(1096MiB/153428msec)

FIO Write

Byte size 4K: write: IOPS=1382, BW=5529KiB/s (5662kB/s)(1298MiB/240407msec)

Byte size 256K: write: IOPS=61, BW=15.4MiB/s (16.1MB/s)(3759MiB/244349msec)

Byte size 4M: write: IOPS=4, BW=18.4MiB/s (19.3MB/s)(4424MiB/240191msec)

FIO Read

Byte size 4K: read: IOPS=2647, BW=10.3MiB/s (10.8MB/s)(2483MiB/240032msec)
Byte size 265K: read: IOPS=106, BW=26.7MiB/s (27.0MB/s)(6413MiB/240260msec)
Byte size 4M: read: IOPS=6, BW=26.7MiB/s (27.0MB/s)(6532MiB/244744msec)