|
|
发表于 2005-10-6 20:07:30
|
显示全部楼层
Post by troll
cat /sys/block/hda/queue/scheduler
:thank
两种设置方法:
- 1 增加内核启动参数:
- elevator= [IOSCHED]
- Format: {"as"|"cfq"|"deadline"|"noop"}
- See Documentation/block/as-iosched.txt
- and Documentation/block/deadline-iosched.txt for details.
- Ex: elevator=cfq
- 2 运行时更改:
- echo sch-name > /sys/block/<devicename>/queue/scheduler
- sch-name: noop anticipatory deadline cfq
- Ex: echo anticipatory > /sys/block/hda/queue/scheduler
复制代码 |
|