[Bf-committers] changing the max number of threads

Ton Roosendaal ton at blender.org
Wed Jan 24 18:02:10 CET 2007


That will mean coding work, right now there are still places using  
fixed allocated tables per thread. With 8 threads max the memory  
overhead is acceptable, on the edge.
For more threads I would really make it dynamic allocated tables.

And before you start doing that, realize that each thread in Blender  
renders an entire tile. That also means it has to allocate memory for  
the tiles, so having 256 threads will give a lot of overhead extra.

And... not to mention the mutexes in code, which will halt all 256  
threads with a bit bad luck.


On 24 Jan, 2007, at 17:50, Charles Schwalbach wrote:

> Hello,
> Something that I been trying to get some time to do (before the final
> release) is to change the max number of threads from 8 to much higher
> (say 256) for those IRIX people with a large number of processors.
> Would anyone be willing to quickly lay out what needs to be changed
> where so that I can make the big system people happy?
> Thanks in advance,
> Charles
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
Ton Roosendaal  Blender Foundation ton at blender.org  

More information about the Bf-committers mailing list