Deadline: Submitting a large job in smaller batches

   1767   4   0
User Avatar
Member
6 posts
Joined: April 2019
Offline
I am running a very high quantity of tasks and want to split them up to avoid overloading my Deadline farm. For example, instead of submitting 5,000 tasks, I want to feed my farm 100 tasks and wait until they finish before submitting 100 more.

I've had some luck using a feedback loop and querying my output files to weed out completed tasks. I feel there is probably a smarter way to do this – probably using a Partition by Range – but I haven't quite figured it out.

Any suggestions on best practices to achieve this?

Thanks!
Edited by joshua_krause - Oct. 14, 2019 05:29:59
User Avatar
Member
201 posts
Joined: July 2015
Offline
For frame based stuff you can use the “Frames per Batch option”. I don't think you can use any partitioning, since this will only modify the work items after they were actually generated.

You basically have to look into the job itsself executing multiple tasks as one work item. Depending on whatever your job might me, this probably just takes a small for loop.

Good luck.
Manuel Köster - Senior Technical Artist @Remedy Entertainment

https://www.remedygames.com/ [www.remedygames.com]
http://shadesoforange.de/ [shadesoforange.de]
https://twitter.com/ShadesOfOrange_ [twitter.com]
User Avatar
Member
6 posts
Joined: April 2019
Offline
Thanks for the tips! Unfortunately I'm not doing anything with rendering or frames. The job is basically opening several thousand 3Ds Max files and running scripts on them.

I've noticed that if I output too many tasks at time, Deadline and PDG stop communicating due to a timeout. Firing short bursts is my current approach, but maybe I just need to manually set my ports.
User Avatar
Member
201 posts
Joined: July 2015
Offline
Maybe the generic server adjusted to 3ds max could be an option for you?

Seems like a rough one though. Good luck.
Manuel Köster - Senior Technical Artist @Remedy Entertainment

https://www.remedygames.com/ [www.remedygames.com]
http://shadesoforange.de/ [shadesoforange.de]
https://twitter.com/ShadesOfOrange_ [twitter.com]
User Avatar
Member
571 posts
Joined: May 2017
Offline
joshua_krause
Thanks for the tips! Unfortunately I'm not doing anything with rendering or frames. The job is basically opening several thousand 3Ds Max files and running scripts on them.

I've noticed that if I output too many tasks at time, Deadline and PDG stop communicating due to a timeout. Firing short bursts is my current approach, but maybe I just need to manually set my ports.

Was there a timeout error message that you can post here? We can probably fix it on the scheduler side of things if it is a timeout causing this.
  • Quick Links