[Yuan takes you to learn NVMe] NVMe 1.4 new features: preferred write alignment and granularity

statement

Homepage : Metastorage Blog_CSDN Blog

Arranged based on public knowledge and experience, please leave a message if there is any mistake.

Personal hard work, paid content, reprinting is prohibited .


abstract

foreword

NVMe 1.4 provides a new capability for SSDs to report preferred write alignment and write granularity information to upper-level operating systems and drivers. Although the 4K alignment of solid-state drives is widely known, you may not know that the current physical page size of flash memory is usually 16KB, and the capacity of a flash memory block is as high as ten megabytes.

If the write granularity is too small, the solid-state hard disk needs to perform the repetitive work of first reading, then modifying, and then writing. Performance and efficiency, reduced flash wear and increased lifespan.


1 concept

NVMe SSDs behave like regular block devices, with a sector size typically 512 bytes or 4KB at the host level . The native page size of modern NAND flash memory is greater than 4KB, and a common page size is

Guess you like

Origin blog.csdn.net/vagrant0407/article/details/130660772