In context of CFS Scheduler of Linux Kernel what are the most important differences between Targeted Latency and Minimum Granularity.
Or how do we define Targeted Latency and Minimum Granularity.
- Mathematical explanation is highly appreciated.
In context of CFS Scheduler of Linux Kernel what are the most important differences between Targeted Latency and Minimum Granularity.
Or how do we define Targeted Latency and Minimum Granularity.
Copyright © 2021 Jogjafile Inc.
From "Linux kernel development" by Robert Love:
1)
2)
So, targeted latency is the period in which all run queue tasks are scheduled at least once. And the minimum granularity is the minimum time a task will be be allowed to run on CPU before being pre-empted out.
References: