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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call