Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Massimo Gais <mgais@na.astro.it>
Subject: Re: nicelevel 20
Date: 1999/07/22	[thread overview]
Message-ID: <3796C1D1.2A1F9CCA@na.astro.it> (raw)
In-Reply-To: 379639F8.1339849B@debussy.ucsc.edu

Helmut Katzgraber wrote:
> 
> hi there.
> 
> i have a question: on my alpha running rh 6.0 i can renice jobs to
> nicelevel 20, whereas on an intel with the same os i only can get as
> high
> as 19. has anybody a suggestion how i can renice something to 20 (i.e. i
> want it to comfortably rest while other stuff is running) on rh
> 6.0-intel?
> 
> in fact i just tested it: if i start a job on an intel, and type
> 
>         renice 20 PID
>         top
> 
> top shows only nicelevel 19. the same situation on the alpha gives the
> desired nicelevel 20 when i run top.
> 

Why do you want to nice just to 20? Nice levels are *relative* so, 
except if you have another process 'niced' to 19, your program
"eat" the same cpu load if at level 19 or 20.
IMHO the nice level doesn't fix a cpu % load, just reschedule process
priority, so my personal hint is to use the "standard" 19 level
everywhere.
 
Regards
-- 
Massimo Gais                               <mgais@na.astro.it>
----
                          "True programmers never die, 
                           they just branch to an odd address..."



  parent reply	other threads:[~1999-07-22  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-21  4:00 nicelevel 20 Helmut Katzgraber
1999-07-22  4:00 ` Stuart R. Fuller
1999-07-23  4:00   ` John Drohan
1999-07-22  4:00 ` Massimo Gais [this message]
1999-07-26  4:00   ` rsimpson
1999-07-26  4:00     ` Helmut Katzgraber
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox