low thread priority on render server

Is there any way to start spawner and 3ds max on render server with low thread priority?
Any command line parameter or environment variable or something?

Low Thread Priority option works only for the workstation machine.
You can Set Affinity for VraySpawner from Windows Task Manager for that purpose.

This topic has been discussed also here:
http://forums.chaosgroup.com/showthread.php?76918-Distributed-Rendering-Questions-script-to-turn-spawner-on-processor-affinity&highlight=set+affinity+spawner

This is good to know. I’d been checking off low priority recently for DR jobs thinking it would ease the cpu usage in DR.

Would be cool to have an option for that int he render dialog though :slight_smile:

if you start spawner through a .cmd file you can declare a command -belownormal this will run any process in below normal state so you dont have to change it in taskmanager everytime.

There is environment variable “VRAY_NUM_THREADS” for V-ray for Maya.
Is this variable working with max V-ray?

Yes - this variable works in V-Ray for 3DSMax as well.
Please note that this variable will set how many threads will be used by V-Ray during the rendering which is not the same thing as low thread priority.

You can put a small scrupt in plugins folder (on each machine or on network for everyone) with that :

sysInfo.MAXPriority = #low

thanks for answers

I know but this is very usefull too..

I searched internet and found that this script should be named “priority.ms” and should be placed in scripts/startup folder.
http://area.autodesk.com/blogs/ken/how\_to\_change\_the\_rendering\_priority\_of\_3ds\_max
Anyway - thanks for suggestions…

You don’t have to name it like that, or place it in a particular folder, just a folder that load scripts at startup. You can even put this line of code anywhere in any other startup script.