[PATCH] for SCHED_ULE & libpthread issue (was Re: I like
SCHED_4BSD)
Peter Schultz
pmes at bis.midco.net
Fri Mar 12 11:12:44 PST 2004
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@:
> "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...
More information about the freebsd-current
mailing list