Re: [PATCH] for SCHED_ULE & libpthread issue (was Re: I like SCHED_4BSD)

From: Peter Schultz <pmes_at_bis.midco.net>
Date: Fri, 12 Mar 2004 13:12:41 -0600
Taku YAMAMOTO wrote:
> Unfortunately, due to over-optimization in sched_switch(), SCHED_ULE doesn't
> give reasonable CPU time to the threads which are using scheduler activation.
> 
> Detailed analisis is described in my previous message posted to current_at_:
> 	"SCHED_ULE sometimes puts P_SA processes into ksq_next unnecessarily"
> 	<20040213063139.71298ea9.taku_at_cent.saitama-u.ac.jp>
>  or
> 	http://docs.freebsd.org/cgi/mid.cgi?20040213063139.71298ea9.taku
> , which didn't get broader audience :(
> 
> Until the problem is fully addressed, I will propose following patch
> to be applied. (the least intrusive one attached in the former message)
> 

This patch improves interactivity under heavy load very much.

Thanks,
Pete...
Received on Fri Mar 12 2004 - 10:12:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC