1. Dynamic Memory Allocation in Computer Simulation.
- Author
-
Nielsen, Norman R.
- Subjects
- *
DYNAMIC storage allocation (Computer science) , *ALGORITHMS , *SIMULATION methods & models , *MEMORY maps (Computer science) , *SIMSCRIPT (Computer program language) , *COMPUTER simulation , *MATHEMATICAL optimization , *COMPUTER algorithms , *STORAGE fragmentation (Computer science) - Abstract
This paper investigates the performance of 35 dynamic memory allocation algorithms when used to service simulation programs as represented by 18 test cases. Algorithm performance was measured in terms of processing time, memory usage, and external memory fragmentation. Algorithms maintaining separate free space lists for each size of memory block used tended to perform quite well compared with other algorithms. Simple algorithms operating on memory ordered lists (without any free list) performed surprisingly well. Algorithms employing power-of-two block sizes had favorable processing requirements hut generally unfavorable memory usage. Algorithms employing LIFO, FIFO, or memory ordered free lists generally performed poorly compared with others. [ABSTRACT FROM AUTHOR]
- Published
- 1977
- Full Text
- View/download PDF