From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 15:51:20 2004 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 9187016A4CF for ; Thu, 29 Jan 2004 15:51:20 -0800 (PST) Received: from mta5-svc.business.ntl.com (mta5-svc.business.ntl.com [62.253.164.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FED43D55 for ; Thu, 29 Jan 2004 15:51:13 -0800 (PST) (envelope-from bruce@cran.org.uk) Received: from box1.cran ([82.3.77.92]) by mta5-svc.business.ntl.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040129235112.OSB7725.mta5-svc.business.ntl.com@box1.cran> for ; Thu, 29 Jan 2004 23:51:12 +0000 Received: from box1.cran (localhost.cran [127.0.0.1]) by box1.cran (8.12.10/8.12.10) with ESMTP id i0TNog0n001511 for ; Thu, 29 Jan 2004 23:50:42 GMT (envelope-from brucec@box1.cran) Received: (from brucec@localhost) by box1.cran (8.12.10/8.12.10/Submit) id i0TNogRN001510 for freebsd-current@freebsd.org; Thu, 29 Jan 2004 23:50:42 GMT (envelope-from brucec) Date: Thu, 29 Jan 2004 23:50:42 +0000 From: Bruce Cran To: freebsd-current@freebsd.org Message-ID: <20040129235042.GA1424@box1.cran> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: ULE and idprio programs 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, 29 Jan 2004 23:51:20 -0000 I've found a problem which manifests itself when running an idprio task and then certain other programs such as mutt, pkgdb, portupgrade, ssh etc. When I run mprime nice 20, and then put it into any idprio state, the programs run for a bit, and then stop. For example, pkgdb hangs in a [runnable] state, while mutt stops as it's just finishing processing the mbox file. I've only done some testing using SCHED_ULE on FreeBSD 5.2-CURRENT from 28th Jan - I can try SCHED_4BSD if needed. On a related note, I see that only root can specify a process to use idle CPU time now - is there any way for an ordinary user to do this, like they used to be able to do by using a nice value of +20? -- Bruce Cran