Blender Git Commit Log

Git Commits -> Revision ce927e1

Revision ce927e1 by Sergey Sharybin (master)
November 28, 2018, 13:41 (GMT)
Tweaks for threading schedule for Threadripper2 and EPYC

The idea is to make main thread and job threads to be scheduled
on CPU dies which has direct access to memory (those are NUMA
nodes 0 and 2).

We also do this for new EPYC CPUs since their NUMA nodes 1 and 3
do have access but only to a higher range DDR slots. By preferring
nodes 0 and 2 on EPYC we make it so users with partially filled
DDR slots has fast memory access.

One thing which is not really solved yet is localization of
memory allocation: we do not guarantee that memory is allocated
on the closest to the NUMA node DDR slot and hope that memory
manager of OS is acting in favor of us.

Commit Details:

Full Hash: ce927e15e0e3570a02834b6001519a024ca1e2b6
Parent Commit: b3e2c69
Lines Changed: +111, -0

5 Modified Paths:

/source/blender/blenlib/BLI_threads.h (+6, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenlib/intern/threads.c (+101, -0) (Diff)
/source/blender/windowmanager/intern/wm_jobs.c (+1, -0) (Diff)
/source/creator/creator.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021