Re: ULE/yielding patch for testing.

From: Pieter de Goeje <pieter_at_degoeje.nl>
Date: Wed, 3 Oct 2007 05:18:42 +0200
On Wednesday 03 October 2007, Jeff Roberson wrote:
> Enclosed is a patch that does two things:
>
> 1)  Reduces UP context switch time by over 10% making it faster than 4BSD
> on UP.  On SMP it's hard to compare since ULE can do as many as 30x as
> many switches per second on my 8way system.
>
> 2)  Restores old sched_yield() behavior from 6.x.  This was changed in
> -current unintentionally I think.
>
> I'd appreciate any extra testing.  The ULE context switch time
> improvements required some changes to the frequency that we recalculate
> priorities.  I'm mostly interested in hearing whether this causes any
> regression in normal workloads.
>
> Those of you still using 4BSD can also verify that the yield changes don't
> cause any problems there.
>
> Thanks,
> Jeff
No problems so far :) Seems to work great. I didn't see the (unrelated?) panic 
Yuri Pankov spoke of.

Testing was done on UP am64, running KDE, kmail while listening to music and 
compiling some ports. I haven't tried to run a fork bomb yet.

Cheers,
Pieter de Goeje
Received on Wed Oct 03 2007 - 01:19:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC