Run multiple 3ds Max simultaneously with dedicated CPU threads for each

Run multiple 3ds Max simultaneously with dedicated CPU threads for each

Babak.njf
Explorer Explorer
811 Views
2 Replies
Message 1 of 3

Run multiple 3ds Max simultaneously with dedicated CPU threads for each

Babak.njf
Explorer
Explorer

Hi,

 

I have a python script to build meshes in max. Because multiprocessing won't help and they don't need to be in a single max project, I want to run multiple 3ds Max apps to execute this script individually for each section to speed up the whole process. But for example running 2 apps slows down each process, almost twice slower.

 

How is it possible to run each 3ds max with dedicated and separate thread/s!? or is there another solution!?

 

Thanks

0 Likes
812 Views
2 Replies
Replies (2)
Message 2 of 3

senorpablo
Advocate
Advocate

That doesn't make sense to me. How many cores does your CPU have? 

 

I run multiple instances of Max to do processing with maxscript tools, and the performance is linear. I can run about 10 instances on my 6 core/12 processor machine before maxing out the CPU and noticing a performance hit on any of the individual instances of Max.

 

Perhaps the python portion of the work is the bottleneck, and python is multithreaded?

 

 

Message 3 of 3

Babak.njf
Explorer
Explorer

Hey, thanks for the comment.

 

I just did a quick test with a simpler maxscript (and also the same python version) with the run of 5 instances and as you said pretty much the same speed.


I got the same 6 core/12 processor. The main python code is not multithreaded, but gets the input data from the cloud. This could be the problem, or loading the maps from the local drive. I am troubleshooting to find out the issue.

 

Thanks again

Cheers

0 Likes