From owner-freebsd-current@FreeBSD.ORG Thu Jan 3 19:21:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE40D16A418 for ; Thu, 3 Jan 2008 19:21:18 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id 520C713C4E8 for ; Thu, 3 Jan 2008 19:21:18 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m03JL5B6013293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jan 2008 06:21:08 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m03JL5vJ051541; Fri, 4 Jan 2008 06:21:05 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m03JL4Wk051540; Fri, 4 Jan 2008 06:21:04 +1100 (EST) (envelope-from peter) Date: Fri, 4 Jan 2008 06:21:04 +1100 From: Peter Jeremy To: Jeff Roberson Message-ID: <20080103192104.GS947@server.vk2pj.dyndns.org> References: <20071223092332.GJ25002@server.vk2pj.dyndns.org> <476F81AF.7000505@gmail.com> <20080101190607.B957@desktop> <20080102105049.GA903@server.vk2pj.dyndns.org> <20080102033011.P957@desktop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF" Content-Disposition: inline In-Reply-To: <20080102033011.P957@desktop> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: idle priority scheduling broken in 7.0-BETA4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Jan 2008 19:21:18 -0000 --UPT3ojh+0CqEDtpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 02, 2008 at 03:31:34AM -1000, Jeff Roberson wrote: >ah, I'm sorry. the new line with PRI_FIFO should read PRI_FIFO_BIT. I=20 >tested the patch but not with any idle prio tasks that run forever. That seems to work and I don't see any problems with it. There were seven watchdog restarts over about 3/4 hr whilst the system was doing a buildworld but this is probably not completely unreasonable. One oddity I noticed is that setiathome (unlike einstein@home) has one thread that seems to have lost the idle bit (though that thread appears to just idle). This is equivalent to a process increasing its priority so I wouldn't have expected it. PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND 51503 boinc 171 i31 39944K 33052K RUN 3:43 100.00% setiathome-5.= 27.i 51503 boinc 8 19 39944K 33052K nanslp 3:43 0.00% setiathome-5.2= 7.i3 10 root 171 ki31 0K 8K RUN 2:51 0.00% idle 4 root -8 - 0K 8K - 0:54 0.00% g_down Let me know if you really want to get boinc working for yourself. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --UPT3ojh+0CqEDtpF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHfTWg/opHv/APuIcRAvsmAJ9yBXh2tG9Hga12f5Jt6aSTDv+l5gCfdD+B xF69o9BWnCLAIxjftaCWNFg= =rBPY -----END PGP SIGNATURE----- --UPT3ojh+0CqEDtpF--