Hyperthreading on or off

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
AndrewGrant
Posts: 588
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: 2571
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: 582
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: 17
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: 2146
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