It seems like XFS only allows you to mount a volume with a block size the same as the OS memory PAGE_SIZE. Ideally, I would like to get a better transfer rate from block storage, but I am being limited by the IOPS rate well before my BW limits are hit. I attempted to reform an XFS partition with a large block size but was unable to mount it due to the limitations able.
Is this limit also true of ext4? Does Digital Ocean have ubuntu versions compiled with large kernel PAGE_SIZES available? How would you suggest setting up a droplet for maximum block storage performance?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
You’re correct that XFS has a limitation related to the OS memory PAGE_SIZE. However, for ext4, you can choose the block size during the file system creation, and it’s not directly tied to the kernel’s memory PAGE_SIZE. You can use a block size up to 4 KiB for ext4, which is the default on most systems.
Unfortunately, DigitalOcean doesn’t provide specific Ubuntu versions compiled with larger kernel PAGE_SIZE.
To optimize your Droplet for maximum block storage performance, consider the following tips:
For more information on attaching block storage to your Droplet, refer to the DigitalOcean documentation.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.