3 ms·
Data alignment is not just for memory: it is still very important on storage - especially SSDs. Even in 2019, finding out the erase size is still a problem. P
by devereaux 8y ago
Data alignment is not just for memory: it is still very important on storage - especially SSDs.
Even in 2019, finding out the erase size is still a problem.
Personally, I run a benchmark script whenever I provision a server. It explore a small set of values to find the ideal filesystem parameters.
It is not as complete as doing several iteration of random 4k iops with fio on the full partition, but a good enough rule of thumb to avoid misconfigurations.
- grafelic 8y agoWould you mind sharing your benchmark script?