LIGO Support Ticket 17191

Ticket Information
  Number:      admin 17191
  User:        anderson@ligo.caltech.edu
  Email:       skoranda__AT__gravity.phys.uwm.edu
  Status:      open
  Assigned To: gthain
Date: Fri, 9 Nov 2007 17:15:44 -0800
From: Stuart Anderson <anderson__AT__ligo.caltech.edu>
To: condor-admin__AT__cs.wisc.edu
CC: Scott Koranda <skoranda__AT__gravity.phys.uwm.edu>
Subject: LIGO: LOCAL_UNIV_RENICE_INCREMENT RFE
X-Seen-BY: mailfromd 4.1 silica.cs.wisc.edu

I would like to be able to give Local universe jobs a very low priority
(high nice value) value without doing the same for standard and vanilla
universe jobs.  Currently local universe jobs are reniced according to
JOB_RENICE_INCREMENT. Please consider adding a local universe specific
setting, e.g., LOCAL_UNIV_RENICE_INCREMENT.

Thanks.

-- 
Stuart Anderson  anderson__AT__ligo.caltech.edu
http://www.ligo.caltech.edu/~anderson

===========================================================================
Date of creation: Fri Nov  9 19:16:01 2007 (1194657363)
Subject: Actions

Assigned to gthain by gthain
===========================================================================
Date of actions: Mon Nov 12  9:32:49 2007 (1194881569)
Date: Mon, 12 Nov 2007 09:36:36 -0600
From: Greg Thain <gthain__AT__cs.wisc.edu>
To: condor-admin__AT__cs.wisc.edu
Subject: Re: [condor-admin #17191] LIGO: LOCAL_UNIV_RENICE_INCREMENT RFE


> I would like to be able to give Local universe jobs a very low priority
> (high nice value) value without doing the same for standard and vanilla
> universe jobs.  Currently local universe jobs are reniced according to
> JOB_RENICE_INCREMENT. Please consider adding a local universe specific
> setting, e.g., LOCAL_UNIV_RENICE_INCREMENT.

Stuart:

I think this is a great idea, and I'll put it on the list of things to 
go into the next development release.  However, I'm surprised that you 
are running both vanilla and local jobs on the same machine?  Is you 
submit machine also an execute machine?  Or do you just want to share 
config files across execute and submit machines?

-Greg

===========================================================================
Date mail was appended: Mon Nov 12  9:36:48 2007 (1194881809)
Subject: Actions

Ticket resolved by gthain
===========================================================================
Date of actions: Mon Nov 12 19:32:00 2007 (1194917520)
Subject: Actions

Ticket was reopened by mailnull
===========================================================================
Date of actions: Mon Nov 12 19:50:19 2007 (1194918619)
Date: Mon, 12 Nov 2007 17:49:57 -0800
From: Stuart Anderson <anderson__AT__ligo.caltech.edu>
To: condor-admin response tracking system <condor-admin__AT__cs.wisc.edu>
CC: skoranda__AT__gravity.phys.uwm.edu
Subject: Re: [condor-admin #17191] LIGO: LOCAL_UNIV_RENICE_INCREMENT RFE
X-Seen-BY: mailfromd 4.1 granite.cs.wisc.edu

On Mon, Nov 12, 2007 at 09:36:48AM -0600, condor-admin response tracking system wrote:
> 
> > I would like to be able to give Local universe jobs a very low priority
> > (high nice value) value without doing the same for standard and vanilla
> > universe jobs.  Currently local universe jobs are reniced according to
> > JOB_RENICE_INCREMENT. Please consider adding a local universe specific
> > setting, e.g., LOCAL_UNIV_RENICE_INCREMENT.
> 
> Stuart:
> 
> I think this is a great idea, and I'll put it on the list of things to 
> go into the next development release.  However, I'm surprised that you 
> are running both vanilla and local jobs on the same machine?  Is you 
> submit machine also an execute machine?  Or do you just want to share 
> config files across execute and submit machines?

The later.

Thanks.

-- 
Stuart Anderson  anderson__AT__ligo.caltech.edu
http://www.ligo.caltech.edu/~anderson

===========================================================================
Date mail was appended: Mon Nov 12 19:50:19 2007 (1194918619)
Date: Tue, 13 Nov 2007 10:20:15 -0600
From: Greg Thain <gthain__AT__cs.wisc.edu>
To: condor-admin__AT__cs.wisc.edu
Subject: Re: [condor-admin #17191] LIGO: LOCAL_UNIV_RENICE_INCREMENT RFE


>> I think this is a great idea, and I'll put it on the list of things to 
>> go into the next development release.  However, I'm surprised that you 
>> are running both vanilla and local jobs on the same machine?  Is you 
>> submit machine also an execute machine?  Or do you just want to share 
>> config files across execute and submit machines?
> 
> The later.

After looking at the code, it turns out that JOB_RENICE_INCREMENT is 
evaluated as an expression in the context of the job.  So, you can say 
today:

JOB_RENICE_INCREMENT = ifThenElse(JobUniverse==12, 10, 0)

So if the JobUniverse is 12 (local), then JOB_RENICE_INCREMENT will be 
10, otherwise it will be zero.

-Greg

===========================================================================
Date mail was appended: Tue Nov 13 10:20:27 2007 (1194970828)