A Cache-aware Scheduling Algorithm on Multicore Systems

XU Yuan-chao,SHEN Yan,TAN Xu,WAN Hu,ZHANG Zhi-min
DOI: https://doi.org/10.3969/j.issn.1000-1220.2013.02.034
2013-01-01
Abstract:The unfair utilization and contention on cache space impose a significant influence on system performance.Current default Linux operating system scheduling algorithm lacks the awareness of program behavior including cache miss rate,instructions retired etc.Therefore it can not learn about the differences of memory access pattern and frequency between different tasks.This paper proposes and implements a cache-aware scheduling algorithm called CAS.CAS analyzes the cache miss rate of different tasks and designated tasks with similar cache miss rate to the same core.Tasks with different cache miss rate will run on different cores and hence it is impossible to run simultaneously for two tasks with same cache miss rate,thereby reducing cache space unfair utilization and contention.Experimental results show the algorithm CAS can reduce total cache miss of the whole workload and improve system throughput up to 5% on the average in most cases.
What problem does this paper attempt to address?