Does CPU scheduler period affects the execution time of a program?

Viewed 22

Assume I want to run a for loop with a million iterations, each of which takes x milliseconds. How can I use CFS scheduler or runtime scheduler to add an artificial delay of x + delay milliseconds to each iteration? Is it possible? It's totally fine if delay is not constant.

I am trying to make sense out of this documentation - Configure the default CFS scheduler - Docker

0 Answers
Related