Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/286860.286864acmconferencesArticle/Chapter ViewAbstractPublication PagesismmConference Proceedingsconference-collections
Article
Free access

The memory fragmentation problem: solved?

Published: 01 October 1998 Publication History

Abstract

We show that for 8 real and varied C and C++ programs, several conventional dynamic storage allocators provide near-zero fragmentation, once we account for overheads due to implementation details such as headers, alignment, etc. This substantially strengthens our previous results showing that the memory fragmentation problem has generally been misunderstood, and that good allocator policies can provide good memory usage for most programs. The new results indicate that for most programs, excellent allocator policies are readily available, and efficiency of implementation is the major challenge. While we believe that our experimental results are state-of-the-art and our methodology is superior to most previous work, more work should be done to identify and study unusual problematic program behaviors not represented in our sample.

References

[1]
Randal E. Bryant, Derek Beatty, Karl Brace, Kyeongsoon Cho, and Thomas Sheffler. Cosmos: A compiled simulator for MOS circuits. In 25 Years of Electronic Design Automation, pages 496-503, New York, New York, 1988. ACM Press.
[2]
Derek L. Beatty, 1997. Personal communication.
[3]
G.O. Collins. Experience in automatic storage allocation. Communications of the A CM, 4(10):436--440, October 1961.
[4]
John L. Hennessy David A. Patterson. Computer Architecture: A Quantitative Approach. Morgan Kaufmann, 1996. 2nd Edition.
[5]
David Detlefs, A1 Dosser, and Benjamin Zorn. Memory allocation costs in large C and C++ programs. Technical Report CU-CS-665-93, University of Colorado at Boulder, Dept. of Computer Science, Boulder, Colorado, August 1993.
[6]
Philip J. Fleming and John J. Wallace. How not to lie with statistics: the correct way to summarize benchmark results. Communications of the A CM, 29(3), March 1986.
[7]
David R. Hanson. Fast allocation and deallocation of memory based on object lifetimes. Software Practice and Experience, 20(1), January 1990.
[8]
Mark S. Johnstone. Non-Compacting Memory Allocation and Real-Time Garbage Collection. PhD thesis, The University of Texas at Austin, Austin, Texas, December 1997.
[9]
Kenneth C. Knowlton. A fast storage allocator. Communications of the ACM, 8(10):623- 625, October 1965.
[10]
Donald E. Knuth. The Art of Computer Programming, volume 1: Fundamental Algorithms. Addison-Wesley, Reading, Massachusetts, 1973. First edition published in 1968.
[11]
Doug Lea. Implementations of malloc. See also the short paper on the implementation of this allocator. Available at http : //g. oswego. edu.
[12]
Ivor E Page and Jeff Hagins. Improving the performance of buddy systems. IEEE Transactions on Computers, C-35(5):441-447, May 1986.
[13]
J.L. Peterson and T. A. Norman. Buddy systems. Communications of the ACM, 20(6):421- 431, June 1977.
[14]
Thomas Standish. Data Structure Techniques. Addison-Wesley, Reading, Massachusetts, I980.
[15]
C.J. Stephenson. Fast fits: New methods for dynamic storage allocation. In Proceedings of the Ninth Symposium on Operating Systems Principles, pages 30-32, Bretton Woods, New Hampshire, October 1983. ACM Press. Published as Operating Systems Review 17(5), October 1983.
[16]
David S. Wise. The double buddy-system. Technical Report 79, Computer Science Department, indiana University, Bloomington, Indiana, December 1978.
[17]
Paul R. Wilson, Mark S. Johnstone, Michael Neely, and David Boles. Dynamic storage allocation: A survey and critical review. In 1995 International Workshop on Memory Management, Kinross, Scotland, UK, 1995. Springer Verlag LNCS.
[18]
Benjamin Zorn and Dirk Grunwald. Empirical measurements of six allocation-intensive C programs. Technical Report CU-CS-604-92, University of Colorado at Boulder, Dept. of Computer Science, Boulder, Colorado, July 1992.
[19]
Benjamin Zorn. The measured cost of conservative garbage collection. Software--Practice and Experience, 23(7):733-756, July 1993.

Cited By

View all
  • (2024)PMAlloc: A Holistic Approach to Improving Persistent Memory AllocationACM Transactions on Computer Systems10.1145/364388642:3-4(1-52)Online publication date: 3-Feb-2024
  • (2023)Beyond RSS: Towards Intelligent Dynamic Memory Management (Work in Progress)Proceedings of the 20th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes10.1145/3617651.3622989(158-164)Online publication date: 19-Oct-2023
  • (2023)The Unexpected Efficiency of Bin Packing Algorithms for Dynamic Storage Allocation in the Wild: An Intellectual AbstractProceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management10.1145/3591195.3595279(58-70)Online publication date: 6-Jun-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ISMM '98: Proceedings of the 1st international symposium on Memory management
October 1998
200 pages
ISBN:1581131143
DOI:10.1145/286860
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1998

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

ISMM98
Sponsor:
ISMM98: International Symposium on Memory Management 1998
October 17 - 19, 1998
British Columbia, Vancouver, Canada

Acceptance Rates

Overall Acceptance Rate 72 of 156 submissions, 46%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)533
  • Downloads (Last 6 weeks)58
Reflects downloads up to 27 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)PMAlloc: A Holistic Approach to Improving Persistent Memory AllocationACM Transactions on Computer Systems10.1145/364388642:3-4(1-52)Online publication date: 3-Feb-2024
  • (2023)Beyond RSS: Towards Intelligent Dynamic Memory Management (Work in Progress)Proceedings of the 20th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes10.1145/3617651.3622989(158-164)Online publication date: 19-Oct-2023
  • (2023)The Unexpected Efficiency of Bin Packing Algorithms for Dynamic Storage Allocation in the Wild: An Intellectual AbstractProceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management10.1145/3591195.3595279(58-70)Online publication date: 6-Jun-2023
  • (2022)Study of Energy-Efficient Optimization Techniques for High-Level Homogeneous Resource ManagementWireless Communications and Mobile Computing10.1155/2022/19535102022(1-12)Online publication date: 27-Jul-2022
  • (2022)The Implications of Page Size Management on Graph Analytics2022 IEEE International Symposium on Workload Characterization (IISWC)10.1109/IISWC55918.2022.00026(199-214)Online publication date: Nov-2022
  • (2021)Adaptive huge-page subrelease for non-moving memory allocators in warehouse-scale computersProceedings of the 2021 ACM SIGPLAN International Symposium on Memory Management10.1145/3459898.3463905(28-38)Online publication date: 22-Jun-2021
  • (2021)ParalOS: A Scheduling & Memory Management Framework for Heterogeneous VPUs2021 24th Euromicro Conference on Digital System Design (DSD)10.1109/DSD53832.2021.00043(221-228)Online publication date: Sep-2021
  • (2021)DAMOV: A New Methodology and Benchmark Suite for Evaluating Data Movement BottlenecksIEEE Access10.1109/ACCESS.2021.31109939(134457-134502)Online publication date: 2021
  • (2020)Related WorkHeterogeneous Memory Organizations in Embedded Systems10.1007/978-3-030-37432-7_2(23-33)Online publication date: 31-Jan-2020
  • (2019)A New Flexible Multi-flow LRU Cache Management Paradigm for Minimizing MissesProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/3341617.33261543:2(1-30)Online publication date: 19-Jun-2019
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media