Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference....

18
Dual-Mode SSD Architecture for Next- Generation Hyperscale Data Centers Feng Zhu Alibaba Group

Transcript of Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference....

Page 1: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 1

Dual-Mode SSD Architecture for Next-Generation Hyperscale Data Centers

Feng ZhuAlibaba Group

Page 2: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2

Challenges of hyperscale data centers

Diversified, fast-changing workloads Continuous pressure for TCO and

supply improvement Demand for “white box” of I/O path -

more control and determinism Quick response to issues and feature

requests Demand for hardware/software co-

optimization

Performance

Flexibility

TCOWhite Box

Service

Page 3: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 3

AliFlash_Alibaba’s self-developed SSDs

AliFlash V1

• High performance PCIe SSD

• Host based FTL. Control on SW/HW

• >20k devices serving in Alibaba data centers

AliFlash V2

• NVMe U.2 SSD

• Customization for applications

• Cost down by 20%

AliFlash V3

• Dual-mode SSD with open channel

• Deep optimization for applications

• Being productized

2016 2017 2018

Page 4: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 4

First Productionized Open Channel SSD

Alibaba’s self-developed Open Channel SSD - AliFlash V3

Deployment ongoing in Alibaba data centers Major milestone since the announcement of

Alibaba’s Open Channel SSD Architecture in FAST’2018

Collaborating with multiple SSD vendors to build an ecosystem

Page 5: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 5

Why open channel New SSD architecture for next-generation

data centers Enable hardware/software co-optimization Maximum flexibility for different workloads

Generic block device Customized FTL Deep integration with applications

Reduce time & complexity of SSD qualification

New media ready: QLC NAND, 3D X-point, SCM, ...

Alibaba Open Channel SSD Platform

Alibaba Open Channel SSD Specification

Alibaba Open Channel SSD (AOC SSD)

Fusion Engine Software

Application 3Application 2Application 1

Open Channel Mode Device Mode

Page 6: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 6

Alibaba Open Channel Architecture

Open Channel mode Direct access to the physical

media, and max utilization of the media capability

Fully control of the data placement and I/O scheduling

FTL/GC customization based on application I/O pattern -> reduced WA

Page 7: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 7

Customization for Alibaba data centers

Applications

Requirement analysis

SW/HW co-design

SW/HW co-optimization

In-house developed

storage solutions

© 2017 Alibaba Group

Page 8: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 8

Alibaba Open Channel SSD Software

Host-side software stack developed by Alibaba Kernel-space AOC SSD Driver + Block Device FTL User-space AOC SSD Driver integrated with Alibaba’s

Fusion Engine software User-space customized FTL solutions Management, monitoring and test tools

Page 9: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 9

Kernel-space AOC SSD Solution

Work like generic block device Covers most of the legacy use

cases Equivalent performance and

functionality as standard NVMe SSD Customized improvements and

extensions (e.g. scheduling & QoS)

Fusion Engine

Alibaba Open Channel SSD

User Space File System

AIO

Application

AOC SSD Kernel-Space Driver & FTL

Page 10: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 10

User-space AOC SSD Solution

Entire I/O path in user space - low software overhead

Deep integration with application - full benefits from hardware/software co-optimization

Optimize data placement, coordinated background tasks (garbage collection)

Customized FTL solutions (e.g. Object SSD)

Fusion Engine

AOC SSD User Space Driver

Application

Alibaba Open Channel SSD

AOC SSD User Space FTL Solutions

User Space File System

User Space KV Engine

Page 11: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 11

Object SSD

Designed for append-only write scenario from Pangu chunk server

Reduce WA significantly and enhance SSD lifetime

Improve performance uniformity and QoS ~5X

Page 12: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 12

QoS and I/O scheduling

Open channel opens the door for precise I/O scheduling from host side

Page 13: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 13

QoS improvements

0.0%

20.0%

40.0%

60.0%

80.0%

100.0%

average latency 99% latency

Read only

baseline AliFlash V3

0.0%

20.0%

40.0%

60.0%

80.0%

100.0%

average readlatency

99%read latency average writelatency

R/W mix

baseline AliFlash V3

-75%

-83%

-81%-49%

-99%

Page 14: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 14

Current Status of Alibaba Open Channel SSD

Alibaba Open Channel SSD (AliFlash V3) is already being deployed in datacenter

Massive deployment of AOC SSDs in 1H’2019

Page 15: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 15

Alibaba Open Channel Ecosystem

As Alibaba’s strategic partner on Open Channel SSDs, Intel has worked with Alibaba extensively since 2017 to co-develop and co-validate this innovative solution. Alibaba’s strength as a leading cloud service provider combined with Intel’s strength as the leading memory and storage innovator puts us in a position to deliver the industry’s 1st Open Channel SSD product.

Alibaba is collaborating with major vendors in industry to build an ecosystem for Open Channel SSD

Share development & debug resources

Reduce time & complexity for SSD qualification in Alibaba

Massive deployment in 2019

Page 16: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 16

Future work

Multi-streams NVMe set Further I/O scheduling and QoS

optimization Low latency/high endurance solution QLC 3D X-point ...

Page 17: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 17

Perspective

user mode customization HW/SW co-design

Alibaba is focusing on the innovation of storage solution for next generation hyperscale data center applications

The collaboration are always welcome!

Page 18: Dual-Mode SSD Architecture for Next- Generation Hyperscale ......2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 2 Challenges of hyperscale data centers Diversified,

2018 Storage Developer Conference. © Alibaba Group. All Rights Reserved. 18

Conclusion Remarks

Hyperscale data centers face unique challenges Hardware/software integrated solution is the key Customized designs driven by applications Alibaba is open to industry collaboration