From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 17:44:19 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 7F12E106566B for ; Tue, 12 Apr 2011 17:44:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id CA0E615615E; Tue, 12 Apr 2011 17:44:18 +0000 (UTC) Message-ID: <4DA48F74.3050403@FreeBSD.org> Date: Tue, 12 Apr 2011 10:44:20 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: "J. Hellenthal" References: <20110412083905.GA94801@DataIX.net> In-Reply-To: <20110412083905.GA94801@DataIX.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: portmaster patch, nice -> renice X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 17:44:19 -0000 On 4/12/2011 1:39 AM, J. Hellenthal wrote: > > Hi Doug, > > Not that this is much a improvement but thought youd like to be informed > of it. I usually try to refrain whenever possible from calling utilities > like nice(1) or renice(1) and let processes inherit their niceness be > inherited from the parent process. This patch does that very thing for > portmaster. Thank you for your suggestion, however at this point it's only the make processes (which can often run for extended periods) that I want subjected to giving up their priority. The rest of the script should be run at the defaults. Users who want the behavior you describe can run nice in the shell. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/