lkml.org 
[lkml]   [2006]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ANNOUNCE][RFC] PlugSched-6.4 for 2.6.18-rc2
From
Date
On Wed, 26 Jul 2006 07:45:33 +0300, Al Boldi said:
> Valdis.Kletnieks@vt.edu 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......)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-07-26 13:31    [W:0.052 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site