Machine learning for load balancing in the Linux kernel

Author(s):  
Jingde Chen ◽  
Subho S. Banerjee ◽  
Zbigniew T. Kalbarczyk ◽  
Ravishankar K. Iyer
2021 ◽  
Vol 11 (14) ◽  
pp. 6486
Author(s):  
Mei-Ling Chiang ◽  
Wei-Lun Su

NUMA multi-core systems divide system resources into several nodes. When an imbalance in the load between cores occurs, the kernel scheduler’s load balancing mechanism then migrates threads between cores or across NUMA nodes. Remote memory access is required for a thread to access memory on the previous node, which degrades performance. Threads to be migrated must be selected effectively and efficiently since the related operations run in the critical path of the kernel scheduler. This study focuses on improving inter-node load balancing for multithreaded applications. We propose a thread-aware selection policy that considers the distribution of threads on nodes for each thread group while migrating one thread for inter-node load balancing. The thread is selected for which its thread group has the least exclusive thread distribution, and thread members are distributed more evenly on nodes. This has less influence on data mapping and thread mapping for the thread group. We further devise several enhancements to eliminate superfluous evaluations for multithreaded processes, so the selection procedure is more efficient. The experimental results for the commonly used PARSEC 3.0 benchmark suite show that the modified Linux kernel with the proposed selection policy increases performance by 10.7% compared with the unmodified Linux kernel.


Author(s):  
Prasanna Balaprakash ◽  
Yuri Alexeev ◽  
Sheri A. Mickelson ◽  
Sven Leyffer ◽  
Robert Jacob ◽  
...  

2019 ◽  
Vol 132 ◽  
pp. 79-94 ◽  
Author(s):  
Yasir Noman Khalid ◽  
Muhammad Aleem ◽  
Usman Ahmed ◽  
Muhammad Arshad Islam ◽  
Muhammad Azhar Iqbal

2020 ◽  
Vol 18 (2) ◽  
pp. 76
Author(s):  
Junaidi Junaidi ◽  
Prasetyo Wibowo ◽  
Dini Yuniasri ◽  
Putri Damayanti ◽  
Ary Mazharuddin Shiddiqi ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document