免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1057 | 回复: 0
打印 上一主题 下一主题

[故障求助] 求助!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-08 22:58 |只看该作者 |倒序浏览
小弟正在看红皮书234,到关于schedtune这个命令的时候碰到了点很难懂的东西,麻烦那位dx给我解释一下好吗?
( IBM ^ Certification Study Guide - AIX 5L Performance and System Tuning)

In AIX Version 4, the five possible values for the thread scheduling policy are asfollows:

SCHED_FIFO

This is a non-preemptive scheduling scheme. After a
thread with this policy is scheduled, it runs to completion
unless it is blocked, it voluntarily yields control of the
CPU, or a higher-priority thread becomes dispatchable.
Only fixed-priority threads can have a SCHED_FIFO
scheduling policy.

SCHED_RR

The thread has a fixed priority. When a SCHED_RR
thread has control at the end of the time slice, it moves to
the tail of the queue of dispatchable threads of its priority.
Only fixed-priority threads can have a SCHED_RR
scheduling policy.

SCHED_OTHER

This policy is defined by POSIX Standard 1003.4a as
implementation-defined. In AIX Version 4, this policy is
defined to be equivalent to SCHED_RR, except that it
applies to threads with nonfixed priority. The recalculation
of the running thread's priority at each clock interrupt
means that a thread may lose control because its priority
has risen above that of another dispatchable thread.

SCHED_FIFO2

This policy is the same as for SCHED_OTHER, except
that it allows a thread that has slept for only a short
amount of time to be put at the head of its run queue
when it is awakened. This policy is only available on AIX
Version 4.3.3 or later.

SCHED_FIFO3

A thread whose scheduling policy is set to
SCHED_FIFO3 is always put at the head of a run queue.
To prevent a thread belonging to the SCHED_FIFO2
scheduling policy from being put ahead of
SCHED_FIFO3, the run queue parameters are changed
when a SCHED_FIFO3 thread is enqueued, so that no
thread belonging to SCHED_FIFO2 will join the head of
the run queue. This policy is only available on AIX Version
4.3.3 or later.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP