CPU cache and FFT size.
log in

Advanced search

Message boards : Number crunching : CPU cache and FFT size.

Author Message
Alan St-Pierre
Send message
Joined: 28 Oct 21
Posts: 3
Credit: 39,265,070
RAC: 61,376
Message 10204 - Posted: 2 Nov 2024, 22:16:50 UTC

Hi, coming from Primegrid, I know that to get optimal performances from LLR workload, the goal is to maximize the number of task and thus reducing the core count for each task while not exceeding the CPU's cache memory. This can be calculated using the FFT size.

I know SRBase isn't using LLR anymore, it has been replaced by PRST, but does it still works this way? The information available on the FAQ isn't the most complete, and if it matters, I can't find the FFT size or the cache amount required per task to run it optimally.

Also, it says that hyper-threading is not recommended, is it still the case?

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,686,081
RAC: 42,669
Message 10205 - Posted: 2 Nov 2024, 22:32:04 UTC - in response to Message 10204.
Last modified: 2 Nov 2024, 22:35:01 UTC

Hi, coming from Primegrid, I know that to get optimal performances from LLR workload, the goal is to maximize the number of task and thus reducing the core count for each task while not exceeding the CPU's cache memory. This can be calculated using the FFT size.

I know SRBase isn't using LLR anymore, it has been replaced by PRST, but does it still works this way? The information available on the FAQ isn't the most complete, and if it matters, I can't find the FFT size or the cache amount required per task to run it optimally.

Also, it says that hyper-threading is not recommended, is it still the case?


For smaller WUs (used by new bases from 1-2.5k with pfgw) you can use with HT but its better to use multicore. llr, pfgw and prst using the same gwnum library.

Alan St-Pierre
Send message
Joined: 28 Oct 21
Posts: 3
Credit: 39,265,070
RAC: 61,376
Message 10206 - Posted: 2 Nov 2024, 22:59:14 UTC - in response to Message 10205.

Right now my main CPUs are Ryzen 7 6800H (8c/16t 16MbL3), Ryzen 7 4800H (8c/16t 8MbL3), i7 6700 (4c/8t 8MbL3) and i3 7100t(2c/4t 3MbL3) I've set up Boinc to use only 50% of the cores/threads because I can't disable HT on all motherboards and other usages benefits from HT. So right now, every CPU runs an amount of simultaneous tasks corresponding to their amount of cores (1 task per physical core).

Is it the best way, or is it better setting Boinc to use 99% of the cores/threads (reserving one to feed the GPU)?

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7479
Credit: 43,686,081
RAC: 42,669
Message 10207 - Posted: 2 Nov 2024, 23:05:53 UTC - in response to Message 10206.
Last modified: 2 Nov 2024, 23:07:48 UTC

My Ryzen is also running with HT. With 50% its the correct way to not disable HT.

Cuda GPUs are using nearly no CPU time so you are on the safe side.

Alan St-Pierre
Send message
Joined: 28 Oct 21
Posts: 3
Credit: 39,265,070
RAC: 61,376
Message 10208 - Posted: 2 Nov 2024, 23:07:34 UTC - in response to Message 10207.

Thanks for the quick answers, so I'll just let it be that way.


Post to thread

Message boards : Number crunching : CPU cache and FFT size.


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther