[Bf-committers] changing the max number of threads

Renato Perini rperini at email.it
Wed Jan 24 18:43:57 CET 2007


I'm wondering if using OpenMP will be feasible in the future for Blender 
development, to solve "easily" this kind of tasks.
GCC 4.2 is around the corner, with full OpenMP 2.0 compliance for C, C++ 
and Fortran...

Ton Roosendaal ha scritto:
> Hi,
>
> 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.
>
> -Ton-
>
> 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 http://www.blender.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi clicca qui
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2907&d=24-1


More information about the Bf-committers mailing list