Hyperthreading on or off

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

Moderators: hgm, Rebel, chrisw

lovetb
Posts: 17
Joined: Thu Dec 13, 2018 6:57 am
Full name: MR PRASHANTH KRISHNACHARI

Hyperthreading on or off

Post by lovetb »

I have a 2 x E5-3696v3 system with 36 cores.

I was playing with Hyperthreading & Ran some benchmarks.

Here are the results.

HT Off 35 threads
command : bench 256 35 24 default depth
===========================
Total time (ms) : 39832
Nodes searched : 2496591345
Nodes/second : 62678031

HT On 70 threads
command :
bench 256 70 24 default depth
===========================
Total time (ms) : 48196
Nodes searched : 3841044383
Nodes/second : 79696331

The depth of 24 was reached faster with HT off, but more nodes were searched with HT on.

We also have syzygy tablebases. So is the depth really that important ?

Your thoughts please.
User avatar
Nordlandia
Posts: 2821
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Hyperthreading on or off

Post by Nordlandia »

The consensus say that HT should be off.

«The additional hyper-threads will yield about 25% to 30% extra node speed, but the inefficiency of the parallel alpha-beta search with the higher number of threads will partially offset this speed gain »

See here: http://www.cruxis.com/chess/manual/inde ... gement.htm
Jouni
Posts: 3281
Joined: Wed Mar 08, 2006 8:15 pm

Re: Hyperthreading on or off

Post by Jouni »

Please run arasan testsuite 4 times with 35 + 70 threads and post results here!
Jouni
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Hyperthreading on or off

Post by zullil »

lovetb wrote: Sun Jan 20, 2019 8:45 am I have a 2 x E5-3696v3 system with 36 cores.
E5-2696 v3?
lovetb
Posts: 17
Joined: Thu Dec 13, 2018 6:57 am
Full name: MR PRASHANTH KRISHNACHARI

Re: Hyperthreading on or off

Post by lovetb »

zullil wrote: Sun Jan 20, 2019 12:05 pm
lovetb wrote: Sun Jan 20, 2019 8:45 am I have a 2 x E5-3696v3 system with 36 cores.
E5-2696 v3?
Yes, Typo error. Sorry.
AndrewGrant
Posts: 1750
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Hyperthreading on or off

Post by AndrewGrant »

lovetb wrote: Sun Jan 20, 2019 8:45 am I have a 2 x E5-3696v3 system with 36 cores.

I was playing with Hyperthreading & Ran some benchmarks.

Here are the results.

HT Off 35 threads
command : bench 256 35 24 default depth
===========================
Total time (ms) : 39832
Nodes searched : 2496591345
Nodes/second : 62678031

HT On 70 threads
command :
bench 256 70 24 default depth
===========================
Total time (ms) : 48196
Nodes searched : 3841044383
Nodes/second : 79696331

The depth of 24 was reached faster with HT off, but more nodes were searched with HT on.

We also have syzygy tablebases. So is the depth really that important ?

Your thoughts please.
Old knowledge is that HT is bad, but that is no longer the case. Recently Noobpwnftw tested 192 core vs 384 thread SF and found an elo gain for using the hyperthreads. I've also tested 16 core vs 32 thread Ethereal (Using Ryzen 1950x) and seen just around +20 elo for using the hyperthreads. Anyone who disagrees these days is either wrong or has an engine with poor SMP.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Hyperthreading on or off

Post by Modern Times »

I might be wrong but on the processor side HT has been improving over the years as well which has now swung the argument in its favour ?
Jesse Gersenson
Posts: 593
Joined: Sat Aug 20, 2011 9:43 am

Re: Hyperthreading on or off

Post by Jesse Gersenson »

As far as I know no tests have been run with HT==on vs HT==off. There are tests, as Andrew points out, which use varying numbers of threads and assume this means HT is off.

If someone has two machines which are the same, we could run a test. I'll see if I can do this.
lovetb
Posts: 17
Joined: Thu Dec 13, 2018 6:57 am
Full name: MR PRASHANTH KRISHNACHARI

Re: Hyperthreading on or off

Post by lovetb »

Jouni wrote: Sun Jan 20, 2019 12:02 pm Please run arasan testsuite 4 times with 35 + 70 threads and post results here!
Hi, Is there a guide on how to run this test this ?
Jouni
Posts: 3281
Joined: Wed Mar 08, 2006 8:15 pm

Re: Hyperthreading on or off

Post by Jouni »

Just download test from Arasan chess and run in chess GUI like Arena with "Automatic Analysis" and 30 sec for position.
Jouni