Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Block Storage Volume performance
We found out that XFS Block Storage Volume performance is quite low compared to the regular ext4 SSD disk bundled with droplets.
This is the hdparm result on a XFS Block Storage Volume:
root@db1:~# hdparm -Tt /dev/sda
Timing cached reads: 16970 MB in 1.99 seconds = 8514.97 MB/sec
Timing buffered disk reads: 532 MB in 3.00 seconds = 177.28 MB/sec
This is instead the hdparm result of bunlded SSD:
root@db1:~# hdparm -Tt /dev/vda1
Timing cached reads: 16458 MB in 1.99 seconds = 8257.90 MB/sec
Timing buffered disk reads: 2798 MB in 3.00 seconds = 932.35 MB/sec
We’ve done those tests after we saw that some stress-test on API/DBs are running with low performance compared to other cloud providers.
Since we want to install and use a medium-sized MongoDB database (~25GB), XFS is a requirement, but putting MongoDB data on Block Storage is causing low performance compared to droplet’s bundled SSD disks.
We really love DO services but we also need to have fast SSD + XFS + MongoDB.
What can you suggest to avoid that low performance?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×