From owner-freebsd-questions Mon Mar 9 11:23:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA10675 for freebsd-questions-outgoing; Mon, 9 Mar 1998 11:23:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA10556 for ; Mon, 9 Mar 1998 11:22:32 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA05146; Mon, 9 Mar 1998 11:22:21 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 9 Mar 1998 11:22:21 -0800 (PST) From: Doug White Reply-To: Doug White To: Hrvoje Husic cc: questions@FreeBSD.ORG Subject: Re: Bug in the process-scheduler & niceness of 20? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Mar 1998, Hrvoje Husic wrote: > >Make sure the process is set to idle priority then. > > So what is niceness used for in FreeBSD, if it does not make processes nice? Process priority in FreeBSD is two-dimensional: there are three main queues, realtime, normal, and idle. Realtime processes will never be preempted except by a process with higher priority, an idle processes will never run unless there are no processes ready to run in the realtime or normal queues. See idprio(8) for info. Niceness controls scheduling within in each queue. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message