Question about new laptop for chess

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

Moderator: Ras

User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Question about new laptop for chess

Post by pedrox »

kiroje wrote: Fri Mar 04, 2022 9:25 am after seeing the numbers for the 5800h ill go for that instead of the 5800u
I think that in order to make a good comparison it would be interesting to perform the same test. I used to calculate nps the command
bench 1024 16 16.

Perhaps to make a better comparison you could use the same command as on the page:
http://ipmanchess.yolasite.com/amd--int ... ckfish.php
bench 1024 16 26 default depth nnue vs bench 1024 8 26 default depth nnue

With this command the nps I think is somewhat lower, for example with 16 threads I think it is something like 16 Mnps.
On the page you can see that processors that have 8 cores/16 threads show significantly more nps when using 16 threads vs. 8 threads.
If there is something else that we may need to be taken into account, in this ranking they only take into account the nps, however in the bench command it also shows the time to complete the test. Perhaps when a processor with hyperthreading or smt exceeds the number of threads to cores for chess, the number of nodes per second increases but the time to complete the test does not decrease. So perhaps some people may be right that increasing the number of threads above 8 will not give more power to the engine. Here it would be interesting to see a match between stockfish 8 threads vs stockfish 16 trheads.

All this doesn't explain why the 5800U doesn't show more nps with 16 threads. The 5800U in turbo mode should have 8 cores at 3.40 GHz and the 5800H 8 cores at 3.80 GHz.
Cornfed
Posts: 511
Joined: Sun Apr 26, 2020 11:40 pm
Full name: Brian D. Smith

Re: Question about new laptop for chess

Post by Cornfed »

Frankly, from the posters stated rather minimal needs...I think just about anything would do. Forget NPS and such... and just search for a good deal on a mainstream laptop.
User avatar
Ras
Posts: 2721
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Question about new laptop for chess

Post by Ras »

pedrox wrote: Fri Mar 04, 2022 12:18 pmAll this doesn't explain why the 5800U doesn't show more nps with 16 threads.
Cooling solution, as I said.
Rasmus Althoff
https://www.ct800.net
kiroje
Posts: 73
Joined: Wed Jul 25, 2012 10:12 am
Location: Copenhagen, Denmark
Full name: Kim Jensen

Re: Question about new laptop for chess

Post by kiroje »

pedrox wrote: Fri Mar 04, 2022 12:18 pm
kiroje wrote: Fri Mar 04, 2022 9:25 am after seeing the numbers for the 5800h ill go for that instead of the 5800u
I think that in order to make a good comparison it would be interesting to perform the same test. I used to calculate nps the command
bench 1024 16 16.

Perhaps to make a better comparison you could use the same command as on the page:
http://ipmanchess.yolasite.com/amd--int ... ckfish.php
bench 1024 16 26 default depth nnue vs bench 1024 8 26 default depth nnue

With this command the nps I think is somewhat lower, for example with 16 threads I think it is something like 16 Mnps.
On the page you can see that processors that have 8 cores/16 threads show significantly more nps when using 16 threads vs. 8 threads.
If there is something else that we may need to be taken into account, in this ranking they only take into account the nps, however in the bench command it also shows the time to complete the test. Perhaps when a processor with hyperthreading or smt exceeds the number of threads to cores for chess, the number of nodes per second increases but the time to complete the test does not decrease. So perhaps some people may be right that increasing the number of threads above 8 will not give more power to the engine. Here it would be interesting to see a match between stockfish 8 threads vs stockfish 16 trheads.

All this doesn't explain why the 5800U doesn't show more nps with 16 threads. The 5800U in turbo mode should have 8 cores at 3.40 GHz and the 5800H 8 cores at 3.80 GHz.
ill go to the shop and try with that command, and return with some numbers.
“Modern chess is too much concerned with things like pawn structure. Forget it, checkmate ends the game.” – Nigel Short
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Question about new laptop for chess

Post by pedrox »

Ras wrote: Sat Mar 05, 2022 12:44 am
pedrox wrote: Fri Mar 04, 2022 12:18 pmAll this doesn't explain why the 5800U doesn't show more nps with 16 threads.
Cooling solution, as I said.
My HP software allows to configure 3 modes for the processor; silent mode, default and performance. Maybe the values given on the 5800U is because the silent mode (10W?) is selected. For 5800H:

bench 1024 8 26 default depth nnue

(silent mode)
Total time (ms) : 183496
Nodes searched : 1738509129
Nodes/second : 9474370

(default)
Total time (ms) : 128285
Nodes searched : 1572011822
Nodes/second : 12254057


bench 1024 16 26 default depth nnue

(silent mode)
Total time (ms) : 204061
Nodes searched : 2367240575
Nodes/second : 11600651

(default)
Total time (ms) : 164796
Nodes searched : 2593392687
Nodes/second : 15736988
kiroje
Posts: 73
Joined: Wed Jul 25, 2012 10:12 am
Location: Copenhagen, Denmark
Full name: Kim Jensen

Re: Question about new laptop for chess

Post by kiroje »

Okay by some sheer luck i got an Lenovo Ryzen 7 HS 5800HS Creator edition on the classified.

I have set it for extreme performance and get these numbers:

bench 1024 8 26
Total time (ms) : 249629
Nodes searched : 2291525465
Nodes/second : 9179724

bench 1024 16 26
Total time (ms) : 253914
Nodes searched : 3374503863
Nodes/second : 13289948

Så nothing like the 5800H but still quite good, maybe there is additional tweaks I dont know about.
“Modern chess is too much concerned with things like pawn structure. Forget it, checkmate ends the game.” – Nigel Short
Hai
Posts: 712
Joined: Sun Aug 04, 2013 1:19 pm

Re: Question about new laptop for chess

Post by Hai »

kiroje wrote: Wed Mar 02, 2022 9:54 am Hello

Im looking for a new laptop that I will use primarily for chess. I have looked at an HP Envy with an AMD Ryzen 7 5800u 16Gb ram and it have a not to bad price.

But i tested it with the newest stockfisk and with 1 thread it gave around 1.8M nps - 4 threads around 4.2M nps and 8 threads it gave 8.6M nps

That is not too bad but when i tried with 12 and 16 threads it didnt give much more, 16 threads was around 9.3M nps - how can that be ?

Is it because of the size of the net and cache or something else (bandwidth problems etc.)

And which budget amd cpu is considered the best for chess ?

looking forward for answers.

Thanks
Buy the MacBook Pro 16-inch with M1 MAX chip.
Buy tomorrow the MacBook Pro with M2 chip.
kiroje
Posts: 73
Joined: Wed Jul 25, 2012 10:12 am
Location: Copenhagen, Denmark
Full name: Kim Jensen

Re: Question about new laptop for chess

Post by kiroje »

pedrox wrote: Sun Mar 06, 2022 12:19 pm
Ras wrote: Sat Mar 05, 2022 12:44 am
pedrox wrote: Fri Mar 04, 2022 12:18 pmAll this doesn't explain why the 5800U doesn't show more nps with 16 threads.
Cooling solution, as I said.
My HP software allows to configure 3 modes for the processor; silent mode, default and performance. Maybe the values given on the 5800U is because the silent mode (10W?) is selected. For 5800H:

bench 1024 8 26 default depth nnue

(silent mode)
Total time (ms) : 183496
Nodes searched : 1738509129
Nodes/second : 9474370

(default)
Total time (ms) : 128285
Nodes searched : 1572011822
Nodes/second : 12254057


bench 1024 16 26 default depth nnue

(silent mode)
Total time (ms) : 204061
Nodes searched : 2367240575
Nodes/second : 11600651

(default)
Total time (ms) : 164796
Nodes searched : 2593392687
Nodes/second : 15736988
I now tested my AMD Ryzen 5800HS and get these numbers with the extreme performance settings

Code: Select all

cores	1		4		8		12		16
nps	2.06Mnps	7.256Mnps	9.33Mnps	11.29Mnps	13.379Mnps
Just for the people that are curious
“Modern chess is too much concerned with things like pawn structure. Forget it, checkmate ends the game.” – Nigel Short
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Question about new laptop for chess

Post by pedrox »

Thank you for your test. The 5800hs is like the 5800h with a slightly lower base frequency and a TDP of 35W vs. 45W for the other. Values appear to be in line with expectations.

I would like to see values of some AMD u-series; especially the 4800u, 5600u, 5700u and 5800u again by another user to see if it behaves the same as the presented values.