Tertiary buddy system for efficient dynamic memory allocation
Divakar Yadav, Abhinav Sharma · International Conference on Software Engineering · 2010
An extension of the binary buddy system, called buddy for dynamic storage allocation is presented in this work. Tertiary buddy system allows block sizes of 2k and 3.2k-3 whereas the original binary buddy system allows only block sizes of 2k. This extension is achieved at an additional cost of two bits per block. Simulation of the proposed algorithm has been implemented in C programming language. The performance analysis in terms of internal fragmentation for the tertiary buddy system with other existing schemes such as binary buddy system, fibonacci buddy system and weighted buddy system is given in this work. Further the comparison of simulation results for number of splits and average number of merges for the above systems are also being discussed.