From: Luc.Vereecken@chem.kuleuven.ac.be (Luc Vereecken)
Newsgroups: comp.parallel.mpi
Subject: Re: lam61: Submitting "niced" jobs
Date: Sun, 07 Feb 1999 19:01:38 GMT
Organization: KULeuvenNet
Message-Id: <36bde1be.75165796@news.kuleuven.ac.be>
References: <799r55$4d24@news.okstate> <79iuvp$rhc@news3.newsguy.com>
Mime-Version: 1.0
Content-Type: text/plain; carset=iso-8859-1
Content-Transfer-Encoding: 8bit
Cache-Post-Path: marvin!unknown@pcjp1.chem.kuleuven.ac.be
Xref: ukc comp.parallel.mpi:4601


On 7 Feb 1999 02:49:29 GMT, Jim West <jcwjcw@emag.ecen.okstate.edu>
wrote:

>
>Thanks to everyone who responded. The solution I ended up going with
>is one I received by email: simply call the nice function within
>program and setting the priority that way. I never even new that
>function existed before now, but it works quite well.
>

I hardly call that a solution; it's merely a work-around. This way the
program decides on the niceness, and not the user who starts the job.
Suppose one gets in a situation where the niceness must be different
for each of the different instances started, or depends on the machine
on which one runs, or just that this particular user uses lower/higher
priorities. 

Some of these situations arise frequently in an environment where some
machines are used interactively (concurrent batch jobs must have low
priority) and others are batch-only, where higher niceness might not
be desirable.

Does anybody have a general solution for the niceness problem, such
that the niceness level can be included in the procfile, and
separately for every client started ?

Luc Vereecken

