3 ms·
> for most flash-based SSDs, there's no reason to set ashift to anything less than 12 (corresponding to 4kB blocks). matching the page size? > the underlying
by 1996 6y ago
> for most flash-based SSDs, there's no reason to set ashift to anything less than 12 (corresponding to 4kB blocks).
matching the page size?
> the underlying media page size is usually on the order of 16kB
I'd say that's a good reason to set ashift=14 as 2^14=16kb
- wtallis 6y agoThere are downsides to forcing the OS/FS to always use larger block sizes for IO. You might simply be moving some write amplification out of the SSD and into the filesystem, while losing some performance in the process. Which is why it really depends on your workload, and to some extent on the specific SSD in question. I'm not convinced that ashift=14 is a sensible one size fits all recommendation, even if we're talking only about recent-model consumer-grade NAND SSDs.