Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 1998 11:22:21 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Hrvoje Husic <H.Husic@Uni-Koeln.DE>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Bug in the process-scheduler & niceness of 20?
Message-ID:  <Pine.BSF.3.96.980309111855.5101E-100000@gdi.uoregon.edu>
In-Reply-To: <Version.32.19980309124335.00f3d660@mail.rrz.uni-koeln.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980309111855.5101E-100000>