1 / 40

Enterprise Application of SSD 曹庆玲 qingling1220@sina

Enterprise Application of SSD 曹庆玲 qingling1220@sina.com. Towards SSD-Ready Enterprise Platforms Building Large Storage Based On Flash Disks. Towards SSD-Ready Enterprise Platforms Building Large Storage Based On Flash Disks. Outline. Motivation Platform and methodology

aliza
Télécharger la présentation

Enterprise Application of SSD 曹庆玲 qingling1220@sina

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enterprise Application of SSD • 曹庆玲 • qingling1220@sina.com

  2. Towards SSD-Ready Enterprise Platforms • Building Large Storage Based On Flash Disks

  3. Towards SSD-Ready Enterprise Platforms • Building Large Storage Based On Flash Disks

  4. Outline • Motivation • Platform and methodology • Platform bottleneck analysis Platform latency bottlenecks I/O processing bottlenecks Performance scaling bottlenecks • Conclusion

  5. Motivation • SSD deliver 2-3 orders of magnitude increase in IOPS over HDD • Platform have long been optimized for HDD • Is it ready for SSD?

  6. Platform and methodology

  7. Platform and methodology

  8. Platform and methodology Use Linux* as a reference OS for experiment Focus on fixed-size 4KB random reads . Random read to avoid I/O merging policies and if the platform ready for read , then it must be ready for write.

  9. Platform bottleneck analysis • Platform latency bottlenecks—determine component dominates I/O latency • I/O processing bottlenecks—determine software contribute the most CPU overhead for I/O processing • Performance scaling bottlenecks—determine component limits scaling of performance

  10. Platform bottleneck analysis —Platform latency Total I/O latency is the time from application issue an I/O to the time it receives completion. Time due to media Time due to platform

  11. Platform bottleneck analysis —Platform latency The platform only contribute 26% of the total latency. Optimizing the media is necessary.

  12. Platform bottleneck analysis —I/O processing cost 35000

  13. Platform bottleneck analysis —I/O processing cost • ahci_interrupt() and ahci_scr_read() executed uncacheable (UC) reads. The UC reads incurred averaging 2,100 clocks per UC read. Device interfaces that adopt message signaled interrupts (MSI),and the added intelligence to push status to drivers , can eliminate such UC reads. Can reduce overhead about 8,400 clocks/IO.

  14. Platform bottleneck analysis —I/O processing cost • I/O processing when done through an MSI-based interface like LSI’s, incurred 25,000 clocks/IO

  15. Platform bottleneck analysis —I/O processing cost • The LSI’s driver return path (5250 clocks/IO) is still substantial. It can be reduced by employing interrupt coalescing. Then only 650 clocks remain in the driver return path, resulting in about 20,000 clocks/IO.

  16. Platform bottleneck analysis —Performance scaling Ensure that I/O processing scales with cores and SSDs. The single core with 3 SSDs is fully saturated,more cores are required.

  17. Platform bottleneck analysis —Performance scaling One adapter enable 177K IOPS. With more throughput scaled up to 445K IOPS.

  18. Conclusion • Existing platforms to be ready for SSDs. • Scalability of file system • I/O behavior of real application • Implementation of RAID

  19. Towards SSD-Ready Enterprise Platforms • Building Large Storage Based On Flash Disks

  20. Outline • Introduction • SSD RAID configuration • Scalability • Solution alternatives • Conclusion

  21. RAID0 Input data stream Input data RAID controller parallel SSD1 SSD2 SSD3 SSD4 SSD5

  22. RAID1 Input data stream RAID controller Parallel Work disk Mirror disk SSD1 SSD2 SSD3 SSD4 Group 1 Group 2

  23. RAID Levels — RAID 10 Two RAID 1’s Striped

  24. RAID5 Input data stream Input data RAID controller parity parity parity parity

  25. Introduction SSD RAID shows the performance loss.

  26. Test setup and workload Test setup: • 16 core server with 64GB RAM • 3 RAID controllers with 512MB cache • Intel 64GB SSD Workloads: • Workload light – one worker,32 queue; • Workload heavy – ten worker,queue depth 16; • Workload latency – single request,one worker, queue depth 1.

  27. SSD RAID Configurations —throughput(workload heavy) RAID 0,5,10 With 8 SSDs on a single controller

  28. SSD RAID Configurations —throughput(workload heavy) RAID 0,5,10 With 8 SSDs on a single controller

  29. SSD RAID Configurations—throughput(workload light) Volume=240GB Show single SSD data for comparison

  30. SSD RAID Configurations—throughput(workload light) Volume=240GB Show single SSD data for comparison saturate

  31. Scalability Experiment data above indicate: Exist a bottleneck along the IO chain Is it RAID controller or PCIe bus?

  32. Scalability With the best throughput,the utilization PCIe bus is less than 50%. RAID controller is the bottleneck.

  33. Scalability Two SSDs are enough to saturate the controller!

  34. Scalability With read-ahead With write cache

  35. Scalability Without write cache

  36. Solution alternatives Combination of hardware and software. A. Without controller. Devices connect directly with software RAID on top B. Use controller just as simple device aggregator while running software RAID on top C. Use simple RAID level on multiple RAID controller while running software on top

  37. Solution alternatives Compare option A and B RAID with 2 SSDs

  38. Solution alternatives Compare option B and C Second controller have a profound effect on performance.

  39. conclusions • Software RAID-approaches • Multiple blocksize • RAID controllers are not designed for the characteristic of SSD

  40. Thank you~

More Related