Author Topic: Assigning threads in Corona  (Read 1040 times)

2021-08-10, 12:21:29

ArnaudL

  • Active Users
  • **
  • Posts: 7
    • View Profile
Hello,

Currently if  the IR thread count or the rendering thread count is lowered by for example 10 percent, you would expect the renderer to use 90 percent of the threads at 100 percent speed. What actually happens is that corona uses 100 percent of the threads at 90 percent speed. Im not at all familiar with computer science, but doesn't this leave max with only 10 percent power per thread for single-threaded processes, therefore very slow IR performance? In my head it would make more sense to just disable a few threads in the renderer and leave max with as many full threads as possible. Am i missing something here, or is there another way to do this that would leave us with better IR performance?

Kind regards & thanks in advance

EDIT...  thanks to admins for moving my post :)
« Last Edit: 2021-08-10, 12:34:48 by ArnaudL »

2021-08-10, 17:36:23
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12780
  • Marcin
    • View Profile
I just checked with our devs to make sure I don't say something stupid and the short answer is:
This is up to the OS.

The more detailed version would be that there are "CPU threads" and "OS threads". There are some articles about this online:
https://www.d.umn.edu/~gshute/os/processes-and-threads.html
https://www.quora.com/What-is-the-difference-between-CPU-thread-and-OS-thread
https://stackoverflow.com/questions/5593328/software-threads-vs-hardware-threads/5593432

Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-10, 18:31:53
Reply #2

ArnaudL

  • Active Users
  • **
  • Posts: 7
    • View Profile
Thank you for your response,
I see,

so does this mean that lowering the rendering thread count in the corona settings therefore offers little benefit to in reducing stuttering in 3ds max while IR rendering? Or do you still recommend operating at 90-95 percent '' threads '' during IR rendering instead of 100 percent to free up some '' threads'' for 3ds max? I hope I'm making sense haha.