加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – CFQ io调度程序的空闲调度类的“定义宽限期”有多长?

发布时间:2020-12-13 16:52:07 所属栏目:Linux 来源:网络整理
导读:ionice手册页说 A program running with idle io priority will only get disk time when no other program has asked for disk io for a defined grace period. 这个“宽限期”在哪里定义?它是可见的/可调的(也许通过/ sys)? 解决方法 宽限期为250毫秒. h
ionice手册页说

A program running with idle io priority will only get disk time
when no other program has asked for disk io for a defined grace period.

这个“宽限期”在哪里定义?它是可见的/可调的(也许通过/ sys)?

解决方法

宽限期为250毫秒.

http://lkml.indiana.edu/hypermail/linux/kernel/0412.2/1099.html

There is an idle scheduling class,which only runs when nothing else
is using the disk. A grace period is defined for which idle has to
wait before getting disk access when other io has run. This defaults
to 250ms currently.

您没有提供操作系统版本或发行版(是的,它确实有所作为),但RHEL / CentOS 5 6的可调参数为defined here,为/ sys / block / [device] / queue / iosched /中的fifo_expire_async(其中) [device]是sda,sdb,cciss0等.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读