Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 1997 01:05:59 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jonny@coppe.ufrj.br (Joao Carlos Mendes Luis)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Process scheduling: nice does not work ???
Message-ID:  <199712090105.SAA24889@usr01.primenet.com>
In-Reply-To: <199712082219.UAA13229@gaia.coppe.ufrj.br> from "Joao Carlos Mendes Luis" at Dec 8, 97 08:19:31 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>   I've been doing some test with cpu-intensive scheduling in FreeBSD
> 2.2-stable, when I found what seems to be an error in the scheduler.


Standard UNIX priorities work like this:

				prio	20	19	18	17	...
					^	^	^	^
IF something here run it ---------------'	|	|	|
ELSE IF something here run it ------------------'	|	|
ELSE IF something here run it --------------------------'	|
ELSE IF something here run it ----------------------------------'
...

Note: these are base priorities, which the system will adjust based on
I/O vs. CPU utilization.


Your processes must have both been I/O bound.

FreeBSD is doing what it's supposed to.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712090105.SAA24889>