*BSD News Article 85166


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!op.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!howland.erols.net!usc!newshub.cts.com!news1.crl.com!nexp.crl.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc,muc.lists.freebsd.questions
Subject: Re: FreeBSD 2.1.6: Why are things getting reniced automatically ?
Date: Wed, 18 Dec 1996 08:08:25 -0800
Organization: Walnut Creek CDROM
Lines: 15
Message-ID: <32B816F9.794BDF32@FreeBSD.org>
References: <594f8l$a3p@piglet.cc.utexas.edu>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 3.0-CURRENT i386)
To: Doug McLaren <dougmc@ccwf.cc.utexas.edu>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32751

Doug McLaren wrote:
> In any event, after a process accumulates a certain amount of cpu
> time, it's reniced to 4.  The value of `certain amount of cpu time'
> appears to be around 20 minutes.

Yep, the scheduler does that to you automatically.  I don't, offhand,
see an option for turning it off. :-)

> (A workaround would be to renice everything to `1', of course ...)

Or use rtprio(1) if you simply want to put the processes on a different
scheduling queue altogether.
-- 
- Jordan Hubbard
  President, FreeBSD Project