New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/root filesystem performance improvements #21
Comments
As raspbian-ua-netinst is a power user tool, I'm more than happy to add support for tuning mkfs.ext4 options in config. Patches welcome or I'll look at it later. |
cool, working on it, making fdisk start at erase-page boundaries without hand tweaking is more amusing than I guessed.. |
@pleasantone, can you confirm @mcanevet's commit added this support? |
Looks excellent from a visual review. It turns out tweaking fdisk parameters was a bit more complex than I had anticipated and outside the scope of the installer (it required manual intervention and some iteration). Please feel free to close this issue. From: Toni Spets notifications@github.com @pleasantone, can you confirm @mcanavet's commit added this support? — |
Just wondering. Would the use of f2fs achieve similar results regarding SD performance? |
I don't know. I've timed various installations with various file systems and the settings mentioned above, but with those test the defaults produced the best results. |
The options are available and I have no intention of changing the defaults, so it's time to close this issue. |
Some research was done here[1] and adapted by the OpenElec raspberry pi folks for significantly increasing the SD card performance by block aligning the ext4 filesystem such that read/write/erases drop on sector boundaries.
While determining the actual block alignments (4k/8k/16k) might be a bit of a pain, we win at all three alignments if we start the root filesystem on a block that is a modulo of 32768 (16k at 512 bytes/block).
Then people can easily fine-tune ext4 sector sizes if you allow us access to the mkfs.ext4 options (e.g. someone with 4k alignment might do: -O ^has_journal -E stride=2,stripe-width=1024 -b 4096)
Thoughts?
[1] http://blogofterje.wordpress.com/2012/01/14/optimizing-fs-on-sd-card/
The text was updated successfully, but these errors were encountered: