skip to main content
10.1145/2168836.2168863acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article

FlashTier: a lightweight, consistent and durable storage cache

Published:10 April 2012Publication History

ABSTRACT

The availability of high-speed solid-state storage has introduced a new tier into the storage hierarchy. Low-latency and high-IOPS solid-state drives (SSDs) cache data in front of high-capacity disks. However, most existing SSDs are designed to be a drop-in disk replacement, and hence are mismatched for use as a cache.

This paper describes FlashTier, a system architecture built upon solid-state cache (SSC), a flash device with an interface designed for caching. Management software at the operating system block layer directs caching. The FlashTier design addresses three limitations of using traditional SSDs for caching. First, FlashTier provides a unified logical address space to reduce the cost of cache block management within both the OS and the SSD. Second, FlashTier provides cache consistency guarantees allowing the cached data to be used following a crash. Finally, FlashTier leverages cache behavior to silently evict data blocks during garbage collection to improve performance of the SSC.

We have implemented an SSC simulator and a cache manager in Linux. In trace-based experiments, we show that FlashTier reduces address translation space by 60% and silent eviction improves performance by up to 167%. Furthermore, FlashTier can recover from the crash of a 100GB cache in only 2.4 seconds.

References

  1. N. Agrawal, V. Prabhakaran, T. Wobber, J. Davis, M. Manasse, and R. Panigrahy. Design tradeoffs for ssd performance. In USENIX, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Agrawal, L. Arulraj, A. C. Arpaci-Dusseau, and R. H. Arpaci-Dusseau. Emulating Goliath storage systems with David. In FAST, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. T. Archer. MSDN Blog: Microsoft ReadyBoost., 2006. http://blogs.msdn.com/tomarcher/archive/2006/06/02/615199.aspx.Google ScholarGoogle Scholar
  4. T. Bisson. Reducing hybrid disk write latency with flash-backed io requests. In MASCOTS, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Byan, J. Lentini, L. Pabon, C. Small, and M. W. Storer. Mercury: host-side flash caching for the datacenter. In FAST Poster, 2011.Google ScholarGoogle Scholar
  6. F. Chen, T. Luo, and X. Zhang. CAFTL: A content-aware flash translation layer enhancing the lifespan of flash memory based solid state drives. In FAST, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. J. Corbet. Barriers and journaling filesystems, May 2008. http://lwn.net/Articles/283161/.Google ScholarGoogle Scholar
  8. S. Doyle and A. Narayan. Enterprise solid state drive endurance. In Intel IDF, 2010.Google ScholarGoogle Scholar
  9. EMC. Fully Automated Storage Tiering (FAST) Cache. http://www.emc.com/about/glossary/fast-cache.htm.Google ScholarGoogle Scholar
  10. Facebook Inc. Facebook FlashCache. https://github.com/facebook/flashcache.Google ScholarGoogle Scholar
  11. FusionIO Inc. ioXtreme PCI-e SSD Datasheet. http://www.fusionio.com/ioxtreme/PDFs/ioXtremeDS_v.9.pdf.Google ScholarGoogle Scholar
  12. FusionIO Inc. directCache. http://www.fusionio.com/data-sheets/directcache.Google ScholarGoogle Scholar
  13. Google Inc. Google Sparse Hash. http://goog-sparsehash.sourceforge.net.Google ScholarGoogle Scholar
  14. B. Gregg. Sun Blog: Solaris L2ARC Cache., July 2008. http://blogs.sun.com/brendan/entry/test.Google ScholarGoogle Scholar
  15. J. Guerra, H. Pucha, J. Glider, W. Belluomini, and R. Rangaswami. Cost effective storage using extent based dynamic tiering. In FAST, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Gupta, Y. Kim, and B. Urgaonkar. DFTL: a flash translation layer employing demand-based selective caching of page-level address mappings. In ASPLOS, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Helland, H. Sammer, J. Lyon, R. Carr, and P. Garrett. Group commit timers and high-volume transaction systems. In Tandem TR 88.1, 1988.Google ScholarGoogle Scholar
  18. }url:intel300ssdIntel Corp. Intel 300 series SSD. http://ark.intel.com/products/family/56542/Intel-SSD-300-Family.Google ScholarGoogle Scholar
  19. Intel Corp. Understanding the flash translation layer (ftl) specification, Dec. 1998. Application Note AP-684.Google ScholarGoogle Scholar
  20. Intel Corp. Intel Smart Response Technology. http://download.intel.com/design/flash/nand/325554.pdf, 2011.Google ScholarGoogle Scholar
  21. W. K. Josephson, L. A. Bongo, D. Flynn, and K. Li. DFS: a file system for virtualized flash storage. In FAST, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. T. Kgil and T. N. Mudge. Flashcache: A nand flash memory file cache for low power web servers. In CASES, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Y. Kim, B. Tauras, A. Gupta, and B. Urgaonkar. FlashSim: A simulator for nand flash-based solid-state drives. Advances in System Simulation, International Conference on, 0: 125--131, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. R. Koller and R. Rangaswami. I/O deduplication: Utilizing content similarity to improve I/O performance. In FAST, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. S.-W. Lee, D.-J. Park, T.-S. Chung, D.-H. Lee, S. Park, and H.-J. Song. A log buffer-based flash translation layer using fully-associative sector translation. ACM Trans. Embed. Comput. Syst, 6 (3), July 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. M. Mesnier, J. B. Akers, F. Chen, and T. Luo. Differentiated storage services. In SOSP, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. D. Narayanan, A. Donnelly, and A. Rowstron. Write Off-loading: Practical power management for enterprise storage. In FAST, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. D. Nellans, M. Zappe, J. Axboe, and D. Flynn. ptrim() + exists(): Exposing new FTL primitives to applications. In NVMW, 2011.Google ScholarGoogle Scholar
  29. NetApp Inc. Flash Cache for Enterprise. http://www.netapp.com/us/products/storage-systems/flash-cache.Google ScholarGoogle Scholar
  30. OCZ Technologies. Synapse Cache SSD. http://www.ocztechnology.com/ocz-synapse-cache-sata-iii-2-5-ssd.html.Google ScholarGoogle Scholar
  31. OCZ Technologies. Vertex 3 SSD. http://www.ocztechnology.com/ocz-vertex-3-sata-iii-2-5-ssd.html.Google ScholarGoogle Scholar
  32. Oracle Corp. Oracle Database Smart Flash Cache. http://www.oracle.com/technetwork/articles/systems-hardware-architecture/oracle-db-smart-flash-cache-175588.pdf.Google ScholarGoogle Scholar
  33. X. Ouyang, D. Nellans, R. Wipfel, D. Flynn, and D.K.Panda. Beyond block i/o: Rethinking traditional storage primitives. In HPCA, pages 301--311, feb. 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. V. Prabhakaran, T. Rodeheffer, and L. Zhou. Transactional flash. In OSDI, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. D. Roberts, T. Kgil, and T. Mudge. Integrating NAND flash devices onto servers. CACM, 52 (4): 98--106, Apr. 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. Ryan Mack. Building Facebook Timeline: Scaling up to hold your life story. http://www.facebook.com/note.php?note_id=10150468255628920.Google ScholarGoogle Scholar
  37. M. Saxena and M. M. Swift. FlashVM: Virtual Memory Management on Flash. In Usenix ATC, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  38. T. M. Wong and J. Wilkes. My cache or yours? Making storage more exclusive. In Usenix ATC, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  39. M. Wu and W. Zwaenepoel. eNVy: A non-volatile, main memory storage system. In ASPLOS-VI, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. G. Yadgar, M. Factor, and A. Schuster. Karma: Know-it-all replacement for a multilevel cache. In FAST, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  41. Y. Zhang, L. P. Arulraj, A. Arpaci-Dusseau, and R. Arpaci-Dusseau. De-indirection for flash-based ssds with nameless writes. In FAST, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. FlashTier: a lightweight, consistent and durable storage cache

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Conferences
                EuroSys '12: Proceedings of the 7th ACM european conference on Computer Systems
                April 2012
                394 pages
                ISBN:9781450312233
                DOI:10.1145/2168836

                Copyright © 2012 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 10 April 2012

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • research-article

                Acceptance Rates

                Overall Acceptance Rate241of1,308submissions,18%

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader