skip to main content
10.1145/2818302.2818308acmconferencesArticle/Chapter ViewAbstractPublication PagessospConference Proceedingsconference-collections
research-article
Public Access

Speculative region-based memory management for big data systems

Published:04 October 2015Publication History

ABSTRACT

Most real-world Big Data systems are written in managed languages. These systems suffer from severe memory problems due to the massive volumes of objects created to process input data. Allocating and deallocating a sea of objects puts a severe strain on the garbage collector, leading to excessive GC efforts and/or out-of-memory crashes. Region-based memory management has been recently shown to be effective to reduce GC costs for Big Data systems. However, all existing region-based techniques require significant user annotations, resulting in limited usefulness and practicality. This paper reports an ongoing project, aiming to design and implement a novel speculative region-based technique that requires only minimum user involvement. In our system, objects are allocated speculatively into their respective regions and promoted into the heap if needed. We develop an object promotion algorithm that scans regions for only a small number of times, which will hopefully lead to significantly improved memory management efficiency. We also present an OpenJDK-based implementation plan and an evaluation plan.

References

  1. Hadoop: Open-source implementation of MapReduce. http://hadoop.apache.org.Google ScholarGoogle Scholar
  2. B. Blanchet. Escape analysis for object-oriented languages. Applications to Java. In OOPSLA, pages 20--34, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. V. R. Borkar, M. J. Carey, R. Grover, N. Onose, and R. Vernica. Hyracks: A flexible and extensible foundation for data-intensive computing. In ICDE, pages 1151--1162, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Y. Bu, V. Borkar, G. Xu, and M. J. Carey. A bloat-aware design for big data applications. In ISMM, pages 119--130, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. Choi, M. Gupta, M. Serrano, V. Sreedhar, and S. Midkiff. Escape analysis for Java. In OOPSLA, pages 1--19, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. Dolby and A. Chien. An automatic object inlining optimization and its evaluation. In PLDI, pages 345--357, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. L. Fang, K. Nguyen, G. Xu, B. Demsky, and S. Lu. Interruptible tasks: Treating memory pressure as interrupts for highly scalable data-parallel programs. In SOSP, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. D. Gay and A. Aiken. Memory management with explicit regions. In PLDI, pages 313--323, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. D. Gay and A. Aiken. Language support for regions. In PLDI, pages 70--80, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. I. Gog, J. Giceva, M. Schwarzkopf, K. Vaswani, D. Vytiniotis, G. Ramalingam, M. Costa, D. G. Murray, S. Hand, and M. Isard. Broom: Sweeping out garbage collection from big data systems. In HotOS, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. A. Kyrola, G. Blelloch, and C. Guestrin. GraphChi: Large-Scale Graph Computation on Just a PC. In OSDI, pages 31--46, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. O. Lhotak and L. Hendren. Run-time evaluation of opportunities for object inlining in Java. Concurrency and Computation: Practice and Experience, 17(5-6):515--537, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. D. G. Murray, F. McSherry, R. Isaacs, M. Isard, P. Barham, and M. Abadi. Naiad: A timely dataflow system. In SOSP, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. K. Nguyen, K. Wang, Y. Bu, L. Fang, J. Hu, and G. Xu. Facade: A compiler and runtime for (almost) object-bounded big data applications. In ASPLOS, pages 675--690, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Y. Shuf, M. Gupta, R. Bordawekar, and J. P. Singh. Exploiting prolific types for memory management and optimizations. In POPL, pages 295--306, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. Xu. Resurrector: A tunable object lifetime profiling technique for optimizing real-world programs. In OOPSLA, pages 111--130, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Zaharia, M. Chowdhury, M. J. Franklin, S. Shenker, and I. Stoica. Spark: Cluster computing with working sets. HotCloud, page 10, Berkeley, CA, USA, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Speculative region-based memory management for big data systems

      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
        PLOS '15: Proceedings of the 8th Workshop on Programming Languages and Operating Systems
        October 2015
        50 pages
        ISBN:9781450339421
        DOI:10.1145/2818302
        • Program Chair:
        • Shan Lu

        Copyright © 2015 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: 4 October 2015

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        PLOS '15 Paper Acceptance Rate7of16submissions,44%Overall Acceptance Rate17of32submissions,53%

        Upcoming Conference

        SOSP '24

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader