An Overview of Flash Storage for Databases



Similar documents
Flash for Databases. September 22, 2015 Peter Zaitsev Percona

DELL SOLID STATE DISK (SSD) DRIVES

How To Scale Myroster With Flash Memory From Hgst On A Flash Flash Flash Memory On A Slave Server

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect

Choosing Storage Systems

Indexing on Solid State Drives based on Flash Memory

Flash 101. Violin Memory Switzerland. Violin Memory Inc. Proprietary 1

Solid State Drive Architecture

NAND Flash Architecture and Specification Trends

Speeding Up Cloud/Server Applications Using Flash Memory

Understanding Flash SSD Performance

Solid State Drive (SSD) FAQ

Technologies Supporting Evolution of SSDs

Oracle Aware Flash: Maximizing Performance and Availability for your Database

The Data Placement Challenge

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (

Fusion iomemory iodrive PCIe Application Accelerator Performance Testing

Data Center Storage Solutions

Intel Solid- State Drive Data Center P3700 Series NVMe Hybrid Storage Performance

Accelerating Server Storage Performance on Lenovo ThinkServer

COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

Comparison of NAND Flash Technologies Used in Solid- State Storage

Accelerating Enterprise Applications and Reducing TCO with SanDisk ZetaScale Software

HP Z Turbo Drive PCIe SSD

How To Write On A Flash Memory Flash Memory (Mlc) On A Solid State Drive (Samsung)

Getting the Most Out of Flash Storage

Important Differences Between Consumer and Enterprise Flash Architectures

Solid State Technology What s New?

Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card

The Technologies & Architectures. President, Demartek

Memoright SSDs: The End of Hard Drives?

Benchmarking Cassandra on Violin

LSI MegaRAID CacheCade Performance Evaluation in a Web Server Environment

Accelerating I/O- Intensive Applications in IT Infrastructure with Innodisk FlexiArray Flash Appliance. Alex Ho, Product Manager Innodisk Corporation

ioscale: The Holy Grail for Hyperscale

SUN STORAGE F5100 FLASH ARRAY

Understanding endurance and performance characteristics of HP solid state drives

How it can benefit your enterprise. Dejan Kocic Netapp

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

HP 80 GB, 128 GB, and 160 GB Solid State Drives for HP Business Desktop PCs Overview. HP 128 GB Solid State Drive (SSD)

Scaling from Datacenter to Client

Database Hardware Selection Guidelines

Flash-optimized Data Progression

SUPERTALENT PCI EXPRESS RAIDDRIVE PERFORMANCE WHITEPAPER

Optimizing SQL Server Storage Performance with the PowerEdge R720

Benefits of Solid-State Storage

Solid State Storage in a Hard Disk Package. Brian McKean, LSI Corporation

WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE

Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer

Solid State Drive Technology

File System Management

Data Distribution Algorithms for Reliable. Reliable Parallel Storage on Flash Memories

Flash Memory Basics for SSD Users

Advantages of Intel SSDs for Data Centres

Flash Memory Arrays Enabling the Virtualized Data Center. July 2010

Price/performance Modern Memory Hierarchy

Comparison of Hybrid Flash Storage System Performance

MS Exchange Server Acceleration

Flash Performance in Storage Systems. Bill Moore Chief Engineer, Storage Systems Sun Microsystems

Firebird and RAID. Choosing the right RAID configuration for Firebird. Paul Reeves IBPhoenix. mail:

How To Improve Write Speed On An Nand Flash Memory Flash Drive

Solid State Storage in Massive Data Environments Erik Eyberg

QuickSpecs. PCIe Solid State Drives for HP Workstations

Make A Right Choice -NAND Flash As Cache And Beyond

Nexenta Performance Scaling for Speed and Cost

Sistemas Operativos: Input/Output Disks

Storage Architecture in XProtect Corporate

SOLID STATE DRIVES AND PARALLEL STORAGE

Architecting High-Speed Data Streaming Systems. Sujit Basu

Virtualization of the MS Exchange Server Environment

Storage Class Memory and the data center of the future

LSI MegaRAID FastPath Performance Evaluation in a Web Server Environment

Performance Analysis of Flash Storage Devices and their Application in High Performance Computing

A Close Look at PCI Express SSDs. Shirish Jamthe Director of System Engineering Virident Systems, Inc. August 2011

Memory Channel Storage ( M C S ) Demystified. Jerome McFarland

Emerging storage and HPC technologies to accelerate big data analytics Jerome Gaysse JG Consulting

How To Get A Memory Memory Device From A Flash Flash To A Memory Card (Iomemory) For A Microsoft Flash Memory Card From A Microsable Memory Card For A Flash (Ios) For An Iomemories Memory

Boost Database Performance with the Cisco UCS Storage Accelerator

Configuring Apache Derby for Performance and Durability Olav Sandstå

MySQL performance in a cloud. Mark Callaghan

Intel RAID SSD Cache Controller RCS25ZB040

EMC XtremSF: Delivering Next Generation Performance for Oracle Database

Flash s Role in Big Data, Past Present, and Future OBJECTIVE ANALYSIS. Jim Handy

Maximizing SQL Server Virtualization Performance

Embedded Operating Systems in a Point of Sale Environment. White Paper

Data Center Solutions

HP 128 GB Solid State Drive (SSD) *Not available in all regions.

Flash In The Enterprise

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards

How To Build A Cloud Computing Datacenter

Transcription:

An Overview of Flash Storage for Databases Vadim Tkachenko Morgan Tocker http://percona.com MySQL CE Apr 2010

-2- Introduction Vadim Tkachenko Percona Inc, CTO and Lead of Development Morgan Tocker Percona Inc, Director of Training

-3- What is talk about Flash technologies Server usage not USB/digital camera flash cards FusionIO and Intel SSD Database (MySQL) application Flash changes performance landscape Talk gives basic background what to look into

-4- Revolutionary Change in technology From spinning to solid state No mechanical moving parts Jump in performance Requires changes in applications My prediction: in 5-10 years it will replace hard disks totally

-5- Physics behind floating gate transistors Non-volatile memory (more details) One state Single Level Cell (SLC) Faster, more reliable, more expensive Many states Multi Level Cell (MLC) Usually 4 states Slower, less reliable, cheaper

-6- Classification NOR Random read access ( bit granularity) Speed compared with DRAM Slow write and erase Firmware storage NAND (this talk about) Faster writes Only block-level read access ( 4K ) Idea is to compact many cells in limited space Make competition with Hard Disk Drives

-7- Erasing (NAND) Erase is to set all bits to 1111 Erasing process is similar to flash in photocameras there where name FLASH comes from Erase is slow, done in batch operation ( up to 1MB ) Change 1 -> 0 is fast Change 0 -> 1 is possible only by erasing 1 st write: 1111 -> 1110. Block marked as written 2 nd write: even 1110 -> 1010 is not possible Smart software could detect it

-8- Erase challenges Erase is slow You want to erase many blocks in single flash Block management When you write card never writes the same block Background process to run garbage collector

-9- Erasing lifetime SLC 100.000 times per cell (may vary) MLC 10.000 times per cell (may vary) Many cell and even distribution (wear leveling) make it couple years under heavy write load

-10- Write degradation Expected, steady state Graph for FusionIO 320GB MLC card

-11- Soft(firm)ware matters Complexity of erasing process make software logic really important

-12- FusionIO Intel SSD

-13- FusionIO

-14- FusionIO performance Data from specification: 160 GB SLC card 116K read IOS (4K) 26µs read latency 320 GB MLC card 71K read IOS 41µs read latency Lifetime: SLC flash @ 40% write duty 25 calendar years MLC flash @ 20% write duty 10 calendar years MLC flash @ 40% write duty 5 calendar years

-15- FusionIO overview Fast. Very fast. PCI-E, closest to CPU MLC / SLC / Duo Cards Transactional log durability Shares host memory / CPU Most complex part firmware Space reservation for heavy writes

-16- FusionIO drawbacks Expensive: 50$/GB (effective space) Requires 25% space reservation Regular DRAM 30-40$/GB 320 GB MLC PCIe iodrive $6,829.99 ( dell.com) PCI-E : not hot-swap PCI-E errors FusionIO takes care about it

-17- FusionIO - durability Cache is located in host system transactional log data cache write log FusionIO Crash recovery No data loss in case power / system failure

-18- FusionIO read performance 160GB SLC card 8 threads: 33K IOS ( 525MB/sec ), 0.28 ms 95% response time RAID10 is Dell Perc 6i RAID10 on 8 disks 2.5 15K RPM SAS

-19- FusionIO write performance 8 threads: 20K IOS (314MB/sec), 0.26 ms 95% response time

-20- FusionIO for database Many read / write threads to utilize full throughput MySQL is not able to load it fully XtraDB / InnoDB-plugin has multi-io threads InnoDB IO path has to be re-implemented

-21- Intel SSD

-22- Intel SSD SATA form factor Intel X25-M Gen I (50nm) & Gen II (35nm) MLC High-performance storage for notebook and desktop PCs - intel.com Intel X25-E (50nm) SLC Enterprise Extreme performance and reliability for servers, storage, and workstations. - intel.com

-23- X25-E 32GB / 64GB Throughput: 35K IOS reads, 3.5K IOS writes Latency: 75 µs reads, 85 µs writes 64 GB - $725.00 11$/GB Write Endurance: 1 petabyte of random writes (32 GB) 2 petabyte of random writes (64 GB) Roadmap: 128GB? Replace SLC->MLC?

-24- X25-M Gen II 80 GB / 160 GB Throughput: 35K IOS reads, 6.5 / 8.5K IOS writes Latency: 65 µs reads, 85 µs writes 160GB 500$ 3.12$ / GB Write Endurance Not mentioned in official specification

-25- X25-E challenges Write cache is not battery backup Loss of transactions Disabling write cache is performance hit No clear roadmap

-26- Benchmarks random read X25-E, 8 threads: 9K IOS (140 MB/s), 1.04 ms

-27- Random write 1 thread 5.6K IOS, 0.17ms 8 threads 2.5K IOS, 2.3ms

-28- Write cache

-29- X25 deployment Couple cards are giving problem RAID Software / hardware? Hardware throughput is limited to 4 cards Level 0? 1? 10? 5? 50? Engineering process could be complex and expensive Ready solutions: Schooner, Gear6, Cisco servers

-30- MySQL specific SSD is very good at random reads, good at random writes, not so good at sequential writes, compared to HDD http://yoshinorimatsunobu.blogspot.com/2009/05/tables-on-ssd-redobinlogsystem.html Data files SSD - Table files (*.ibd) - UNDO segments (ibdata) Log files RAID with BBU REDO log files (ib_logfile*) Binary log files (binlog.xxxxxx) Doublewrite buffer (ibdata) Insert buffer (ibdata) Slow query logs, error logs, general query logs, etc SSD Deployment Strategies for MySQL, 2:00pm Thursday, 04/15/2010 By Yoshinori Matsunobu (Sun Microsystems)

-31- Performance overview

-32- Tpcc-like benchmarks RAID10 7439.850 TPM / 4.8 TPM / $ SSD 10681.050 TPM / 27 TPM / $ FusionIO 17372.250 TPM / 3.6 TPM / $

-33- Others factors Consolidation factor Replace 2x-10x servers by one Power consumption

-34- Application directions Mutli-threaded IO Sequential / random separation Hierarchical (L2) cache Already available in ZFS / Veritas http://blogs.sun.com/brendan/entry/test L2ARC RAM SSD HDD

-35- Technologies to look FusionIO Seagate / LSI PCI card ( end 2010?) Couple more PCI-E based Intel / Samsung SSD Schooner MySQL appliance with performance customization for SSD Violin Memory Flash as RAM

-36- Thank you! Questions? vadim@percona.com morgan@percona.com