Open utterances-bot opened 7 months ago
Hey, nice article
i have a question, you mentioned that delta is being multiplied by weight/1024 my confusion here is the weight for higher priority tasks is higher than lower priority tasks, which leads into larger increment into the vruntime, but it should be the opposite where lower priority tasks should receives smaller increments ?
if i am not wrong it should be delta_exec * NICE_0_LOAD / curr->load.weight
You are right. I fixed the equation. Thank you!
Thanks for the article. However, the CFS was recently replaced by the EEVDF scheduler in the kernel. Could you make another post about that one? Seems like it inherits lots of the data structures and some of the concepts of the CFS.
Linux CFS and task group – Mechpen
https://mechpen.github.io/posts/2020-04-27-cfs-group/index.html