0

Where in the Linux code, I can find the default process scheduler at the time of launching a process. For a running process, chrt shows SCHED_OTHER. On the hand, in various websites, I see that the default scheduler is CFS. So, are these the same? I know SCHED_OTHER and SCHED_NORMAL are equal, but not sure about CFS.

Any thoughts on that?

1 Answer 1

2

The completely fair scheduler is used for SCHED_NORMAL (aka SCHED_OTHER), SCHED_BATCH and SCHED_IDLE. See the kernel’s CFS documentation for details.

CFS is implemented in kernel/sched/fair.c.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .