Re: [ANNOUNCE][RFC] PlugSched-6.4 for 2.6.18-rc2

From: Valdis . Kletnieks
Date: Wed Jul 26 2006 - 07:26:21 EST

On Wed, 26 Jul 2006 07:45:33 +0300, Al Boldi said:
> Valdis.Kletnieks@xxxxxx wrote:

> > On an SMP system, you can have one CPU doing one class of scheduling (long
> > timeslice for computational, for example), while another CPU is dedicated
> > to doing RT scheduling, and so on. It's not clear to me that "different
> > classes per CPU" makes any real sense on a UP....
> Conceptually there should be no difference between UP and MP.
> Think HyperThreading.

Which is why a UP kernel can schedule on both sides of an HT core.

Yeah, I got it now. ;)

An HT core still *has* "the other instruction stream" it can schedule
differetly. You can't say "We'll schedule this one this way and that other
one that way" when there *is* no "that other one".

(And if you look at the current code, you'll realize that HT is conceptually
different from both UP *and* MP - go look at the places where the *current*
scheduler is HT-aware, and how that was a big win over when it thought each
HT was a fully capable MP......)

Attachment: pgp00000.pgp
Description: PGP signature