From owner-freebsd-performance@FreeBSD.ORG Wed Apr 9 06:07:07 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D13237B401 for ; Wed, 9 Apr 2003 06:07:07 -0700 (PDT) Received: from wabakimi.chat.carleton.ca (wabakimi.chat.carleton.ca [134.117.1.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF6243FAF for ; Wed, 9 Apr 2003 06:07:06 -0700 (PDT) (envelope-from creyenga@connectmail.carleton.ca) Received: from fireball (terry.cavern.carleton.ca [134.117.93.187] (may be forged))h39D75OR016857 for ; Wed, 9 Apr 2003 09:07:05 -0400 (EDT) Message-ID: <000701c2fe98$f0cc4c40$0200000a@fireball> From: "Craig Reyenga" To: Date: Wed, 9 Apr 2003 09:07:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Users and setpriority() X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 13:07:07 -0000 X-List-Received-Date: Wed, 09 Apr 2003 13:07:07 -0000 First on topic post! Currently, setpriority() doesn't allow non- uid 0 users to use a nice value above 0. If you set "priority" in /etc/login.conf to a higher value, all you are doing is making every stinking process on the system run at that value initially, which is a disaster. My question is: Is there, or will there be a facility to allow certain non-root users to set higher/raise nice values? This would be a dream for desktop machines where there is essentially one user, because that user could have a non-zero uid, and control of process scheduling. -Craig