Hacker News new | ask | show | jobs
by wtallis 762 days ago
Not much actually does 512-byte IOs, at least not in any performance-critical way. Your OS and filesystem are probably doing most stuff in increments of 4kB, and that's the granularity the SSD is tracking allocations with, even when it is presenting the illusion of 512-byte sectors.

The flash itself probably has a page size of at least 16kB, and erase block size of several MB, but trying to align and chunk your IO to those boundaries has marginal benefits.

As long as you don't have partitions that are misaligned relative to 4kB boundaries, you're fine.

1 comments

Thanks, I was expecting something along those lines. I assume misaligned partitions are kinda hard to produce these days if you are using the default partitioning from your GUI Linux distro installer? Last time I heard this being really relevant was over ten years ago iirc.