Blender Git Commit Log
Git Commits -> Revision 2b6f345
Revision 2b6f345 by Bastien Montagne (master) November 26, 2017, 15:03 (GMT) |
Removing OMP: bmesh_interp.c Performances tests on this one are quite surprising actually... Parallelized loop itself is at least 10 times quicker with new BLI_task code than it was with OMP. And subdividing e.g. a heavy mesh with 3 levels of multires (whole process) takes 8 seconds with new code, while 10 seconds with OMP one. And cherry on top, BLI_task code only uses about 50% of CPU load, while OMP one was at nearly 100%! In fact, I suspect OMP code was not properly declaring outside vars, generating a lot of uneeded locks. Also, raised the minimum level of subdiv to enable parallelization, tests here showed that we only start to get significant gain with subdiv levels of 4, below single threaded one is quicker. |
Commit Details:
Full Hash: 2b6f3455584b3949045b517ce4759bcda70daf8a
Parent Commit: 099bda8
Lines Changed: +79, -36
1 Modified Path:
/source/blender/bmesh/intern/bmesh_interp.c (+79, -36) (Diff)