• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2020, Vol. 42 ›› Issue (10高性能专刊): 1784-1790.

Previous Articles     Next Articles

A memory initialization optimization algorithm for operating systems

HE Sen,CHI Wan-qing   

  1. (School of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2020-06-10 Revised:2020-07-21 Accepted:2020-10-25 Online:2020-10-25 Published:2020-10-23

Abstract: During the startup of the operating system kernel, the initialization of NUMA memory nodes’ with large holes cause a significant time loss. Especially when the kernel is started up on the si- mulation platform with low frequency, this effect becomes more significant, and the time loss is significantly enlarged. In response to this problem, a NUMA  node initialization optimization algorithm is proposed. This optimization algorithm can identify and skip memory holes during memory node initialization, and achieve efficient initialization of memory during kernel's startup. Comparative experiment between this optimization algorithm and the current kernel initialization algorithm shows that this optimization algorithm significantly improves the initialization speed of NUMA nodes with huge memory holes, thereby increasing the startup speed of the operating system.



Key words: memory initialization, memory hole, NUMA node, CPU simulation