Processor core and concurrency

Discussion of chess software programming and technical issues.

Moderator: Ras

Carbec
Posts: 162
Joined: Thu Jan 20, 2022 9:42 am
Location: France
Full name: Philippe Chevalier

Processor core and concurrency

Post by Carbec »

Hi,
I have a Intel I7 with 4 cores and 8 threads. Is it possible to run 4 games in concurrency, that will leads to 8 process simultaneoulsly ?
Or do I have to limit myself to 4 process ?
Modern Times
Posts: 3703
Joined: Thu Jun 07, 2012 11:02 pm

Re: Processor core and concurrency

Post by Modern Times »

Look at this thread:

https://talkchess.com/forum3/viewtopic.php?f=7&t=81851

Although it did get a bit away from the topic.
chrisw
Posts: 4624
Joined: Tue Apr 03, 2012 4:28 pm
Location: Midi-Pyrénées
Full name: Christopher Whittington

Re: Processor core and concurrency

Post by chrisw »

Carbec wrote: Mon May 01, 2023 9:16 am Hi,
I have a Intel I7 with 4 cores and 8 threads. Is it possible to run 4 games in concurrency, that will leads to 8 process simultaneoulsly ?
Or do I have to limit myself to 4 process ?
4 games in concurrency is fine for a 4-core (forget about the -1) as long as NOT pondering. With pondering, you'ld have 8 engines all trying to compute a move at the same time.

max concurrency = (n_cores - 1) / (1 + pondering)

In practice, you can try increasing max_concurrency a little, different setups/engines will start bitching at you at different points. Bitching tends to be somewhat random, so if you want consistent results, don't.
In practice, it's not worth trying to increase concurrency in small steps.
JoAnnP38
Posts: 253
Joined: Mon Aug 26, 2019 4:34 pm
Location: Clearwater, Florida USA
Full name: JoAnn Peeler

Re: Processor core and concurrency

Post by JoAnnP38 »

chrisw wrote: Mon May 01, 2023 12:23 pm
Carbec wrote: Mon May 01, 2023 9:16 am Hi,
I have a Intel I7 with 4 cores and 8 threads. Is it possible to run 4 games in concurrency, that will leads to 8 process simultaneoulsly ?
Or do I have to limit myself to 4 process ?
4 games in concurrency is fine for a 4-core (forget about the -1) as long as NOT pondering. With pondering, you'ld have 8 engines all trying to compute a move at the same time.

max concurrency = (n_cores - 1) / (1 + pondering)

In practice, you can try increasing max_concurrency a little, different setups/engines will start bitching at you at different points. Bitching tends to be somewhat random, so if you want consistent results, don't.
In practice, it's not worth trying to increase concurrency in small steps.
Do you worry at all about processor load/heating at all? In a long tourney I'm always worrying that a processor that is 95-100% loaded could cause damage if my cooling system isn't up to snuff. I try to keep my load around 80%, but I may be too conservative.
chrisw
Posts: 4624
Joined: Tue Apr 03, 2012 4:28 pm
Location: Midi-Pyrénées
Full name: Christopher Whittington

Re: Processor core and concurrency

Post by chrisw »

JoAnnP38 wrote: Mon May 01, 2023 5:09 pm
chrisw wrote: Mon May 01, 2023 12:23 pm
Carbec wrote: Mon May 01, 2023 9:16 am Hi,
I have a Intel I7 with 4 cores and 8 threads. Is it possible to run 4 games in concurrency, that will leads to 8 process simultaneoulsly ?
Or do I have to limit myself to 4 process ?
4 games in concurrency is fine for a 4-core (forget about the -1) as long as NOT pondering. With pondering, you'ld have 8 engines all trying to compute a move at the same time.

max concurrency = (n_cores - 1) / (1 + pondering)

In practice, you can try increasing max_concurrency a little, different setups/engines will start bitching at you at different points. Bitching tends to be somewhat random, so if you want consistent results, don't.
In practice, it's not worth trying to increase concurrency in small steps.
Do you worry at all about processor load/heating at all? In a long tourney I'm always worrying that a processor that is 95-100% loaded could cause damage if my cooling system isn't up to snuff. I try to keep my load around 80%, but I may be too conservative.
Indeed I do, although if the CPU overheats with all cores active, then there's something wrong with the CPU or the cooling. Usually it will shut down the system. One of my 64 core machines, which used to be fine running concurrency 60 for long periods, now can only cope with comcurrency 40. There's various things one can try to help, taking the side off the PC and blasting it with a fan. Buying an air pressure can and spraying the dust off the radiator system. Beyond that, it's probably going to go next to a specialist, to check fans and the water cooler and the thermal heat paste join.
smatovic
Posts: 3224
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Processor core and concurrency

Post by smatovic »

Summer time - how does your PC cooling solution perform?
https://talkchess.com/forum3/viewtopic.php?f=2&t=71143

I did monitor all temps (water cooling) of my prev workstation and wrote shutdown scripts in Linux.

--
Srdja
JoAnnP38
Posts: 253
Joined: Mon Aug 26, 2019 4:34 pm
Location: Clearwater, Florida USA
Full name: JoAnn Peeler

Re: Processor core and concurrency

Post by JoAnnP38 »

chrisw wrote: Mon May 01, 2023 5:32 pm Indeed I do, although if the CPU overheats with all cores active, then there's something wrong with the CPU or the cooling. Usually it will shut down the system. One of my 64 core machines, which used to be fine running concurrency 60 for long periods, now can only cope with comcurrency 40. There's various things one can try to help, taking the side off the PC and blasting it with a fan. Buying an air pressure can and spraying the dust off the radiator system. Beyond that, it's probably going to go next to a specialist, to check fans and the water cooler and the thermal heat paste join.
I'm using 3-mini PCs running AMD 6900HX processors which use cooling systems designed to be quiet (for gaming or movies I suppose) but might not be the absolute best for cooling especially in these small, palm-sized enclosures. I think I'll just have to keep being conservative.