From owner-freebsd-hackers Tue May 18 10:18:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 5E65214EDB for ; Tue, 18 May 1999 10:18:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id MAA61509; Tue, 18 May 1999 12:17:48 -0500 (CDT) (envelope-from dan) Date: Tue, 18 May 1999 12:17:48 -0500 From: Dan Nelson To: Wes Peters Cc: Stefan Bethke , Kris Kennaway , "Ueda, Kazukiyo" , hackers@FreeBSD.ORG Subject: Re: Seti project / stats reset, new version available Message-ID: <19990518121747.A61302@dan.emsphone.com> References: <224739.3136033369@d225.promo.de> <37419AF0.93569574@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <37419AF0.93569574@softweyr.com>; from "Wes Peters" on Tue May 18 10:53:04 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 18), Wes Peters said: > Stefan Bethke wrote: > > Would you suggest a different default nice level, then, and what > > should it be? > > RTP_PRIO_IDLE of course. See rtprio(2). > > > One can easily modifiy ${PREFIX}/etc/rc.d/setiathome.sh to run it > > -with nice 100, and I'm open to making a level other that 1 the > > -default. > > In that case, make the start script run it at idprio: > > idprio setiathome > > Phew! That was tough, huh? ;^) Problem is that idprio isn't safe. I used to idprio the rc5client, but within a day or do the machine would lock up. Rc5client would get a lock on the root of the filesystem at idprio, and if there was another process running at 100% CPU, rc5client would never get a chance to unlock, causing all the other processes on the system to hang. See PR kern/5641. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message