Re: GRR!! SMP=1 sucks

Jon Evans (linker@nightshade.ml.org)
Thu, 9 Apr 1998 18:54:20 -0400 (EDT)


On Thu, 9 Apr 1998, Alan Cox wrote:

> > FPU) and it should be marked as only runable on CPU A.. Then the kernel
> > should do it's thing and decide if it want's to run the task again.. If so
> > then it does.. If not then it saves the FPU state and marks it runnable on
> > either cpu..
>
> The problem is CPU's make their own indepedant scheduling decisions so CPU
> B decides 'I need to run this' and has to signal CPU A to save the FPU
> context and wait for it. I tried this in 2.0.x and it was much slower for
> most things I tried. Partly perhaps because I should have played with
> the scheduler weightings in hindsight

Okay.. How about this...

Process stops running on CPU A..
Kernel leaves leaves process table alone (IE doesn't make the process
avail to CPU B)
Kernel reschdules.
If it's not going to rerun the process it then changes the process tables
and make it runnable..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu