Page 1 of 1

choose CPU thread number

Posted: Wed Jun 08, 2022 12:35 pm
by tristan.cordeboeuf
Hello !
is there a way to have multiple render instance on a same computer but with the possibility to choose different thread on each instance
for exemple :
I wan't to launch a ziva simulation but ziva is optimized for 8 thread, my computer has 28 thread that mean I can launch 3 instance a the same time
but if I use the capacity system that mean it will launch 3 ziva sim but each sim will use the 28 thread.
Is there a plan to do that on the futur update?

Re: choose CPU thread number

Posted: Wed Jun 08, 2022 1:07 pm
by timurhai
Hello!
Afanasy has no limit for a number of threads that task processes can run on.
And there are no plans to implement it in the near future.
Such an issue is not so rare. We and others face it periodically.
And almost in all cases soft can do this limit in scene (simulation) settings. Sometimes the maximum number of threads can be specified by a command line flag.
Also may be a command wrapper can be created that setup the environment somehow to limit threads, then run a command.

Re: choose CPU thread number

Posted: Fri Jun 10, 2022 9:49 am
by tristan.cordeboeuf
ok thanks for the reply !