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

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

概述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:// 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 elseis using the disk. A grace period is defined for which IDle has towait before getting disk access when other io has run. This defaultsto 250ms currently.

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

总结

以上是内存溢出为你收集整理的linux – CFQ io调度程序的空闲调度类的“定义宽限期”有多长?全部内容,希望文章能够帮你解决linux – CFQ io调度程序的空闲调度类的“定义宽限期”有多长?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/1039377.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存