From owner-freebsd-current@FreeBSD.ORG Thu Apr 24 05:55:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC8AC37B410 for ; Thu, 24 Apr 2003 05:55:51 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E4E143FCB for ; Thu, 24 Apr 2003 05:55:41 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id WAA16227; Thu, 24 Apr 2003 22:55:22 +1000 Date: Thu, 24 Apr 2003 22:55:21 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Andre Guibert de Bruet In-Reply-To: <20030423153316.A59991@alpha.siliconlandmark.com> Message-ID: <20030424224359.G25147@gamplex.bde.org> References: <20030423153316.A59991@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Renice idle process to -20 causes hang. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 12:55:52 -0000 On Wed, 23 Apr 2003, Andre Guibert de Bruet wrote: > On the topic of nice for the idle process(es), shouldn't they be running > with the highest allowable value (+20)? Though this has no technical > impact, couldn't they get that nice value for aesthetic purposes? No, since they have a different scheduling policy than all normal niced processes and don't behave like nice -20 (nice = +20) processes. They sort of behave like nice -21 through nice -52 processes. top(1) has a hack which are supposed to display them as having the fake nice values 21 through 52, but it is broken in -current by much the same kernel changes that break the display of rtprio values in ps(1) (see my other reply to this thread). Bruce