On Thu, Feb 23, 2017 at 09:30:20AM +0900, Sangmin Park wrote: > Yes, it is. > I can handle the number of running jobs using resource quota policy. > However, the number of queue waiting jobs can't. > Basic rule is FIFO, so if one user submits hundre of jobs, another user > has to wait long time. > Is there no way to do this in SGE? max_u_jobs does approximately what you want but doesn't stop someone submitting an array job with lots of tasks which has a similar effect. You could defacto block arrayjobs by setting max_aj_tasks to 1 but you might not want to do that. Also max_u_jobs is global ie the limit is the same for all users.
If you want fair share you could use the functional share or sharetree policies but these produce non-FIFO behavior. You could mix either of these policies with some weight given to waiting time to produce something that aproximates what you want. If you want to control total number of tasks as opposed to jobs then you could have a jsv run an appropriate qstat command and reject jobs from a user if they have too many tasks queued. In general you can implement any policy you like for job submission from a jsv the question is whether you should. > On Wed, Feb 22, 2017 at 7:19 PM, Reuti <re...@staff.uni-marburg.de> wrote: > > Usually the fair share police targets only running jobs. > Love the concept of fair share police. Arresting people who exceed their fair share of the cluster... William
signature.asc
Description: Digital signature
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users