type
status
slug
summary
tags
category
icon
password
new update day
Property
Oct 22, 2023 01:31 PM
created days
Last edited time
Oct 22, 2023 01:31 PM
- 10
- 15
- 20
- 25
时间片变小,进程因时间片到时产生的进程调度次数变多,该进程等待时间越长。
然而随着时间片增大,进程因中断或者睡眠进入的进程调度次数也增多,等待时间随之变长。
故而需要设置合理的时间片,既不能过大,也不能过小。
- 作者:tangcuyu
- 链接:https://expoli.tech/articles/2023/07/13/The-performance-of-linux-0.11-after-modifying-the-time-slice-size
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章