Threadripper optimization for chess engines Uma vs Numa

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

mwyoung
Posts: 2727
Joined: Wed May 12, 2010 10:00 pm

Threadripper optimization for chess engines Uma vs Numa

Post by mwyoung »

After many test positions it seems there is little difference in using UMA vs Numa, but there is a difference.

Running Lc0 using 2 threads Numa had an advantage of 3.23%

Running Stockfish using 32 threads Numa had an advantage of 5.16%

Threadripper runs by default in Uma mode.

This can be changed with the Ryzen Master Software by using local memory mode. And will continue to use what ever mode you choose after a shutdown or restart.
"The worst thing that can happen to a forum is a running wild attacking moderator(HGM) who is not corrected by the community." - Ed Schröder
But my words like silent raindrops fell. And echoed in the wells of silence.
User avatar
M ANSARI
Posts: 3707
Joined: Thu Mar 16, 2006 7:10 pm

Re: Threadripper optimization for chess engines Uma vs Numa

Post by M ANSARI »

Interesting, I would have thought that anything over 4 or 6 cores favors Uma.
jjoshua2
Posts: 99
Joined: Sat Mar 10, 2018 6:16 am

Re: Threadripper optimization for chess engines Uma vs Numa

Post by jjoshua2 »

Uma has greater memory bandwidth (since it can also use memory channels that are further away) but higher memory latency. So for hash tables numa is better.