Skip to content

Commit dbe28d1

Browse files
committed
sched-ext: Added essential answer to a common question
1 parent d2bf615 commit dbe28d1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/content/docs/configuration/sched-ext.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,14 @@ auto_mode = ["--performance"]
10491049

10501050
## FAQ
10511051

1052+
### There are so many options... why wouldn't you just make one scheduler that is good at everything?
1053+
1054+
- The main reason is that there is no one-size-fits-all solution when it comes to CPU scheduling. Different workloads have different requirements and priorities, and a scheduler that is optimized for one type of workload may not perform well for another.
1055+
1056+
You could view CPU schedulers as different pairs of shoes, each designed for a specific activity. For example, running a game on a scheduler that is optimized for server workloads may lead to suboptimal performance and increased latency, while using a scheduler designed for gaming on a server may result in inefficient resource utilization and reduced throughput.
1057+
1058+
That's the magic of sched-ext. Limitations are no longer a problem.
1059+
10521060
### Why X scheduler performs worse than the other?
10531061

10541062
- There are many variables to consider when comparing them. For example, how do they measure a task's weight? Do they prioritize interactive tasks over non-interactive ones?

0 commit comments

Comments
 (0)