Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Improving the Performance of Buddy Systems

Published: 01 May 1986 Publication History

Abstract

This paper discusses ways of reducing fragmentation ion in buddy systems. Although internal fragmentation may be estimated for any buddy system, external fragmentation cannot be determined theoretically. It is suggested here that mean external fragmentation for any buddy system is directly related to the height of the associated binary tree. Simulation studies with a new buddy system support this conjecture. Attempts at reducing internal fragmentation have, in the past, increased the tree height covering the range of request sizes and given rise to a commensurate increase in external fragmentation. A new buddy system is described which supports a large number of buddy sizes without requiring a large tree height. The new scheme is a modified form of the weighted buddy method, entitled the dual buddy system. It provides the same set of block sizes as the weighted scheme but has the same tree height as the binary buddy system. Simulation results show that mean external fragmentation is within four percent of that of the binary system and much lower than that of the weighted scheme. The new system has better overall storage utilization han others for uniform random request sizes.

References

[1]
K. C. Knowlton, "A fast storage allocator," Commun. Ass. Comput. Mach., vol. 8, pp. 623-625, Oct. 1965.
[2]
I. P. Page, "Optimal fit of arbitrary sized segments," Brit. Comput. J., vol. 25, pp. 32-33, Jan. 1982.
[3]
J. L. Peterson and T. A. Norman, "Buddy systems," Commun. Ass. Comput. Mach., vol. 20, pp. 421-431, June 1977.
[4]
P. W. Purdom and S. M. Stigler, "Statistical properties of the buddy system," J. Ass. Comput. Mach., vol. 17, pp. 683-697, Oct. 1970.
[5]
J. L. Peterson, "Dynamic storage allocation with buddy systems," in Proc. 4th Texas Conf. Comput. Architect., Nov. 1975, pp. 2B4-1- 2B4-6.
[6]
K. K. Shen and J. L. Peterson, "A weighted buddy system for dynamic storage allocation," Commun. Ass. Comput. Mach., vol. 17, pp. 558- 562, Oct. 1974.
[7]
T. A. Norman, "Tailored buddy systems for dynamic storage allocation," in Proc. 4th Texas Conf. Comput. Architect., Nov. 1975, pp. 2B3-1- 2B3-5.
[8]
D. S. Hirschberg, "A class of dynamic memory allocation algorithms," Commun. Ass. Comput. Mach., vol. 16, pp. 615-618, Oct. 1973.
[9]
V. C. Harris and C. C. Styles, "A generalization of Fibonacci numbers," Fibonacci Quarterly, vol. 2, no. 4, pp. 227-289, Dec. 1964.
[10]
H. R. P. Ferguson, "On a generalization of the Fibonacci numbers useful in memory allocation schema," Fibonacci Quarterly, vol. 14, no. 3, pp. 233-243, Oct. 1976.
[11]
I. P. Page and J. Hagins, "Improving the performance of buddy systems," Dep. Comput. Sci., Univ. Texas, Dallas, Tech. Rep. CS-203.
[12]
B. Cranston and R. A. Thomas, "A simplified recombination scheme for the Fibonacci buddy system," Commun. Ass. Comput. Mach., vol. 18, pp. 331-332, June 1975.

Cited By

View all
  • (2020)AcclaimProceedings of the 2020 USENIX Conference on Usenix Annual Technical Conference10.5555/3489146.3489208(897-910)Online publication date: 15-Jul-2020
  • (2019)Mismatched memory management of Android smartphonesProceedings of the 11th USENIX Conference on Hot Topics in Storage and File Systems10.5555/3357062.3357072(7-7)Online publication date: 8-Jul-2019
  • (2014)Building the Java Heap with Bricks in an Embedded Real-Time EnvironmentProceedings of the 2014 IEEE/ACM 18th International Symposium on Distributed Simulation and Real Time Applications10.1109/DS-RT.2014.16(57-66)Online publication date: 1-Oct-2014
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image IEEE Transactions on Computers
IEEE Transactions on Computers  Volume 35, Issue 5
May 1986
99 pages

Publisher

IEEE Computer Society

United States

Publication History

Published: 01 May 1986

Author Tags

  1. Buddy systems
  2. dynamic storage allocation
  3. fragmentation
  4. virtual memory

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2020)AcclaimProceedings of the 2020 USENIX Conference on Usenix Annual Technical Conference10.5555/3489146.3489208(897-910)Online publication date: 15-Jul-2020
  • (2019)Mismatched memory management of Android smartphonesProceedings of the 11th USENIX Conference on Hot Topics in Storage and File Systems10.5555/3357062.3357072(7-7)Online publication date: 8-Jul-2019
  • (2014)Building the Java Heap with Bricks in an Embedded Real-Time EnvironmentProceedings of the 2014 IEEE/ACM 18th International Symposium on Distributed Simulation and Real Time Applications10.1109/DS-RT.2014.16(57-66)Online publication date: 1-Oct-2014
  • (2013)Regularities considered harmfulACM SIGPLAN Notices10.1145/2499368.245113748:4(181-192)Online publication date: 16-Mar-2013
  • (2013)Regularities considered harmfulACM SIGARCH Computer Architecture News10.1145/2490301.245113741:1(181-192)Online publication date: 16-Mar-2013
  • (2013)Regularities considered harmfulProceedings of the eighteenth international conference on Architectural support for programming languages and operating systems10.1145/2451116.2451137(181-192)Online publication date: 16-Mar-2013
  • (2007)An efficient dynamic memory allocator for sensor operating systemsProceedings of the 2007 ACM symposium on Applied computing10.1145/1244002.1244254(1159-1164)Online publication date: 11-Mar-2007
  • (1998)The memory fragmentation problemACM SIGPLAN Notices10.1145/301589.28686434:3(26-36)Online publication date: 1-Oct-1998
  • (1998)The memory fragmentation problemProceedings of the 1st international symposium on Memory management10.1145/286860.286864(26-36)Online publication date: 1-Oct-1998
  • (1996)A High-Performance Memory Allocator for Object-Oriented SystemsIEEE Transactions on Computers10.1109/12.48557445:3(357-366)Online publication date: 1-Mar-1996
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media