文档介绍:上海交通大学工程硕士学位论文摘要
基于温度模糊控制的多核处理器任务调度研究
摘要
多核处理器芯片实现了多线程并行处理,极大的提高了处理器性能,但
日益增加的热功耗及由此而产生的速度瓶颈,也严重的制约了其性能的进
一步提高。与此同时,较高的处理器温度不仅削弱了其可靠性,而且缩短
了其使用寿命。
当处理器温度超过阈值温度时,硬件层面的温度动态管理技术,例如电
压和频率调制能够有效的降低处理器温度,但不可避免的会带来性能上的
损失,因此,如何从软件层面合理的调度处理器当前任务,从而有效的控
制处理器温度及局部热点,提高处理器芯片的稳定性,有着重要的现实意
义。
鉴于处理器温度变化具有纯滞后,非线性的特点,难以建立精确的数学
模型,本文采用模糊控制算法,完成处理器任务调度的控制决策,实现对
处理器温度变化的控制。
本文先分析了模糊控制与常规控制各自的优缺点,总结了模糊控制在特
定领域,优于传统控制的理论依据,并对模糊逻辑,模糊语言,模糊推理
等重要的模糊控制内容进行了详细的介绍。
在此基础上,本文首先进一步细致的阐述了模糊控制算法及模糊控制器
的设计原则、设计方法和设计步骤,其次在 MATLAB 环境下的 Fuzzy Logic
Tool 工具箱中,具体实现该算法,并通过 Simulink 仿真验证该算法阶跃响
应控制效果,通过与传统 PID 控制阶跃响应曲线的横向比较,能直观看出
第 I 页
上海交通大学工程硕士学位论文摘要
模糊控制更为优良的控制效果。最后在 P4 双核处理器上将该算法嵌入至
Linux 内核调度器,实现处理器任务的调度,达到降低峰值温度的目的。
试验环节中,我们在完成模糊控制算法的 Linux内核嵌入后,选择随机
调度算法作为参照,对模糊控制算法的调度效果进行评估。实验数据分析
结果显示,处理器温度超限比例从 77%下降到 64%,处理器性能改善从 %
提高到 %,这些事实充分表明,模糊控制算法相比随机算法,有更好的
控制效果。
最后,文末对全文做了总结概括,并对采用模糊算法的温度控制器研究
做出了展望。
关键字:模糊控制,多核处理器,温度感知,动态调度
第 II 页
上海交通大学工程硕士学位论文 ABSTRACT
Task Scheduling For Multi-core Processors Based On Fuzzy Control
ABSTRACT
The multi-thread parallel process in multi-core processor upgrades the
performance of microprocessor greatly. But the evolution of microprocessors
has been hindered by their increasing power consumption and the heat generated
speed on-die. Moreover, high temperature impairs the processor's reliability and
reduces its lifetime.
While hardware level dynamic thermal management techniques, such as
voltage and frequency scaling, can effectively lower the chip temperature when
it surpasses the thermal threshold, they e at the cost of
performance degradation. Thus, there is great practical significance in how to
scheduling the task of processor reasonably on software level to, not only,
control the temperature of microprocessor and hot-spot, but also to boost the
processor's reliability.
Because the change of temperature has the characteristic of pure delay,
nonlinearity and so on, we