文档详情

基于OPNET的CPU调度仿真研究_张新宇.pdf

发布:2017-07-29约字共4页下载文档
文本预览下载声明
第21 卷增刊1 系 统 仿 真 学 报© Vol. 21 Suppl. 1 2009 年10 月 Journal of System Simulation Oct., 2009 基于OPNET 的CPU 调度仿真研究 张新宇,胡 凯,杨 锐,张慧颖 (北京航空航天大学计算机学院, 北京 100191 ) 摘 要:网络仿真是一种在网络研究中被普遍采用的研究手段,但是现有的仿真软件往往只针对协 议正确性进行模拟,不考虑硬件性能和操作系统对CPU 调度带来的影响,同时由于因特网规模急 剧膨胀,路由器的负载大幅提升,某些情况下CPU 成了制约路由协议性能的关键。基于广泛使用 的网络仿真软件OPNET Modeler ,对其进行扩展,提出了支持单/ 多核CPU 调度的仿真机制,引入 Linux 中的调度策略,并实现了一个自定义的协议模型进行验证,实验表明模型在重负载的情况下 具有较好的仿真效果。 关键词:网络仿真;OPNET Modeler;CPU 调度仿真;调度策略 中图分类号:TP393.01 文献标识码:A 文章编号:1004-731X (2009) S1-0227-04 A Study of CPU Scheduling Simulation Based on OPNET Modeler ZHANG Xin-yu, HU Kai, YANG rui, ZHANG Hui-ying (School of Computer Science and Engineering, Beihang University, Beijing 100191, China) Abstract :The network simulation is a widely used method in network research. Nevertheless the network simulators now available are focus on the correctness of some certain protocols, ignoring the impact of the capabilities of the hardware and CPU scheduling. While the scale of internet is expanding rapidly and the workload of routers are growing quickly, in some cases the capability of CPU turn out to be the bottleneck of system. This paper expands the simulator OPNET Modeler, presents a mechanism to supply single/multi-core CPU sc heduling and a Linux like scheduling policy in OPNET Modeler. At last a protocol model was designed and the experiments show more precise simulation result in heavy load conditions. Key words :network simulation, OPNET Modeler, CPU scheduling simulation, schedule policy 引 言
显示全部
相似文档