Title :
Research on Thread Scheduling Algorithm in Automatic Parallelization
Author :
Sheng, Yan ; Sheng, Yang Quan ; Wei, Wang Xiao ; Feng, Zou
Author_Institution :
Sch. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
Abstract :
This paper firstly takes fully account of the features of Intel multi-core architecture: shared cache architecture and bus interconnection architecture, and then researches on thread scheduling problem in automatic parallelization, finally proposes a greedy heuristic algorithm for thread scheduling. The greedy heuristic algorithm firstly establishes a TIG (thread interaction graph) based on data dependence and communication overhead between each thread. On this basis the algorithm carries out two rounds of operation for TIG, in which the threads are assigned to processors in the first round and the threads are assigned to groups of shared cache cores within a processor in the second round respectively. The experiment results show that greedy heuristic algorithm can find near-optimum solutions in reasonable time and behaves better than random algorithm which widely applied in the current OS and compiler when the number of threads increases, since it can find solutions in much less than random algorithm.
Keywords :
graph theory; greedy algorithms; parallel algorithms; parallel architectures; scheduling; Intel multicore architecture; automatic parallelization algprithm; bus interconnection architecture; compiler; greedy heuristic algorithm; operating system; random algorithm; shared cache architecture; thread interaction graph; thread scheduling algorithm; Computer architecture; Computer science; Heuristic algorithms; Optimal scheduling; Parallel languages; Parallel processing; Parallel programming; Processor scheduling; Scheduling algorithm; Yarn;
Conference_Titel :
Computational Intelligence and Software Engineering, 2009. CiSE 2009. International Conference on
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-4507-3
Electronic_ISBN :
978-1-4244-4507-3
DOI :
10.1109/CISE.2009.5366341