Search speed in AMD

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Krzysztof Grzelak
Posts: 1525
Joined: Tue Jul 15, 2014 12:47 pm

Search speed in AMD

Post by Krzysztof Grzelak »

I have such a request and question. I write immediately that I am not a programmer. I have a processor AMD Ryzen Threadripper 1950X. I am looking for information on how to increase the search of 1 core in the processor AMD Ryzen Threadripper 1950X. Please, if possible, a code in C ++. Thank you in advance for any information.
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Search speed in AMD

Post by mar »

My experience with AMD so far is that AMD loves everything cached in registers.
Any memory access (assuming in L1) is much slower than on Intel, or perhaps it's the other way around and AMD is much faster when executing reg-reg opcodes)
Optimizing compilers do this for you, obviously, so I don't see how this would help.
I've also heard that BMI2 is emulated on AMD, thus much slower than on Intel (I don't use BMI2 in my program).
Martin Sedlak
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: Search speed in AMD

Post by Michael Sherwin »

mar wrote: Thu Mar 26, 2020 3:39 pm My experience with AMD so far is that AMD loves everything cached in registers.
Any memory access (assuming in L1) is much slower than on Intel, or perhaps it's the other way around and AMD is much faster when executing reg-reg opcodes)
Optimizing compilers do this for you, obviously, so I don't see how this would help.
I've also heard that BMI2 is emulated on AMD, thus much slower than on Intel (I don't use BMI2 in my program).
I can verify that BMI2 runs at only 2/3 of the node rate of the popcount version on my AMD 3950x.
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Search speed in AMD

Post by Dann Corbit »

ipman chess shows that the AMD BMI mode stinks, stanks, stunks.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.