Announcement

Collapse
No announcement yet.

Render threads and thread priority query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Render threads and thread priority query

    Been wondering about how these two settings work in detail for a while. Both the UI popups and the help docs only say:


    Max render threads – Determines how many threads will be used by V-Ray for rendering. When this value is set to 0, V-Ray will use all the CPU cores available on the machine.

    Low thread priority – When enabled, the rendering process will have a lower thread priority to allow other processes to run faster.


    My questions are:

    If Max Render Threads is set to a value other than 0, how does this affect the number of threads that are launched when running DR with other machines directly into the VFB? Does this value get applied globally to all machines (i.e. if it's set to 30, only 30 threads will be launched in total), or is the value applied independently to each of the render nodes (30 to each machine)? If the latter, I assume if any node has less than this number all threads will be used? Is there any way to set a value here that explicitly EXCLUDES a certain number of threads from the render, in much the same way that entering a negative value into Dynamic Memory Limit will use everything except that amount? This would be very useful.

    Low Thread Priority -- I've noticed that checking this box seems to slow down renders significantly, even when a machine is left alone to render and nothing else should be using much CPU power. Any suggestions as to why this could be?



  • #2
    Max render threads only affects the machine where this is set. For DR, there's a -numThreads that can be set to the vray server (e.g. vray -server - numThreads).
    If the value is more than the number of threads on the machine - all threads will be used.
    We don't have a way to exclude a specific number of threads at the moment. I'll run an internal discussion to see if that's easily doable and log a request.

    Low thread priority will slow down the renderer, as there may be system processes that take over by priority.
    Alex Yolov
    Product Manager
    V-Ray for Maya, Chaos Player
    www.chaos.com

    Comment

    Working...
    X