作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (10): 78-79. doi: 10.3969/j.issn.1000-3428.2008.10.028

• 软件技术与数据库 • 上一篇    下一篇

面向用户的进程调度策略研究与实现

陈 媛1,杨 武2   

  1. (1. 重庆工学院计算机科学与工程学院,重庆 400054;2. 重庆工学院工商管理学院,重庆 400054)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-05-20 发布日期:2008-05-20

Study and Realization of Process Scheduling Policy Facing User

CHEN Yuan1, YANG Wu2   

  1. (1. Department of Computer Science and Engineering, Chongqing Institute of Technology, Chongqing 400054; 2. Department of Business Administration, Chongqing Institute of Technology, Chongqing 400054)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-05-20 Published:2008-05-20

摘要: 针对Linux进程调度策略注重系统性能而忽视用户服务的问题,提出一种面向用户的进程调度策略,根据各用户拥有进程数量上的差别,分别调用Linux原有动态优先调度策略、公平共享法调度策略和自适应公平共享法调度策略,以达到最大限度地满足整个系统各用户需求的目的,实现进程调度公平性原则。在实现过程中,解决了决策计算的问题,引入动态权限调整机制实现了自适应公平共享算法。实验结果表明,该进程调度策略是有效的,可应用于注重用户满意度的分时系统中。

关键词: 进程调度策略, 面向用户, 自适应公平共享法

Abstract: Aiming at the problem of Linux process scheduling policy just regards the system capability and neglects user service, the paper presents a kind of process scheduling policy facing user according to the discrepancy of process quantity every user owned, which invokes Linux dynamic priority scheduling policy, fair share scheduling policy and self-adapt fair share scheduling policy in order to meet the every user’s need in whole system to most degree and realize the fair principle of process scheduling. In the realization process, it settles the problem of decision-making account and introduces the dynamic right adjusting mechanism to realize self-adapting fair share arithmetic. The experimental result indicates that the process scheduling policy is effective and valuable applying on the time-sharing system which regards user’s contentment degree.

Key words: process scheduling policy, facing user, self-adapt fair share

中图分类号: