Parallel tasks execution on a single render machine

General discussions and questions.
Post Reply
victor
Posts: 22
Joined: Mon May 15, 2017 9:53 am

Parallel tasks execution on a single render machine

Post by victor »

Hi Timur,

We currently realized that running multiple after effects renders on the same machine is the most cost effective way to run distributed rendering.
We proved it my making multiple tests (without afanasy).

Is it possible to configure afanasy such that each render will execute multiple tasks concurrently?

Thx
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Parallel tasks execution on a single render machine

Post by timurhai »

Hi.
Render default capacity is 1000, and task default capacity is 1000.
Render with 1500 capacity can run 1x1000 task + 1x500 task, or 3x500 tasks and so on...
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
victor
Posts: 22
Joined: Mon May 15, 2017 9:53 am

Re: Parallel tasks execution on a single render machine

Post by victor »

how to configure each render to take 4 tasks (so it will run all of them in parallel)?
edwardtwiss
Posts: 7
Joined: Sat May 27, 2017 9:56 pm

Re: Parallel tasks execution on a single render machine

Post by edwardtwiss »

Hi Victor,
Go into the file farm.json or farm_example.json (as it is called originally) in the afanasy folder and change "capacity" on line 38 to for example 4000 or else default capacity times how many tasks you want to run.
As Timur says above that will allow you to run 4 tasks at 1000 capacity or 8 tasks at 500 depending on your setting. I'm using it for rendering on multiple GPUs with one render per GPU and it works well.
Line 39 has the cap for max tasks which currently set to 10.
HTH
victor
Posts: 22
Joined: Mon May 15, 2017 9:53 am

Re: Parallel tasks execution on a single render machine

Post by victor »

Thanks
It start working :)
Post Reply