Understanding IO patterns of SSDs

Similar documents
Virtual Memory Management for Main-Memory KV Database Using Solid State Disk *

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1

Chapter 11 SHANDONG UNIVERSITY 1

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图

Multiprotocol Label Switching The future of IP Backbone Technology

如何查看 Cache Engine 缓存中有哪些网站 /URL

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>

三 依赖注入 (dependency injection) 的学习

组播路由 - MSDP 和 PIM 通过走

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容

Apache Kafka 源码编译 Spark 大数据博客 -

Chapter 1 (Part 2) Introduction to Operating System

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide

A Benchmark For Stroke Extraction of Chinese Characters

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub

Lecture 23 Introduction to Paging

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程

新一代 ODA X5-2 低调 奢华 有内涵

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 : Latest update:

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 )

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

NyearBluetoothPrint SDK. Development Document--Android

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究

Command Dictionary CUSTOM

OTAD Application Note

Triangle - Delaunay Triangulator

Logitech G302 Daedalus Prime Setup Guide 设置指南

我们应该做什么? 告知性分析 未来会发生什么? 预测性分析 为什么会发生 诊断性分析 过去发生了什么? 描述性分析 高级分析 传统 BI. Source: Gartner

Microsemi - Leading Innovation for China s Hyperscale Data Centers

Computer Networks. Wenzhong Li. Nanjing University

EqualLogic Best Practices for SQL Server Deployments

Spark Standalone 模式应用程序开发 Spark 大数据博客 -

libde265 HEVC 性能测试报告

Computer Networks. Wenzhong Li. Nanjing University

Oracle 一体化创新云技术 助力智慧政府信息化战略. Copyright* *2014*Oracle*and/or*its*affiliates.*All*rights*reserved.** *

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用

#MDCC Swift 链式语法应 用 陈乘

失Answer for homework assignment 4

: Operating System 计算机原理与设计

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>

IPC 的 Proxy-Stub 设计模式 ( c)

Chapter2 Instruction Sets

Altera 器件高级特性与应用 内容安排 时钟管理 时钟管理 片内存储器 数字信号处理 高速差分接口 高速串行收发器. 时钟偏斜 (skew): 始终分配到系统中到达各个时钟末端 ( 器件内部触发器的时钟输入端 ) 的时钟相位不一致的现象 抖动 : 时钟边沿的输出位置和理想情况存在一定的误差

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 )

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架

Oriented Scene Text Detection Revisited. Xiang Bai Huazhong University of Science and Technology

ngx_openresty: an Nginx ecosystem glued by Lua

Specifications 产品规格书 USB-D M X 控制器. DESCRIPTION: USB-D M X Control 产品名称 : MODEL NO: USB-DMX512-CONTROL 产品型号 :

EBD EBD. end

[ 电子书 ]Spark for Data Science PDF 下载 Spark 大数据博客 -

The Design of Everyday Things

S 1.6V 3.3V. S Windows 2000 Windows XP Windows Vista S USB S RGB LED (PORT1 PORT2 PORT3) S I 2 C. + 表示无铅 (Pb) 并符合 RoHS 标准 JU10 JU14, JU24, JU25

操作系统原理与设计. 第 13 章 IO Systems(IO 管理 ) 陈香兰 2009 年 09 月 01 日 中国科学技术大学计算机学院

Lecture 3 for pipelining

mod_callcenter callcenter.conf.xml 范例 odbc-dsn

Technology: Anti-social Networking 科技 : 反社交网络

Support for Title 21 CFR Part 11 and Annex 11 compliance: Agilent OpenLAB CDS version 2.1

Safe Memory-Leak Fixing for C Programs

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司

Air Speaker. Getting started with Logitech UE Air Speaker. 快速入门罗技 UE Air Speaker. Wireless speaker with AirPlay. 无线音箱 (AirPlay 技术 )

CHINA VISA APPLICATION CONCIERGE SERVICE*

New Media Data Analytics and Application. Lecture 7: Information Acquisition An Integration Ting Wang

Windows Batch VS Linux Shell. Jason Zhu

The relational Algebra & calculus cont. Reference : UC Berkeley

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host)

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制

Presentation Title. By Author The MathWorks, Inc. 1

XPS 8920 Setup and Specifications

测试 SFTP 的 问题在归档配置页的 MediaSense

Parallel Programming Principle and Practice Lecture 7

Outline. Motivations (1/3) Distributed File Systems. Motivations (3/3) Motivations (2/3)

Murrelektronik Connectivity Interface Part I Product range MSDD, cable entry panels MSDD 系列, 电缆穿线板

测试基础架构 演进之路. 茹炳晟 (Robin Ru) ebay 中国研发中心

U-CONTROL UMX610/UMX490/UMX250. The Ultimate Studio in a Box: 61/49/25-Key USB/MIDI Controller Keyboard with Separate USB/Audio Interface

Chapter 2: Java OO II. Yang Wang wyang AT njnet.edu.cn

Decode Zend. Darkness/Airsupply

1. Features. 2,Block diagram. 3. Outline dimension V power supply. 3. Assembled with 20 x 4 character displays

TDS - 3. Battery Compartment. LCD Screen. Power Button. Hold Button. Body. Sensor. HM Digital, Inc.

Vol. 41, No. 3 / 2013 DEVELOPMENT AND EXPERIMENT ON AUTOMATIC GRADING EQUIPMENT FOR KIWI / 猕猴桃自动分级设备的研制与试验

计算机科学与技术专业本科培养计划. Undergraduate Program for Specialty in Computer Science & Technology

White Paper 3 System Level ESD Part II: Implementation of Effective ESD Robust Designs. Industry Council on ESD Target Levels

Smart Services Lucy Huo (Senior Consultant, UNITY Business Consulting) April 27, 2016

2. Introduction to Digital Media Format

FLIGHT INSTRUMENT PANEL

PTZ PRO 2. Setup Guide 设置指南

IBM 企业业务连续性方案建议书. System x3850m2+ds4700/ds5000

H3C CAS 虚拟机支持的操作系统列表. Copyright 2016 杭州华三通信技术有限公司版权所有, 保留一切权利 非经本公司书面许可, 任何单位和个人不得擅自摘抄 复制本文档内容的部分或全部, 并不得以任何形式传播 本文档中的信息可能变动, 恕不另行通知

云计算入门 Introduction to Cloud Computing GESC1001

云计算入门 Introduction to Cloud Computing GESC1001

Bi-monthly report. Tianyi Luo

IP unnumbered 实验讲义 一. 实验目的 : 二. 实验设备 : 三. 实验拓扑 : 四. 实验内容 :

: Operating System 计算机原理与设计

Computer Networks. Wenzhong Li. Nanjing University

Flash-based Database Systems

B c e k c h k o h f o f f

Color LaserJet Pro MFP M477 入门指南

Vista 程序员的好帮手. XXX DPE, Microsoft China

Transcription:

固态硬盘 I/O 特性测试 周大 众所周知, 固态硬盘是一种由闪存作为存储介质的数据库存储设备 由于闪存和磁盘之间物理特性的巨大差异, 现有的各种软件系统无法直接使用闪存芯片 为了提供对现有软件系统的支持, 往往在闪存之上添加一个闪存转换层来实现此目的 固态硬盘就是在闪存上附加了闪存转换层从而提供和磁盘相同的访问接口的存储设备 一方面, 闪存本身具有独特的访问特性 另外一方面, 闪存转换层内置大量的算法来实现闪存和磁盘访问接口之间的转换 因此和磁盘相比, 固态硬盘具有复杂的访问特性 本测试集中在展示各种固态硬盘在不同访问模式下的 IOPS 值, 同时和磁盘加以比较 本测试中, 采取的访问模式有 : 随机读 连续读 随机写, 连续写, 以及分别加入地址跳跃 时间延迟 批量提交 延迟 + 批量提交 读写混合等影响因数 通过在各种访问模式下的实验结果可知, 固态硬盘普遍具有较好的读性能和连续写性能, 在随机写表现出复杂的特性

Understanding IO patterns of SSDs Da Zhou 1/22 Outline Random/Sequential read/write Address offset Delay Relay Burst Delay + Burst Semi Access Conclusion 2/22

Experiment Setup SSD: Access granularity: 512 bytes Test tool: IOMeter 3/22 Random Write Random Write 4/22

Random Write 45 35 25 15 5 PQI RW SW RR SR 8 OCZ RW SW RR SR 3 2 1 Intel RW SW RR SR 1 HDD RW SW RR SR 5/22 Random Write 3 RW SW RR SR 2 1 6/22

Hints Random write performance is low for most of SSDs New high-end SSD has high random write performance Random write is slower than sequential write. 7/22 Sequential Write VS Align Write 3 2 1 SR SR Align 1 1 8 RR RR Align 2 1 SW SW Align RW RW Align 8/22

Random write VS Random write Align RW RW Align PQI, OCZ: directly written into flash memory chip Intel: group written because of cache. Align leads to flush directly. 9/22 Delay 14 12 1 8 6 4 RW Delay 1 SW Delay 1 RR Delay 1 SR Delay 1 2 1/22

Replay PQI PQI 45 4 35 35 3 25 25 2 15 15 1 5 5 RW SW RR SR RW SW RR SR RW RW SW RR SR 11/22 Write-Read PQI OCZ 1 1 1 1 1 RW SW RR SR RW SW RR SR 1 RW SW RR SR RW SW RR SR Intel HDD 1 1 1 RW SW RR SR RW SW RR SR 1 1 1 RW SW RR SR RW SW RR SR 12/22

Burst 5 RW 5 45 4 35 3 25 2 15 1 5 RW PQI OCZ HDD PQI, OCZ : Data are written into flash memory directly. While burst will improve the efficiency of Cache. Intel, HDD: The capacity of cache is larger. More data are cached in RAM. 13/22 Burst and Delay 6 5 4 RW RW Burst 5 RW Delay 1 Burst 1 3 2 1 PQI OCZ HDD 14/22

Random write alignment RW RW Align 8 Intel: Data in the same 4kb area are flushed in the same time. When data do not locate in the same 4kb area, they will be flushed independently. PQI, OCZ: data are flushed into SSD directly. 15/22 Sequential write alignment 2 SW SW Align 8 1 SSD: More erase operations will be triggered. HDD: Sequential write random write 16/22

Random read alignment 1 RR RR Align 8 1 8 17/22 Sequential read alignment 3 2 1 SR SR Align 8 PQI, OCZ:??? Intel: Prefetch is not utilized. Suppose the size is 4 KB, the remain data is needed. 18/22

Random Write VS Sequential Write VS Semi- Random write RW SW W RS 5% 2 1 Intel: RW, SW: Cache; Read RS 5%: Data which is cached by RW is flushed by SW quickly. The reason maybe is the sequential write need a lot of cache. Or sequential write has higher priority than random write to use cache. 19/22 Random Read VS Sequential Read VS Semirandom Read 3 2 1 RR SR R RS 5% Intel: RR, SR: Prefetch; Read RS 5%: Data which is prefetched by RR is evicted by SR quickly. SR need more cache or high priority to use cache. 2/22

99% random Read, 1% random write 1 1 RW RR R 1% W Random 8 PQI RW 19.2775 RR 336.399 R 1% W Random 2441.968 Write affects read 1 Write = 336/19 reads= 18 reads Ideal Read: 1/118= 84% Real Read: 2441/336= 72% 21/22 99% random Read, 1% random write 1 1 RW RR R 1% W Random 8 Intel RW 4954.68 RR 11753.65 R 1% W Random 82.149 Problem is more obvious 1 Write = 11754/4954 reads= 2.4 reads Ideal Read: 1/112.4= 97% Real Read: 82/11754= 69% 22/22