Suggestions for a new PC

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

Moderators: hgm, Rebel, chrisw

Carlos777
Posts: 1735
Joined: Sun Dec 13, 2009 6:09 pm

Suggestions for a new PC

Post by Carlos777 »

Hi,

I need that it has at least 8 physical cores, mainly to run engine vs engine blitz tournaments, 1 core per engine, no ponder (at least 7 simultaneous games). Also to analyze chess games. I guess 16 GB RAM might be enough.

OTOH, what would be a good GPU for that PC so Lc0 could compete vs SF with 7 cores?

My budget is $1000.

I am considering to buy an AMD Ryzen.

Best regards,
Carlos
Ras
Posts: 2488
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Suggestions for a new PC

Post by Ras »

Carlos777 wrote: Tue Mar 02, 2021 2:42 pmIOTOH, what would be a good GPU for that PC so Lc0 could compete vs SF with 7 cores?
This is the worst time ever for buying a GPU. Stuff is scarce and even if available, it's massively overpriced. That is not likely to change in the first half of 2021. You could postpone the GPU and buy a Ryzen 4750G (eight cores, 16 thread) with integrated graphics along with a B550 mobo such as Asus B550-F. RAM is OK for now, but 2x16 GB 3200 RAM is better than just 16 GB. SSD e.g. Samsung Evo 970 Plus M.2 with up to 2 TB. CPU Cooler e.g. Scythe Mugen 5 Rev B. Over-dimension the PSU for accomodating a GPU later.
Rasmus Althoff
https://www.ct800.net
Carlos777
Posts: 1735
Joined: Sun Dec 13, 2009 6:09 pm

Re: Suggestions for a new PC

Post by Carlos777 »

Ras wrote: Tue Mar 02, 2021 3:01 pm
Carlos777 wrote: Tue Mar 02, 2021 2:42 pmIOTOH, what would be a good GPU for that PC so Lc0 could compete vs SF with 7 cores?
This is the worst time ever for buying a GPU. Stuff is scarce and even if available, it's massively overpriced. That is not likely to change in the first half of 2021. You could postpone the GPU and buy a Ryzen 4750G (eight cores, 16 thread) with integrated graphics along with a B550 mobo such as Asus B550-F. RAM is OK for now, but 2x16 GB 3200 RAM is better than just 16 GB. SSD e.g. Samsung Evo 970 Plus M.2 with up to 2 TB. CPU Cooler e.g. Scythe Mugen 5 Rev B. Over-dimension the PSU for accomodating a GPU later.
Thanks for the reply.

So with this integrated graphics, I guess Lc0 can't run at full strenght. Although, I read it is very good in other tasks.
About the CPU cooler, isn't it enough with the stock one?
willmorton
Posts: 30
Joined: Thu Sep 17, 2020 9:19 pm
Full name: William Morton

Re: Suggestions for a new PC

Post by willmorton »

Carlos777 wrote: Tue Mar 02, 2021 3:38 pm
Ras wrote: Tue Mar 02, 2021 3:01 pm
Carlos777 wrote: Tue Mar 02, 2021 2:42 pmIOTOH, what would be a good GPU for that PC so Lc0 could compete vs SF with 7 cores?
This is the worst time ever for buying a GPU. Stuff is scarce and even if available, it's massively overpriced. That is not likely to change in the first half of 2021. You could postpone the GPU and buy a Ryzen 4750G (eight cores, 16 thread) with integrated graphics along with a B550 mobo such as Asus B550-F. RAM is OK for now, but 2x16 GB 3200 RAM is better than just 16 GB. SSD e.g. Samsung Evo 970 Plus M.2 with up to 2 TB. CPU Cooler e.g. Scythe Mugen 5 Rev B. Over-dimension the PSU for accomodating a GPU later.
Thanks for the reply.

So with this integrated graphics, I guess Lc0 can't run at full strenght. Although, I read it is very good in other tasks.
About the CPU cooler, isn't it enough with the stock one?
I also suggest the 4750G and to stay away from GPUs for now (both new, if you can find them :mrgreen:, and used).
AMD stock cooler are much better than Intel's ones, I think it should be enough.
User avatar
lithander
Posts: 881
Joined: Sun Dec 27, 2020 2:40 am
Location: Bremen, Germany
Full name: Thomas Jahn

Re: Suggestions for a new PC

Post by lithander »

A good cooler allows your CPU to boost higher and it's also much quieter. But don't pay more than 20-30$ for it!

I also don't think there's any threshold where a GPU allows Lc0 to run at full strength. The better your GPU the higher Lc0 node per second. See here: https://docs.google.com/spreadsheets/d/ ... dit#gid=0

But scalpers and miners make GPUs very expensive at the moment. I paid far less for my RTX 2070 two years ago than what you would pay now for something comparable. So fully agree with Ras post!
Minimal Chess (simple, open source, C#) - Youtube & Github
Leorik (competitive, in active development, C#) - Github & Lichess
User avatar
towforce
Posts: 11585
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK

Re: Suggestions for a new PC

Post by towforce »

Carlos777 wrote: Tue Mar 02, 2021 3:38 pmSo with this integrated graphics, I guess Lc0 can't run at full strength.

Can Leela use a TPU instead of a GPU? I tried Googling it, but didn't get a clear answer - if I'm lucky, someone here will know!
Writing is the antidote to confusion.
It's not "how smart you are", it's "how are you smart".
Your brain doesn't work the way you want, so train it!
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Suggestions for a new PC

Post by Nay Lin Tun »

towforce wrote: Tue Mar 02, 2021 4:19 pm
Carlos777 wrote: Tue Mar 02, 2021 3:38 pmSo with this integrated graphics, I guess Lc0 can't run at full strength.

Can Leela use a TPU instead of a GPU? I tried Googling it, but didn't get a clear answer - if I'm lucky, someone here will know!
I am sure , the answer is "No".
There is no LCO code written for TPU. (TPU code is written by Deep mind)
Ras
Posts: 2488
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Suggestions for a new PC

Post by Ras »

Carlos777 wrote: Tue Mar 02, 2021 3:38 pmSo with this integrated graphics, I guess Lc0 can't run at full strenght. Although, I read it is very good in other tasks.
Correct. The iGPU of the 4750G is fine for office, web, movies, and it can deal with 4k monitors if you are into that. It can even cope with light gaming (but not at 4k of course) as long as you reduce details and resolution, and don't try demanding games.

With LC0 however, there's not enough GPU computing power, and even a discrete AMD graphics card would not be the best choice. For years, AMD has been trying to catch up to Nvidia in games and has nearly succeeded (minus raytracing). In the meanwhile however, Nvidia has established a whole software ecosystem in the domain of machine learning, and that's where also Lc0 falls into. So what you will want is an Nvidia GPU, and these are even more scarce than AMD ones right now.

Or has anyone a different take on that, and AMD cards are now good for Lc0?
About the CPU cooler, isn't it enough with the stock one?
The 4750G has never been released for retail, i.e. there is no boxed version. It's the tray version only, and that doesn't come with a cooler. The Mugen 5 is one of the more expensive ones, and if all you care about is temperature, it is overdone. If however you also care about low noise level at full CPU load, that's the cooler you'll want. Watch out for Mugen 5 Rev B specifically because the mounting set includes accomodation for AM4 sockets such as for the 4750G.
Rasmus Althoff
https://www.ct800.net
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Suggestions for a new PC

Post by Nay Lin Tun »

Carlos777 wrote: Tue Mar 02, 2021 2:42 pm Hi,

I need that it has at least 8 physical cores, mainly to run engine vs engine blitz tournaments, 1 core per engine, no ponder (at least 7 simultaneous games). Also to analyze chess games. I guess 16 GB RAM might be enough.

OTOH, what would be a good GPU for that PC so Lc0 could compete vs SF with 7 cores?

My budget is $1000.

I am considering to buy an AMD Ryzen.

Best regards,
Carlos
You need around 2060 GTX gpu for Leela to compete 7 cores Stockfish.
The cost for GPU alone is $500+ (depending on market).
Unfortunately , you need minimum of $1500 PC to compete Stockfish.
User avatar
towforce
Posts: 11585
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK

Re: Suggestions for a new PC

Post by towforce »

Nay Lin Tun wrote: Tue Mar 02, 2021 4:33 pm
towforce wrote: Tue Mar 02, 2021 4:19 pm
Carlos777 wrote: Tue Mar 02, 2021 3:38 pmSo with this integrated graphics, I guess Lc0 can't run at full strength.

Can Leela use a TPU instead of a GPU? I tried Googling it, but didn't get a clear answer - if I'm lucky, someone here will know!
I am sure , the answer is "No".
There is no LCO code written for TPU. (TPU code is written by Deep mind)

Thank you. Might be something to consider for future releases if not too difficult to implement. I think that TPUs (and equivalents) are cheaper and use less power than GPUs for the same NN work.
Writing is the antidote to confusion.
It's not "how smart you are", it's "how are you smart".
Your brain doesn't work the way you want, so train it!