TY - JOUR
T1 - On Linux starvation of CPU-bound processes in the presence of network I/O
AU - Salah, K.
AU - Manea, A.
AU - Zeadally, S.
AU - Alcaraz Calero, Jose M.
PY - 2011/11
Y1 - 2011/11
N2 - Process starvation is a critical and challenging design problem in operating systems. A slight starvation of processes can lead to undesirable response times. In this paper, we experimentally demonstrate that Linux can starve CPU-bound processes in the presence of network I/O-bound processes. Surprisingly, the starvation of CPU-bound processes can be encountered at only a particular range of traffic rates being received by network processes. Lower or higher traffic rates do not exhibit starvation. We have analyzed it under different network applications, system settings and network configurations. We show that such starvation may exist for the two Linux scheduler, namely the 2.6 O(1) scheduler and the more recent 2.6 Completely Fair Scheduler (CFS). We instrumented and profiled the Linux kernel to investigate the underlying root causes of such starvation. In addition, we suggest possible mitigation solutions for both schedulers.
AB - Process starvation is a critical and challenging design problem in operating systems. A slight starvation of processes can lead to undesirable response times. In this paper, we experimentally demonstrate that Linux can starve CPU-bound processes in the presence of network I/O-bound processes. Surprisingly, the starvation of CPU-bound processes can be encountered at only a particular range of traffic rates being received by network processes. Lower or higher traffic rates do not exhibit starvation. We have analyzed it under different network applications, system settings and network configurations. We show that such starvation may exist for the two Linux scheduler, namely the 2.6 O(1) scheduler and the more recent 2.6 Completely Fair Scheduler (CFS). We instrumented and profiled the Linux kernel to investigate the underlying root causes of such starvation. In addition, we suggest possible mitigation solutions for both schedulers.
UR - https://www.scopus.com/pages/publications/82655173950
U2 - 10.1016/j.compeleceng.2011.07.001
DO - 10.1016/j.compeleceng.2011.07.001
M3 - Article
AN - SCOPUS:82655173950
SN - 0045-7906
VL - 37
SP - 1090
EP - 1105
JO - Computers and Electrical Engineering
JF - Computers and Electrical Engineering
IS - 6
ER -