SDC 2015 - Host Managed SMR · © 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. SDC...
Transcript of SDC 2015 - Host Managed SMR · © 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. SDC...
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED.
SDC 2015 - Host Managed SMR
Albert Chen • Jim Malina • TK Kato
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 2
Shingled Magnetic Recording
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 3
Track Pitch
Track Pitch
Random Write
Random Read Sequential Write
Random Read
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 4
Abstraction Layers
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 5
Storage Stack File system ApplicationFirmware Driver
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 6 http://hselin.com/blog/2015/08/26/another-layer-of-indirection
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 7
For an in-depth presentation on how to handle host managed/aware SMR devices.
Wednesday 1:00 – 1:50
Strategies for Using Standard File systems on SMR Drives
Dr. Hannes Reinecke
SUSE
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 8
SMR Type Drive Managed Host Managed
Method Handle random writes Sequential write
Usage scenario Client Data center/Surveillance/24x7
Pros Plug & play More efficient data mgmt
Cons Higher drive complexity
Unpredictable performance
SW support required Not backwards
compatible
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 9
Faster drive development
Access to application & system level semantics
Predictable drive performance
Scale with host HW
Fewer Drive Resources
Easier to manage
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 10
Zone Block Command
+ Zone ATA Command --------------------------------- Host Managed SMR
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 11
WP
Partially filled SMR zoneWP
Partially filled SMR zone
Write
Write
Write
Write
Write
Read
Read
Read
Read
Fully filled SMR zone
Read
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 12
SMR Device Mapper
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 13
CMR Zone SMR Zone ... SMR ZoneSMR Zone SMR Zone
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 14
Acts as media-cache outside the drive with more robust resources available from the host
Write Log: “Media cache” for random writes consists of SMR and CMR zone(s)
Write Buffer: Descriptor for allocated data in Write Log
Backstore: SMR zones that makes up advertised capacity (subsumes Write Buffers during GC)
Write BufferWrite
Buffer
SMR Write Log[0...Y-1]
Write Buffer
Backstore (advertised capacity)CMR Write Log[0...X-1]
...CMR Zone 0 CMR Zone X ...SMR Zone 0 SMR Zone Y ...SMR Zone Y + 1 SMR Zone Z
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 15
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 16
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 17
SMR Write Log[0...Y-1] Backstore (advertised device capacity)CMR Write Log[0...X-1]
...CMR Zone 0 CMR Zone X ...SMR Zone 0 SMR Zone Y ...SMR Zone Y + 1 SMR Zone Z
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 18
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 19
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 21
Thanks!
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 22
One more thing…
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 23
SMR Simulator
https://github.com/westerndigitalcorporation/SMR-Simulator
Last month, WD released a SMR simulator to facilitate host-side software/file system development. SMR-Simulator is a simple tool that captures host software behavior and determines its “friendliness” to SMR technology. We hope SMR-Simulator will enable open source developers to experiment and become familiar with SMR functionalities and behaviors without the need to access real SMR (ZBC/ZAC) HW.
http://hselin.github.io/blog/2015/08/23/host-managed-smr-simulator
© 2013 WESTERN DIGITAL TECHNOLOGIES, INC. ALL RIGHTS RESERVED. 24
Contact us
Albert Chen [email protected] https://www.linkedin.com/in/alberthchen
Jim Malina [email protected] https://www.linkedin.com/in/jimmalina
Takeaki Kato [email protected] https://www.linkedin.com/pub/takeaki-kato/6/436/78