From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:23:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1341065671; Fri, 4 Apr 2008 01:23:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA888FC18; Fri, 4 Apr 2008 01:23:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.199] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m341NWk5055028; Thu, 3 Apr 2008 21:23:35 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Thu, 3 Apr 2008 15:24:03 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Jeff Roberson In-Reply-To: <200804040116.m341GJsD074573@repoman.freebsd.org> Message-ID: <20080403152038.W949@desktop> References: <200804040116.m341GJsD074573@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 01:23:40 -0000 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 >