Hyperthreading on or off

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
lovetb
Posts: 16
Joined: Thu Dec 13, 2018 5:57 am
Full name: MR PRASHANTH KRISHNACHARI

Hyperthreading on or off

Post by lovetb » Sun Jan 20, 2019 7: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.

User avatar
Nordlandia
Posts: 2342
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: Hyperthreading on or off

Post by Nordlandia » Sun Jan 20, 2019 10:10 am

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: 1953
Joined: Wed Mar 08, 2006 7:15 pm

Re: Hyperthreading on or off

Post by Jouni » Sun Jan 20, 2019 11:02 am

Please run arasan testsuite 4 times with 35 + 70 threads and post results here!
Jouni

zullil
Posts: 5416
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Hyperthreading on or off

Post by zullil » Sun Jan 20, 2019 11:05 am

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

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

Re: Hyperthreading on or off

Post by lovetb » Sun Jan 20, 2019 11:37 am

zullil wrote:
Sun Jan 20, 2019 11:05 am
lovetb wrote:
Sun Jan 20, 2019 7:45 am
I have a 2 x E5-3696v3 system with 36 cores.
E5-2696 v3?
Yes, Typo error. Sorry.

AndrewGrant
Posts: 467
Joined: Tue Apr 19, 2016 4:08 am
Location: U.S.A
Full name: Andrew Grant
Contact:

Re: Hyperthreading on or off

Post by AndrewGrant » Sun Jan 20, 2019 12:47 pm

lovetb wrote:
Sun Jan 20, 2019 7: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.

Modern Times
Posts: 2340
Joined: Thu Jun 07, 2012 9:02 pm

Re: Hyperthreading on or off

Post by Modern Times » Sun Jan 20, 2019 12:52 pm

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 ?
.

Opinions expressed here are my own, and not necessarily those of the CCRL Group.

Jesse Gersenson
Posts: 575
Joined: Sat Aug 20, 2011 7:43 am
Contact:

Re: Hyperthreading on or off

Post by Jesse Gersenson » Sun Jan 20, 2019 4:58 pm

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: 16
Joined: Thu Dec 13, 2018 5:57 am
Full name: MR PRASHANTH KRISHNACHARI

Re: Hyperthreading on or off

Post by lovetb » Sun Jan 20, 2019 8:18 pm

Jouni wrote:
Sun Jan 20, 2019 11:02 am
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: 1953
Joined: Wed Mar 08, 2006 7:15 pm

Re: Hyperthreading on or off

Post by Jouni » Sun Jan 20, 2019 9:58 pm

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

Post Reply