Skip to contentSkip to conversation

CFS scheduler, -v19

PATCH Al Boldi 1 participant 1 message Jul 8, 2007

lore
Share & tools
lore

Al Boldi

author
#0 lore raw
Quoted 5 lines · Ingo Molnar

The biggest user-visible change in -v19 is reworked sleeper fairness:
it's similar in behavior to -v18 but works more consistently across nice levels. Fork-happy workloads (like kernel builds) should behave better as well. There are also a handful of speedups: unsigned math, 32-bit speedups, O(1) task pickup, debloating and other micro-optimizations.

Thanks, these changes show an obvious improvement with heavy forklifters. But there is one strange artifact; fork response is not consistant over successive runs, i.e. sometimes it starves, sometimes it moves, and sometimes it flies. It looks like it's dependent on some sched-stats to accumulate before it stablizes.

Also, fork/thread creation is one aspect of testing, but what about thread termination performance, which has to sync back to the creating thread? How is that handled, and is there some code around that can test this?

Thanks!

--
Al