[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [condor-users] Questions about resource allocation and user priorites...

Michael S. Root wrote:

The thing is, the individual jobs that make up each dag usually only take between 1 and 20 minutes each, but there can be several hundred jobs per dag. Why don't the second user's jobs acquire resources as the first user's dag's individual "sub-jobs" finish, which they do fairly often?

Currently, there is no way to tell Condor you want preemption of resource claims to be considered between job boundaries. However, you _can_ set PREEMPTION_REQUIREMENTS to allow preemption during the first few minutes of a job's life, instead of the default expression which is to allow preemption after the claim has existed for one hour:

(MY.JobStart =?= UNDEFINED) || \
(MY.LastHeardFrom - MY.JobStart) < 10 * 60) || \
(MY.LastHeardFrom - MY.JobStart) > 48 * 60 * 60

The above expression will allow preemption during the first 10 minutes of a job or after an unreasonably long amount of time (in this case 48 hours).

We are currently working on a feature that would accomplish this more gracefully without interrupting jobs shortly after they have begun.

Dan Bradley, Condor Team

Condor Support Information: http://www.cs.wisc.edu/condor/condor-support/ To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with unsubscribe condor-users <your_email_address>