
FOLLOWUS
1.National Laboratory for Optoelectronics and School of Science and Technology, Huazhong University of Science and Technology, Wuhan 430074, China
2.Department of Computer Science and Software Engineering, Auburn University, Auburn, AL 36849, USA
[ "Hui SUN, E-mail: sunhuiworking@gmail.com" ]
[ "Xiao QIN, E-mail: xqin@auburn.edu" ]
Chang-sheng XIE, E-mail: cs_xie@hust.edu.cn
收稿:2013-10-29,
修回:2014-;7-16,
纸质出版:2014-08
Scan QR Code
基于固态硬盘能耗和性能的最优文件系统和I/O调度策略组合[J]. 信息与电子工程前沿(英文), 2014,15(8):607-621.
Hui SUN, Xiao QIN, Chang-sheng XIE. Exploring optimal combination of a file system and an I/O scheduler for underlying solid state disks[J]. Frontiers of Information Technology & Electronic Engineering, 2014, 15(8): 607-621.
基于固态硬盘能耗和性能的最优文件系统和I/O调度策略组合[J]. 信息与电子工程前沿(英文), 2014,15(8):607-621. DOI: 10.1631/jzus.C1300314.
Hui SUN, Xiao QIN, Chang-sheng XIE. Exploring optimal combination of a file system and an I/O scheduler for underlying solid state disks[J]. Frontiers of Information Technology & Electronic Engineering, 2014, 15(8): 607-621. DOI: 10.1631/jzus.C1300314.
研究目的
2
负载下,不同文件系统和I/O调度策略对固态盘性能和能耗的影响较大。本文介绍固态盘性能和能耗综合最优情形下,系统文件系统和I/O调度策略配置的理论依据和实现方法。
创新要点
2
引入一种综合评测指标(aggregativeindicator,简写为AI),AI的数值等于固态盘性能和能耗的比值。同等负载环境下,对于不同文件系统和I/O调度策略,AI值越大,固态盘越趋于性能和能耗综合最优,即文件系统和I/O调度策略对负载下固态盘性能和能耗的影响越小;反之,影响越大。
方法提亮
2
以常见的五种文件系统(Ext2、Ext3、NILFS2、ReiserFS和XFS)和三种I/O调度策略(CFQ、Deadline和NOOP)为例。文件系统测试工具采用Filebench作为负载发生器,仿真了Varmail,Fileserver和Webserver三种负载,并将这三种负载分别加载到三种测试盘上,采用综合指标(AI)研究使固态盘性能和能耗达到综合最优的文件系统和I/O调度策略组合,并分析特定盘在最优AI值下的性能和能耗变化趋势。
实验结果
2
基于Varmail负载(以随机读和附加写文件操作为主)的实验结果表明,任意一种I/O调度策略下,基于扩展文件系统(Ext2或Ext3)的测试盘AI值较大;基于Fileserver负载(以随机读和随机写文件操作为主)的实验结果表明,任意一种I/O调度策略下,基于NILFS2文件系统的测试盘AI值较大;基于Webserver负载(以大量随机读文件操作为主)的实验结果表明,基于扩展文件系统(Ext2或Ext3)和CFQI/O调度策略组合下的测试盘AI值较大。对于扩展文件系统(Ext2和Ext3)而言,因Ext2文件系统无日志写操作,大多数情况下,基于Ext2文件系统的固态盘能耗较低,但Ext2文件系统安全性比Ext3差。NIFLS2文件系统利用日志文件管理顺序化随机访问模式的文件操作,因此随机负载下基于NIFLS2文件系统的固态盘AI值较大。大多数情况下,基于CFQ和NOOP调度策略的固态盘AI值较大。
重要结论
2
不同负载下,固态盘的性能和能耗很大程度上取决于测试系统的文件系统和I/O调度策略组合。
Performance and energy consumption of a solid state disk (SSD) highly depend on file systems and I/O schedulers in operating systems. To find an optimal combination of a file system and an I/O scheduler for SSDs
we use a metric called the aggregative indicator (AI)
which is the ratio of SSD performance value (e.g.
data transfer rate in MB/s or throughput in IOPS) to that of energy consumption for an SSD. This metric aims to evaluate SSD performance per energy consumption and to study the SSD which delivers high performance at low energy consumption in a combination of a file system and an I/O scheduler. We also propose a metric called Cemp to study the changes of energy consumption and mean performance for an Intel SSD (SSD-I) when it provides the largest AI
lowest power
and highest performance
respectively. Using Cemp
we attempt to find the combination of a file system and an I/O scheduler to make SSD-I deliver a smooth change in energy consumption. We employ Filebench as a workload generator to simulate a wide range of workloads (i.e.
varmail
fileserver
and webserver)
and explore optimal combinations of file systems and I/O schedulers (i.e.
optimal values of AI) for tested SSDs under different workloads. Experimental results reveal that the proposed aggregative indicator is comprehensive for exploring the optimal combination of a file system and an I/O scheduler for SSDs
compared with an individual metric.
N. Agrawal , , , W.J. Bolosky , , , J.R. Douceur , , , 等 . . A five-year study of file-system metadata . . ACM Trans. Storage , , 2007 . . 3 ( ( 3 ): ): Article 9 DOI: 10.1145/1288783.1288788 http://doi.org/10.1145/1288783.1288788 . .
N. Agrawal , , , V. Prabhakaran , , , T. Wobber , , , 等 . . Design tradeoffs for SSD performance . . USENIX Annual Technical Conf. , , 2008 . . p.57 - - 70 . . . .
R. Appleton . . Kernel korner: a non-technical look inside the EXT2 file system . . Linux J. , , 1997 . . 1997 ( ( 40es ): ): Article 19 . .
A. Ban . . Flash File System . . US Patent 5 404 485 , , 1995 . . .
W. Bux . . Performance Evaluation of the Write Operation in Flash-Based Solid-State Drives . . Technical Report No. RZ3757, IBM Research, Zurich, Rschlikon , , 2009 . . .
F. Chen , , , D.A. Koufaty , , , X.D. Zhang . . Understanding intrinsic characteristics and system implications of flash memory based solid state drives . . Proc. 11th Int. Joint Conf. on Measurement and Modeling of Computer Systems , , 2009 . . p.181 - - 192 . . DOI: 10.1145/1555349.1555371 http://doi.org/10.1145/1555349.1555371 . .
P. Desnoyers . . Empirical evaluation of NAND flash memory performance . . ACM SIGOPS Oper. Syst. Rev. , , 2010 . . 44 ( ( 1 ): ): 50 - - 54 . . DOI: 10.1145/1740390.1740402 http://doi.org/10.1145/1740390.1740402 . .
C. Dirik , , , B. Jacob . . The performance of PC solidstate disks (SSDs) as a function of bandwidth, concurrency, device architecture, and system organization . . ACM SIGARCH Comput. Archit. News , , 2009 . . 37 ( ( 3 ): ): 279 - - 289 . . DOI: 10.1145/1555815.1555790 http://doi.org/10.1145/1555815.1555790 . .
A. Gupta , , , Y. Kim , , , B. Urgaonkar . . DFTL: a flash translation layer employing demand-based selective caching of page-level address mappings . . Proc. 14th Int. Conf. on Architectural Support for Programming Languages and Operating Systems , , 2009 . . p.229 - - 240 . . DOI: 10.1145/1508244.1508271 http://doi.org/10.1145/1508244.1508271 . .
D.A. Heger , , , R. Quinn . . Linux 2.6 IO performance analysis, quantification, and optimization . . Proc. Int. Conf. for Performance and Capacity ManagementCMG , , 2010 . . .
X.Y. Hu , , , R. Haas . . The Fundamental Limit of Flash Random Write Performance: Understanding, Analysis and Performance Modelling . . Technical Report No. RZ3771, IBM Research, Zurich, Rschlikon , , 2010 . . .
H.H. Huang , , , S. Li , , , A. Szalay , , , 等 . . Performance modeling and analysis of flash-based storage devices . . IEEE 27th Symp. on Mass Storage Systems and Technologies , , 2011 . . p.1 - - 11 . . DOI: 10.1109/MSST.2011.5937213 http://doi.org/10.1109/MSST.2011.5937213 . .
I. Iliadis . . Performance of the Greedy GarbageCollection Scheme in Flash-Based Solid-State Drives . . Technical Report No. RZ3769, IBM Research, Zurich, Rschlikon , , 2010 . . .
D. Jung , , , Y.H. Chae , , , H. Jo , , , 等 . . A group-based wear-leveling algorithm for large-capacity flash memory storage systems . . Proc. Int. Conf. on Compilers, Architecture, and Synthesis for Embedded Systems , , 2007 . . p.160 - - 164 . . DOI: 10.1145/1289881.1289911 http://doi.org/10.1145/1289881.1289911 . .
M. Jung , , , R. Prabhakar , , , M.T. Kandemir . . Taking garbage collection overheads off the critical path in SSDs . . Proc. 13th Int. Middleware Conf. , , 2012 . . p.164 - - 186 . . DOI: 10.1007/978-3-642-35170-9_9 http://doi.org/10.1007/978-3-642-35170-9_9 . .
J.U. Kang , , , H. Jo , , , J.S. Kim , , , 等 . . A superblockbased flash translation layer for NAND flash memory . . Proc. 6th ACM & IEEE Int. Conf. on Embedded Software , , 2006 . . p.161 - - 170 . . DOI: 10.1145/1176887.1176911 http://doi.org/10.1145/1176887.1176911 . .
J. Kim , , , J.M. Kim , , , S.H. Noh , , , 等 . . A spaceefficient flash translation layer for CompactFlash systems . . IEEE Trans. Consum. Electron. , , 2002 . . 48 ( ( 2 ): ): 366 - - 375 . . DOI: 10.1109/TCE.2002.1010143 http://doi.org/10.1109/TCE.2002.1010143 . .
J. Kim , , , Y. Oh , , , E. Kim , , , 等 . . Disk schedulers for solid state drivers . . Proc. 7th ACM Int. Conf. on Embedded Software , , 2009 . . p.295 - - 304 . . DOI: 10.1145/1629335.1629375 http://doi.org/10.1145/1629335.1629375 . .
J. Kim , , , S. Seo , , , D. Jung , , , 等 . . Parameter-aware I/O management for solid state disks (SSDs) . . IEEE Trans. Comput. , , 2012 . . 61 ( ( 5 ): ): 636 - - 649 . . DOI: 10.1109/TC.2011.76 http://doi.org/10.1109/TC.2011.76 . .
J.H. Kim , , , D. Jung , , , J.S. Kim , , , 等 . . A methodology for extracting performance parameters in solid state disks (SSDs) . . IEEE Int. Symp. on Modeling, Analysis & Simulation of Computer and Telecommunication Systems , , 2009 . . p.1 - - 10 . . DOI: 10.1109/MASCOT.2009.5366154 http://doi.org/10.1109/MASCOT.2009.5366154 . .
Y. Kim , , , B. Tauras , , , A. Gupta , , , 等 . . FlashSim: a simulator for NAND flash-based solid-state drives . . 1st Int. Conf. on Advances in System Simulation , , 2009 . . p.125 - - 131 . . DOI: 10.1109/SIMUL.2009.17 http://doi.org/10.1109/SIMUL.2009.17 . .
R. Konishi , , , Y. Amagai , , , K. Sato , , , 等 . . The Linux implementation of a log-structured file system . . ACM SIGOPS Oper. Syst. Rev. , , 2006 . . 40 ( ( 3 ): ): 102 - - 107 . . DOI: 10.1145/1151374.1151375 http://doi.org/10.1145/1151374.1151375 . .
J.D. Lee , , , S.H. Hur , , , J.D. Choi . . Effects of floatinggate interference on NAND flash memory cell operation . . IEEE Electron Dev. Lett. , , 2002 . . 23 ( ( 5 ): ): 264 - - 266 . . DOI: 10.1109/55.998871 http://doi.org/10.1109/55.998871 . .
S. Lee , , , D. Shin , , , Y.J. Kim , , , 等 . . LAST: localityaware sector translation for NAND flash memory-based storage systems . . ACM SIGOPS Oper. Syst. Rev. , , 2008 . . 42 ( ( 6 ): ): 36 - - 42 . . DOI: 10.1145/1453775.1453783 http://doi.org/10.1145/1453775.1453783 . .
S.W. Lee , , , D.J. Park , , , T.S. Chung , , , 等 . . A log buffer-based flash translation layer using fullyassociative sector translation . . ACM TECS , , 2007 . . 6 ( ( 3 ): ): Article 18 DOI: 10.1145/1275986.1275990 http://doi.org/10.1145/1275986.1275990 . .
S.W. Lee , , , B. Moon , , , C. Park , , , 等 . . A case for flash memory SSD in enterprise database applications . . Proc. ACM SIGMOD Int. Conf. on Management of Data , , 2008 . . p.1075 - - 1086 . . DOI: 10.1145/1376616.1376723 http://doi.org/10.1145/1376616.1376723 . .
Y. Lu , , , J. Shu , , , W. Zheng , , , 等 . . Extending the lifetime of flash-based storage through reducing write amplification from file systems . . Proc. 11th USENIX Conf. on File and Storage Technologies , , 2013 . . p.257 - - 270 . . . .
J. Luo , , , G. Zhao . . Solid State Hard Disk . . US Patent 764 231 , , 2007 . . .
K.E. Maghraoui , , , G. Kandiraju , , , J. Jann , , , 等 . . Modeling and simulating flash based solid-state disks for operating systems . . Proc. 1st Joint WOSP/SIPEW Int. Conf. on Performance Engineering , , 2010 . . p.15 - - 26 . . DOI: 10.1145/1712605.1712611 http://doi.org/10.1145/1712605.1712611 . .
F. Masuoka , , , M. Momodomi , , , Y. Iwata , , , 等 . . New ultra high density EPROM and flash EEPROM with NAND structure cell . . Int. Electron Devices Meeting , , 1987 . . p.552 - - 555 . . DOI: 10.1109/IEDM.1987.191485 http://doi.org/10.1109/IEDM.1987.191485 . .
M.K. McKusick , , , W.N. Joy , , , S.J. Leffler , , , 等 . . A fast file system for UNIX . . ACM Trans. Comput. Syst. , , 1984 . . 2 ( ( 3 ): ): 181 - - 197 . . DOI: 10.1145/989.990 http://doi.org/10.1145/989.990 . .
M. Moallem . . A Study on the Performance Evaluation of Linux I/O Schedulers . . MS Thesis, University of Toronto, Canada , , 2008 . . .
V. Mohan , , , S. Gurumurthi , , , M.R. Stan . . FlashPower: a detailed power model for NAND flash memory . . Proc. Conf. & Exhibition on Design, Automation & Test in Europe , , 2010 . . p.502 - - 507 . . DOI: 10.1109/DATE.2010.5457154 http://doi.org/10.1109/DATE.2010.5457154 . .
M. Murugan , , , D.H.C Du . . Rejuvenator: a static wear leveling algorithm for NAND flash memory with minimized overhead . . IEEE 27th Symp. on Mass Storage Systems and Technologies , , 2011 . . p.1 - - 12 . . DOI: 10.1109/MSST.2011.5937225 http://doi.org/10.1109/MSST.2011.5937225 . .
K. O'Brien , , , D.C. Salyers , , , A.D. Striegel , , , 等 . . Power and performance characteristics of USB flash drives . . Int. Symp. on a World of Wireless, Mobile and Multimedia Networks , , 2008 . . p.1 - - 4 . . DOI: 10.1109/WOWMOM.2008.4594868 http://doi.org/10.1109/WOWMOM.2008.4594868 . .
J. Park , , , S. Yoo , , , S. Lee , , , 等 . . Power modeling of solid state disk for dynamic power management policy design in embedded systems . . Proc. 7th IFIP Int. Workshop on Software Technologies for Embedded and Ubiquitous Systems , , 2009 . . p.24 - - 35 . . DOI: 10.1007/978-3-642-10265-3_3 http://doi.org/10.1007/978-3-642-10265-3_3 . .
S. Park , , , K. Shen . . A performance evaluation of scientific I/O workloads on flash-based SSDs . . IEEE Int. Conf. on Cluster Computing and Workshops , , 2009 . . p.1 - - 5 . . DOI: 10.1109/CLUSTR.2009.5289148 http://doi.org/10.1109/CLUSTR.2009.5289148 . .
S. Park , , , Y. Kim , , , B. Urgaonkar , , , 等 . . A comprehensive study of energy efficiency and performance of flash-based SSD . . J. Syst. Archit. , , 2011 . . 57 ( ( 4 ): ): 354 - - 365 . . DOI: 10.1016/j.sysarc.2011.01.005 http://doi.org/10.1016/j.sysarc.2011.01.005 . .
S.L. Pratt , , , D.A. Heger . . Workload dependent performance evaluation of the Linux 2.6 I/O schedulers . . Linux Symp , , 2004 . . .
A. Riska , , , J. Larkby-Lahet , , , E. Riedel . . Evaluating block-level optimization through the IO path . . USENIX Annual Technical Conf. , , 2007 . . p.247 - - 260 . . . .
M. Rosenblum , , , J.K. Ousterhout . . The design and implementation of a log-structured file system . . ACM Trans. Comput. Syst. , , 1992 . . 10 ( ( 1 ): ): 26 - - 52 . . DOI: 10.1145/146941.146943 http://doi.org/10.1145/146941.146943 . .
P. Sehgal , , , V. Tarasov , , , E. Zadok . . Evaluating performance and energy in file system server workloads . . 8th USENIX Conf. on File and Storage Technologies , , 2010 . . p.253 - - 266 . . . .
E. Seo , , , S.Y. Park , , , B. Urgaonkar . . Empirical analysis on energy efficiency of flash-based SSDs . . Proc. Conf. on Power Aware Computing and Systems , , 2008 . . p.1 - - 5 . . . .
S. Tweedie . . Ext3, journaling filesystem . . Ottawa Linux Symp. , , 2000 . . p.24 - - 29 . . . .
H. Wang , , , P. Huang , , , S. He , , , 等 . . A novel I/O scheduler for SSD with improved performance and lifetime . . IEEE 29th Symp. on Mass Storage Systems and Technologies , , 2013 . . p.1 - - 5 . . DOI: 10.1109/MSST.2013.6558426 http://doi.org/10.1109/MSST.2013.6558426 . .
R.Y. Wang , , , T.E. Anderson . . xFS: a wide area mass storage file system . . Proc. 4th Workshop on Workstation Operating Systems , , 1993 . . p.71 - - 78 . . DOI: 10.1109/WWOS.1993.348169 http://doi.org/10.1109/WWOS.1993.348169 . .
Y.K. Wang , , , K. Goda , , , M. Nakano , , , 等 . . Performance evaluation of flash SSDs in a transaction processing system . . IEICE Trans. Inform. Syst. , , 2011 . . 94 ( ( 3 ): ): 602 - - 611 . . DOI: 10.1587/transinf.E94.D.602 http://doi.org/10.1587/transinf.E94.D.602 . .
Q.S. Wei , , , B. Gong , , , S. Pathak , , , 等 . . WAFTL: a workload adaptive flash translation layer with data partition . . IEEE 27th Symp. on Mass Storage Systems and Technologies , , 2011 . . p.1 - - 12 . . DOI: 10.1109/MSST.2011.5937217 http://doi.org/10.1109/MSST.2011.5937217 . .
B. Yoo , , , Y. Won , , , S. Choi , , , 等 . . SSD characterization: from energy consumption's perspective . . 3rd USENIX Workshop on Hot Topics in Storage and File Systems , , 2011 . . .
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621