Blender Git Loki

Git Commits -> Revision fbae1c9

Revision fbae1c9 by Juan Gea (master)
May 21, 2019, 14:56 (GMT)
Particle: optimize threading for many particles and many cores

The maximum particles per task of 256 was outdated and lead to too much thread
contention. Instead define a low fixed number of tasks per thread.

On a i7-7700HQ, creating 4 million particles went down from 31s to 4s.

Thanks to Oscar Abad, Sav Martin, Zebus3d, Sebasti�n Barschkis and Martin Felke
for testing and advice.

Differential Revision: https://developer.blender.org/D4910

Commit Details:

Full Hash: fbae1c9ed5d3473dda6a8783c4c29be15fcaf24a
Parent Commit: 9e82e48
Committed By: Brecht Van Lommel
Lines Changed: +1, -3

1 Modified Path:

/source/blender/blenkernel/intern/particle_system.c (+1, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021