计算机工程与科学2024,Vol.46Issue(7) :1167-1174.DOI:10.3969/j.issn.1007-130X.2024.07.004

面向高密度闪存的内存页大小探索

Exploration of memory page size for high-density flash memory

俞丁翠 罗龙飞 宋云鹏 李文通 石亮
计算机工程与科学2024,Vol.46Issue(7) :1167-1174.DOI:10.3969/j.issn.1007-130X.2024.07.004

面向高密度闪存的内存页大小探索

Exploration of memory page size for high-density flash memory

俞丁翠 1罗龙飞 1宋云鹏 1李文通 1石亮1
扫码查看

作者信息

  • 1. 华东师范大学计算机科学与技术学院,上海 200062
  • 折叠

摘要

近年来,固态硬盘SSD向高带宽、大容量的方向飞速发展.为了扩大SSD的容量,闪存页面从4 KB增长到了16 KB.然而,操作系统依然以4 KB内存页为粒度向SSD下发读写请求,导致应用难以充分利用SSD的高带宽.增加内存页面的大小,以使操作系统下发的I/O请求和SSD读写闪存的粒度统一是可能可行的解决方案.将首次深入探索内存页大小对系统I/O性能与SSD寿命的影响.具体来说,将内存页大小设置为16 KB,运行测试程序并将实验结果与4 KB内存页进行比较.得出以下结论:(1)16 KB内存页具有更好的读性能;(2)应用的写粒度决定了16 KB内存页的性能;(3)16 KB内存页放大了页内无效数据对SSD寿命的影响.

Abstract

In recent years,solid state drives(SSDs)have witnessed rapid development towards high-er bandwidth and larger capacity.To expand SSD capacity,the size of flash memory pages has increased from 4 KB to 16 KB.However,operating systems still issue read/write requests to SSDs with a 4 KB memory page granularity,making it difficult for applications to fully utilize the high bandwidth of SS-Ds.Increasing the size of memory pages to align the granularity of I/O requests issued by the operating system with the SSD's flash memory read/write operations could be a potential solution.This paper delves into the effects of memory page size on system I/O performance and SSD lifetime for the first time,including setting the memory page size to 16 KB,running benchmark tests,and comparing the re-sults with those obtained using 4 KB memory pages.The key findings are as follows:(1)16 KB memo-ry pages exhibit better read performance;(2)the write granularity of applications determines the per-formance of 16 KB memory pages;(3)16 KB memory pages amplify the impact of invalid data within pages on SSD lifetime.

关键词

固态硬盘/高密度闪存/内存管理/内存页大小/I/O性能测试分析

Key words

solid state drive/high-density flash/memory management/memory page size/I/O per-formance test and analysis

引用本文复制引用

基金项目

国家自然科学基金(62141213)

国家自然科学基金(62072177)

上海市科学技术项目-启明星计划(22QA1403300)

出版年

2024
计算机工程与科学
国防科学技术大学计算机学院

计算机工程与科学

CSTPCD北大核心
影响因子:0.787
ISSN:1007-130X
段落导航相关论文