47
Everything You Wanted To Know About Storage: Part Teal—The Buffering Pod February 14, 2017 Dave Minturn, Intel Mark Rogov, Dell EMC Rob Davis, Mellanox John Kim, Mellanox

Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

Everything You Wanted To Know About Storage: Part Teal—The Buffering Pod

February 14, 2017

Dave Minturn, Intel Mark Rogov, Dell EMC Rob Davis, Mellanox John Kim, Mellanox

Page 2: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

SNIA Legal Notice

  The material contained in this presentation is copyrighted by the SNIA unless otherwise noted.

  Member companies and individual members may use this material in presentations and literature under the following conditions:

  Any slide or slides used must be reproduced in their entirety without modification   The SNIA must be acknowledged as the source of any material used in the body of any document containing material

from these presentations.   This presentation is a project of the SNIA.   Neither the author nor the presenter is an attorney and nothing in this presentation is intended

to be, or should be construed as legal advice or an opinion of counsel. If you need legal advice or a legal opinion please contact your attorney.

  The information presented herein represents the author's personal opinion and current understanding of the relevant issues involved. The author, the presenter, and the SNIA do not assume any responsibility or liability for damages arising out of any reliance on or use of this information. NO WARRANTIES, EXPRESS OR IMPLIED. USE AT YOUR OWN RISK.

2

Page 3: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

SNIA at a glance

3

160 unique member

companies

3,500 active contributing

members

50,000 IT end users & storage

pros worldwide

Learn more: snia.org/technical @SNIA

Page 4: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Today’s Presenters

4

Rob Davis Mellanox

John Kim Mellanox

David Minturn Intel

Mark Rogov Dell EMC

Page 5: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Today’s Agenda

  Queuing   Buffering   Caching   Flow Control

5

Page 6: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

QUEUING David Minturn

Intel

Page 7: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Definitions- Queue Depth

7

IO Operation (aka “IOP”) Storage operation issued by a host (initiator) to a storage device/system (target) Example: Host issues a READ Operation of 100 blocks from a storage device

IO Queue A queue which holds one or more outstanding IO Operations

IO Queue Depth Maximum number of outstanding IO Operations that the IO Queue can hold

Page 8: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

IO Queue Depth Example

8

  Example: IO Queue with a IO Queue Depth of three

Page 9: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

IO Queue Depth Considerations (Storage Device Performance)   Larger Queue Depth allows IO Operations to be serviced in parallel

or batched resulting in higher total IOPS and bandwidth

Example Results: @Queue Depth =1; IOPS are 10K (1/100usec) @Queue Depth =3; IOPS are 25K (3/120usec)

9

Page 10: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

IO Queue Depth Considerations (End to End Queue Depth)

10

  Host systems typically have multiple Autonomous Processes simultaneously issuing IO Operations (Application Queue Depth)

  Host O/S storage stacks have internal queues to accommodate oversubscribed Storage Device IO Queues (O/S Stack Queue Depth)

Queue Depth must be looked at End to End; App->O/S->Storage Device->Media

Page 11: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

IO Queue Depth Considerations (Multiple IO Queues)

  Modern Storage Devices use a multi IO queue model for efficiency, typically one IO Queue per host CPU

  Effective Storage Device IO Queue Depth equals: # of IO Queues * individual IOQ Depth

11

Page 12: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved. 12

  Memory buffers (termed Transfer Buffers) are used to exchange IO Operation data between the Host System and Storage Device

  Transfer buffer resources are committed until the IO Operation completes   Resources may be large; example 64K IO requires 64K of memory

IO Queue Memory = IO Queue Depth * size of (IOP Descriptor + Transfer Buffer)

IO Queue Depth Considerations (Memory Usage)

Page 13: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

CACHE @RogovMark

Dell EMC

Page 14: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Cache in the US

14

Cache

Cache

Cache

Page 15: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Definition

Cache (aka Cache Memory) /ˈkaSH/   An auxiliary memory from which high-speed retrieval is possible

15

Page 16: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Buffer

16

BUFFER

Use once and throw it away + allows blocks re-arranging

Page 17: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Cache Cache implies multiple use of blocks

17

BUFFERS CACHE

Page 18: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Reads with Cache Read Hit: First reason for Caches to exist

18

A

REQUEST

REPLY

CACHE

Page 19: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Reads with Cache Read Miss

19

CACHE

READ FROM DISK

REQUEST

REPLY

A

Page 20: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Writes with Cache Write-through: Write data to Cache and Disk, then confirm completion

20

WRITE

WRITE

ACK

A

A

CACHE

Page 21: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Writes with Cache Write-around: Bypass cache

21

WRITE

ACK A

CACHE

Page 22: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Writes with Cache Write-back: Write data to Cache and confirm completion; write to disk later

22

WRITE

WRITE LATER ACK

A

A

CACHE

Page 23: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Performance in a File Oriented World

23

0

5

10

15

20

25

20,0

00

40,0

00

60,0

00

80,0

00

100,

000

120,

000

140,

000

160,

000

180,

000

200,

000

220,

000

240,

000

260,

000

280,

000

300,

000

320,

000

340,

000

360,

000

380,

000

400,

000

420,

000

440,

000

460,

000

480,

000

500,

000

520,

000

540,

000

Seco

nds

to C

ompl

ete

Files In Directory

Listing the contents of a directory

Y

X

Page 24: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Performance in a File Oriented World

24

0

5

10

15

20

25

20,0

00

40,0

00

60,0

00

80,0

00

100,

000

120,

000

140,

000

160,

000

180,

000

200,

000

220,

000

240,

000

260,

000

280,

000

300,

000

320,

000

340,

000

360,

000

380,

000

400,

000

420,

000

440,

000

460,

000

480,

000

500,

000

520,

000

540,

000

Seco

nds

to C

ompl

ete

Files In Directory

Listing the contents of a directory

“Uncached ‘ls’” had a USB unmount just prior to the ‘ls’ command execution

cached ‘ls’

uncached ‘ls’

Page 25: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Answer To Ken’s Interview Question

25

CLIENTS / HOSTS

STORAGE CONTROLLER

PHYSICAL STORAGE

FRONT-END CONNECT

BACK-END CONNECT

CACHE

IO IO

Page 26: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

FLOW CONTROL

26

Rob Davis Mellanox

Page 27: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

What is Flow Control?

  Flow control is a mechanism for temporarily stopping the transmission of data on computer network to avoid buffer overflows

27

Page 28: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

What is Flow Control?

28

No Flow Control

Page 29: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

What is Flow Control?

29

No Flow Control Flow Control

Page 30: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Buffers are Everywhere

30

switch switch

node node

All computer networking devices have some buffers to facilitate speed matching

Page 31: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Buffers are Everywhere

31

switch switch

node node

But these buffers seem to never be big enough.

Page 32: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Buffers are Everywhere

32

switch switch

node node

Buffer Overflow This can lead to a Buffer Overflow resulting in Data Packet Drops forcing error recovery delays.

Page 33: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Buffer Overflows are Bad…

33

Page 34: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Why Do Overflows Happen

34

25Gb

Buffer Overflows happen when more data is coming into a networking device then is going out.

Data 10Gb

Page 35: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Flow Control Prevents Overflows

35

25Gb 10Gb

Data 10Gb

IEEE 802.3x standard defines a flow control mechanism for Ethernet called the pause frame.

Page 36: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Flow Control Prevents Overflows

36

25Gb

Threshold

10Gb

When the data in a buffer gets to a certain level the pause frame is sent causing the upstream device to stop sending data for a specified amount of time.

10Gb

Data 10Gb

Page 37: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Fibre Channel and InfiniBand

37

ANSI INCITS T11 IBTA

With credit based flow control the sending device knows how much buffer space the receiving device has eliminating buffer overflows.

Page 38: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Explicit Congestion Notification

38

Slow/Fast Slow/Fast Slow/Fast

Slow/Fast

Slow/Fast

Explicit Congestion Notification (ECN) slows down a explicit device’s data rate that is believed to be overflowing another devices buffer.

Page 39: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Explicit Congestion Notification

39

The data rate of the device slowed down then increases in increments over time based on preset parameters.

RFC 3168 - Explicit Congestion Notification (ECN)

Page 40: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Priority Flow Control

40

Page 41: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Priority Flow Control

41

Page 42: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Priority Flow Control

42

802.1Qbb - Priority-based Flow Control Priority Flow Control (PFC) is similar to 802.3x Pause, except eight priority levels are added. When the data in any of the eight buffers gets to a certain level a pause is sent causing the upstream device to stop sending data only for that priority level for a specified amount of time.

Page 43: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Overall Summary

  Queues Line Up Work Processes or Requests   Buffers absorb traffic bursts and smooth out data flow   Caches store data closer to the user to accelerate access   Flow Control Modules the Rate of Data or Requests to prevent buffer overflow

43

Page 44: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Other Storage Terms Got Your Pride? This is a Series!

  Register today for the Rosé (iSCSI Pod) – March 2, 2017, 10:00 am PT https://www.brighttalk.com/webcast/663/244049

  Check out previously recorded webcasts:   Chartreuse https://www.brighttalk.com/webcast/663/215131

  The Basics: Initiator, Target, Storage Controller, RAID. Volume Manager and more   Mauve https://www.brighttalk.com/webcast/663/225777

  Architecture: Channel vs. Bus, Control Plane vs. Data Plane, Fabric vs. Network   Future Topics/Colors (in no particular order):   Vermillion (What-If-Programming-and-Networking-Had-A-Baby Pod)

  Coherence/Cache Coherence, Storage APIs, Block, File, Object, Byte Addressable, Logical Block Addressing

  Turquoise (Where-Does-My-Data-Go Pod)   Volatile v. Non-Volatile v Persistent Memory, NVDIMM v. RAM v. DRAM v. SLC v. MLC v.

TLC v. NAND v. 3D NAND v. Flash v SSDs v. NVMe, NVMe (the protocol)   More…

44

Page 45: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

Speaking of Series…Check out Storage Performance Benchmarking

  Storage Performance Benchmarking: 1.  Introduction and Fundamentals 2.  Solution under Test 3.  Block Components 4.  File Components

Watch them all on-demand at: http://www.snia.org/forums/esf/knowledge/webcasts-topics

45

Page 46: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

© 2017 Storage Networking Industry Association. All Rights Reserved.

After This Webcast

  Please rate this webcast and provide us with feedback   This webcast and a PDF of the slides will be posted to the SNIA

Ethernet Storage Forum (ESF) website and available on-demand www.snia.org/forums/esf/knowledge/webcasts

  A full Q&A from this webcast, including answers to questions we couldn't get to today, will be posted to the SNIA-ESF blog: sniaesfblog.org

  Follow us on Twitter @SNIAESF   Need help with all these terms? Download the 2016 SNIA Dictionary

http://www.snia.org/education/dictionary 46

Page 47: Everything You Wanted To Know About Storage: Part …This presentation is a project of the SNIA. Neither the author nor the presenter is an attorney and nothing in this presentation

Thank You!