svn commit: r219003 - head/usr.bin/nice

John Baldwin jhb at freebsd.org
Thu Feb 24 18:48:27 UTC 2011


On Thursday, February 24, 2011 11:13:33 am Remko Lodder wrote:
> Author: remko
> Date: Thu Feb 24 16:13:33 2011
> New Revision: 219003
> URL: http://svn.freebsd.org/changeset/base/219003
> 
> Log:
>   Add wording about the priority range and
>   mention what effect this has at certain
>   values.
>   
>   PR:		124469
>   Obtained from:	NetBSD nice.1 v1.14
>   MFC after:	1 week
> 
> Modified:
>   head/usr.bin/nice/nice.1
> 
> Modified: head/usr.bin/nice/nice.1
> 
==============================================================================
> --- head/usr.bin/nice/nice.1	Thu Feb 24 14:56:12 2011	(r219002)
> +++ head/usr.bin/nice/nice.1	Thu Feb 24 16:13:33 2011	(r219003)
> @@ -28,7 +28,7 @@
>  .\"	@(#)nice.1	8.1 (Berkeley) 6/6/93
>  .\" $FreeBSD$
>  .\"
> -.Dd June 6, 1993
> +.Dd February 24, 2011
>  .Dt NICE 1
>  .Os
>  .Sh NAME
> @@ -50,6 +50,11 @@ value by the specified
>  .Ar increment ,
>  or a default value of 10.
>  The lower the nice value of a process, the higher its scheduling priority.
> +.Ar increment .
> +The priority can be adjusted over a range of -20 (the higest) to 20 (the
> +lowest).
> +A priority of 19 or 20 will prevent a process from taking any cycles from
> +others at nice 0 or better.

Are you sure that this statement applies to both ULE and 4BSD?  The two 
schedulers treat nice values a bit differently.

-- 
John Baldwin


More information about the svn-src-all mailing list