Date: Thu, 3 Apr 2008 15:24:03 -1000 (HST) From: Jeff Roberson <jroberson@chesapeake.net> To: Jeff Roberson <jeff@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_ule.c Message-ID: <20080403152038.W949@desktop> In-Reply-To: <200804040116.m341GJsD074573@repoman.freebsd.org> References: <200804040116.m341GJsD074573@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Apr 2008, Jeff Roberson wrote: > jeff 2008-04-04 01:16:18 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > - Allow static_boost to specify no boost with '0', traditional kernel > fixed pri boost with '1' or any priority less than the current thread's > priority with a value greater than two. Default the boost to > PRI_MIN_TIMESHARE to prevent regular user-space threads from starving > threads in the kernel. This prevents these user-threads from also > being scheduled as if they are high fixed-priority kernel threads. This is one of those unfortunate cases where one setting doesn't work for everything and I just had to pick a value in the middle somewhere that makes sense. I am likely to remove this tunable before 8.0 is complete but if you notice any serious regressions please try setting kern.sched.static_boost = 1. Thanks, Jeff > - Restore the setting of lowpri in tdq_choose(). It has to be either here > or in sched_switch(). I accidentally removed it from both places. > > Tested by: kris > > Revision Changes Path > 1.240 +6 -2 src/sys/kern/sched_ule.c >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080403152038.W949>