I do not recommend 4 threads. I recommend what ever runs best on your system. You must tune to your CPU and GPU. Remember I am running a AMD 2950x. My cores are slower then say a 9900K. So when tuning it ran slightly better with 3 or 4 threads vs 2.
Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
Moderators: hgm, Rebel, chrisw
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
"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.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
Yes, this is what I observed in tuning. My biggest jump came going from 2 threads to 3 threads. And a very slight jump at 4 threads. Any more then 4 threads and performance tanked on my system.zullil wrote: ↑Tue Oct 08, 2019 12:23 pmTesting is good, provided it's done in a statistically valid way. On the other hand, when an Lc0 developer includes the following along with the code at Github, I tend to pay attention:mwyoung wrote: ↑Tue Oct 08, 2019 12:15 amThere are many types of GPUs. Are we to assume that 2 threads work just as well on 980, 1080, RTX 2060, RTX 2070, RTX 2080, and RTX 2080 ti. Even when these cards at the top of performance stack. Run many times faster then the GPU cards on the lower end of the stack. Hmmmzullil wrote: ↑Mon Oct 07, 2019 8:44 pmGood question. How many GPU's are being used? My understanding is that you want two CPU "worker threads" for each GPU that the system has.Modern Times wrote: ↑Mon Oct 07, 2019 7:56 pm How many threads do TCEC and the other one (chess.com ?) tournaments use with Lc0 ?
[EDIT] It seems that AllieStein at TCEC is running on 2 GPUs and Threads is set at default (since it's not listed in the settings).
But if I use 2 slower cards then it is ok to use 4 threads.
We have a tendency to always want to carve some ideas into stone. Without actually testing if are assumptions are correct.
Number of (CPU) threads to use.
Default is 2. There's currently no use of making it more than 3 as it's limited by mutex contention which is yet to be optimized.
"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.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 1339
- Joined: Fri Nov 02, 2012 9:43 am
- Location: New Delhi, India
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
OK. Actually 2 Threads seems to be giving best results while playing on Infinity Chess.
Ordered a ASUS ROG OC 11 GB 2080 Ti today, will post in a few days how many Threads appear optimal for it on my 8 CPU i7 5960X.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
-
- Posts: 2821
- Joined: Fri Sep 25, 2015 9:38 pm
- Location: Sortland, Norway
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
What about using 3 threads for RTX 2080 Ti. An Intermediate value between 2 and 4. Maybe a sweet spot.shrapnel wrote:At the same time, going overboard with the number of Threads also seems to be a bad idea.
Markyoung: how do you position yourself to try 3 threads instead of recent experiment with 2 threads?
-
- Posts: 2727
- Joined: Wed May 12, 2010 10:00 pm
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
Yes it could be. I will retune tonight. Since I have some time.Nordlandia wrote: ↑Tue Oct 08, 2019 6:14 pmWhat about using 3 threads for RTX 2080 Ti. An Intermediate value between 2 and 4. Maybe a sweet spot.shrapnel wrote:At the same time, going overboard with the number of Threads also seems to be a bad idea.
Markyoung: how do you position yourself to try 3 threads instead of recent experiment with 2 threads?
And since I also did not have time to see with the bigger nets now available. If a retune would help.
"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.
But my words like silent raindrops fell. And echoed in the wells of silence.
-
- Posts: 1339
- Joined: Fri Nov 02, 2012 9:43 am
- Location: New Delhi, India
Re: Lc0 + 320x24.J13B.2-swa-136000 vs. Stockfish 250919 TC= 30m+30s
The bigger Nets seem to be very strong. All the more reason to upgrade to the 2080Ti, so as to take full advantage of the bigger Nets.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis