Skip to contentSkip to conversation

set_cpus_allowed() for 2.4

PATCH [email protected] 1 participant 1 message Dec 9, 2002

lore
Share & tools
lore
#0 lore raw

I confirm that 2.5 is much much much better. On a dual Pentium pro@180MHz i had 48 lames encoding wave to mp3 and X where responding as nothing has happening.... With 2.4 kaboom! Even the mouse slows down!

Nice work Ingo ;)

George

Quoted 2 lines · Andrew Morton

Yes, thanks. Will we also be seeing the "interactivity estimator" fixes in 2.5?

yes, but i'd like to clarify one more thing - worst-case O(1) interactivity indeed is indeed very jerky (eg. the fast window moving thing you noticed), but the normal behavior is much better than the old scheduler's. Just try compiling the kernel with make -j4 under stock 2.4 and _everything_ in X will be jerky. With the O(1) scheduler things are just as smooth as on an idle system - as long as your application does not get rated CPU-intensive. [which happens too fast in the case you described.] So we do have something in 2.5 that is visibly better in a number of cases, and i want to preserve that - while fixing the corner-cases discussed here. I'm working on it.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/