"Nice" or not to "nice" large jobs
William LeFebvre
phil at eecs.nwu.edu
Fri May 17 00:59:27 AEST 1991
In article <3197 at sparko.gwu.edu>, sheryl at seas.gwu.edu (Sheryl Coppenger) writes:
|> I have a user challenging that policy on the grounds that UNIX
|> will take care of it automatically.
Tell the user s/he is wrong.
The VAX BSD system (4.1 and 4.2, not sure about 4.3) would automatically
renice any process that exceeded 10 CPU minutes to a nice of 10. Note
that the default for the "nice" command is 4, so it was in a user's best
interests to use the "nice" command explicitly.
SunOS does NOT do this. There are times when I wish it did.
Furthermore, if there is a CPU intensive or paging intensive or
(I think even) an i/o intensive process running, interactive performance
is *noticeably* degraded. Get about 2 or 3 of them running and you
have a system that crawls for the interactive users. But, renice all
three of those hog processes to even 4 and interactive use is once
again snappy.
So even on the VAX you had to put up with about 20 minutes of "hell"
before the system would renice the offending process.
Your policy is a good one. Stay with it. Users who are going to
run long-term jobs should take the responsibility on themselves to
insure that the process does not interfere with smooth interactive
activity.
William LeFebvre
Computing Facilities Manager and Analyst
Department of Electrical Engineering and Computer Science
Northwestern University
<phil at eecs.nwu.edu>
More information about the Comp.unix.internals
mailing list