Announcement

Collapse
No announcement yet.

IPR limit threads ?

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

  • IPR limit threads ?

    Since ipr in cpu mode hogs all available cores making it impossible to work, is there some way we can limit the amount of threads ? lets say you are using a threadripper with 32 or 64 cores and only in ipr you want it to use 16 cores that way everything stays responsive

  • #2
    ​Not that I know of. You can try using VFB's test resolution to lower the requirements for rendering.

    EDIT:
    Forgot to mention you can manually set the VRAY_NUM_THREADS environment variable to limit the thread usage, however, it affects all rendering.

    Another thing you can do is to create a button for this script:
    Code:
    oldthreads=renderers.current.system_numThreads
    renderers.current.system_numThreads=16
    vraystartIPR()
    renderers.current.system_numThreads=oldthreads​
    It will reduce the number of used threads, start IPR, and afterwards return the old value.
    Or you can manually set the threads (renderers.current.system_numThreads=16) and when you're done return it to its default (usually 0).
    Last edited by hermit.crab; 20-05-2024, 01:35 AM.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment

    Working...
    X