some job in clock running time maybe 1hour but every tasks running only 30 minuts
can i change priority higher when each task running finish.
then the job will be queue faster
I’m having some trouble understanding. Could you provide an example?
My confusion is the wall clock time being an hour when tasks run in 30 minutes. I assume that each job must only have two tasks in this case, and that can’t be what you mean.
for example:
the job has 40 tasks 20 tasks can finish in 30 minuts
20 tasks can finish in 10 minuts.
but,slave is very busy some tasks in queue.
so the job cannot finish in 1 hour
i change priority
deadline running the job’s tasks immediately
shorten the job running time
PS: my deadline has 160 tasks
Hello,
So let me see if I understand what you’re saying.
Job A has 40 tasks. 20 of the tasks can complete in 30 minutes, while the other 20 complete in about 10 minutes. However due to the jobs in queue taking over slaves, the time from first task starting to last task completing can take a full hour. You would like a way for Deadline to detect the overall job progress, and increase the priority to ensure faster overall completion of the job. Is this correct? Let me know if I understand you properly.
yes!
yes!
Very accurate
Oh boy. I think the only way this might be done is to make an onhousecleaning event script to analyze for job progress and change priority of a job based on it’s progress, but that is something you would need to make yourself. Do you have a coder in house?
the script by py?
i don’t have coder. i will do it myself. i was written a script use PostJobScript=
but i need some help
how i can do this ?
Monitor database?
can i do this without database?