多核处理器中具有临界区的多线程调度方法研究
[Abstract]:With the development of multi-core technology and multi-thread technology, the scheduling problem of multi-thread on multi-core processor has become a hotspot. Because of the complexity of multi-core processor architecture, resource management is more difficult. When multi-thread is running on multi-core platform, how to make better use of multi-core resources, so that multi-thread can execute correctly and quickly, determines the improvement of system performance. An excellent thread scheduling algorithm for multi-core processors can effectively utilize resources, improve system throughput, take fairness into account, and reduce program response time and turnaround time. For the research of multi-core multi-thread scheduling methods, a multi-thread model is proposed firstly, and based on this model, different scheduling methods are proposed for different multi-core platforms. In multithreading model, many people choose DAG diagram, but the traditional DAG graph has its own defects, such as the relationship between tasks can not be further described. In this paper, a multi-thread scheduling model based on Forest is proposed for threads with critical region. The model maintains the relationship among threads, data resources and shared resources. In order to improve the performance of the system and reduce the idle time of computing resources, a scheduling method, CSTS algorithm, is proposed, which considers the resource sharing of threads and the relationship between threads and dependencies. The algorithm uses the critical region as the basis for sharing resources among threads, and schedules the threads with the same critical region with the same core. Because the critical region can not be executed simultaneously, the critical region becomes an important factor that limits the overall performance of the system. In order to reduce the blockage caused by the critical region, the algorithm proposes a priority calculation method based on the critical region and takes fairness into account. In multi-core processors, heterogeneous multi-core processors are more practical than isomorphic multi-core processors because of their different computing power. Therefore, in addition to designing multi-thread model and scheduling method based on the forest model for general multi-core processors, this paper also optimizes the accelerated critical region algorithm for the different processing capabilities of different cores of heterogeneous multi-core processors. The accelerated critical region algorithm can effectively shorten the execution time of threads with critical region, but it may cause serialization of independent critical regions. This paper presents an improved accelerated critical region algorithm based on the accelerated critical region algorithm. The algorithm tracks the execution of all threads with critical region on the kernel, adjusts the priority factor of the thread, and guides the dynamic migration of the thread between the high speed kernel and the low speed kernel. The algorithm not only accelerates the execution of the critical region but also effectively solves the problem of thread blockage on the high speed kernel caused by the accelerated critical region method. In this paper, the algorithm based on forest thread model is simulated and verified by simulation experiment. Compared with similar algorithms, it has higher performance for critical region intensive tasks and higher kernel utilization ratio. In order to adapt to the improved critical region migration algorithm for heterogeneous platforms, this paper uses Simics simulation platform to simulate heterogeneous multi-core systems, and inputs 12 critical zone intensive loads. The experimental results show that, This method has better performance than the original accelerated critical region algorithm and naive algorithm.
【学位授予单位】:华北电力大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP332
【参考文献】
相关期刊论文 前8条
1 吴琳;;基于共享数据关系的线程调度策略[J];航空计算技术;2015年03期
2 黄姝娟;朱怡安;李兵哲;陆伟;;具有依赖关系的周期任务实时调度方法[J];计算机学报;2015年05期
3 李静梅;孙冬微;韩启龙;;基于异构CMP的静态任务调度研究[J];小型微型计算机系统;2014年12期
4 汤元斌;;多线程模拟进程时间片轮转调度算法研究[J];四川文理学院学报;2014年05期
5 杨茂林;雷航;廖勇;;一种共享资源敏感的实时任务分配算法[J];计算机学报;2014年07期
6 李艳华;张悠慧;王为;郑纬民;;延时敏感的推测多线程调度策略[J];计算机工程与科学;2013年11期
7 王磊;刘道福;陈云霁;陈天石;李玲;;片上多核处理器共享资源分配与调度策略研究综述[J];计算机研究与发展;2013年10期
8 王桂彬;杨学军;徐新海;林一松;李鑫;;异构系统功耗感知的并行循环调度方法[J];软件学报;2011年09期
相关博士学位论文 前1条
1 岳虹;嵌入式异构多核处理器设计与实现关键技术研究[D];国防科学技术大学;2006年
相关硕士学位论文 前4条
1 李滋田;基于OpenMP的多核多线程负载均衡调度策略研究[D];西安工业大学;2014年
2 徐元旭;SIMT线程调度模型分析及优化[D];哈尔滨工业大学;2013年
3 陈文艳;异构多核处理器的任务调度策略研究[D];湖南大学;2013年
4 黄振宝;面向嵌入式异构多核体系的软硬件协同任务调度方法[D];浙江大学;2007年
,本文编号:2278687
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2278687.html