Page 1 of 1

How to use cpulimit [SOLVED]

Posted: Tue Feb 25, 2025 1:43 am
by frazelle09
Have been using cputhrottle - to keep the system under 50 C - but it tends to freeze after several days... so i looked for another solution. It seems that there is a cpulimit program, which we also have installed.

When i run htop i see at least 8 processes that have "fah" in them. Does anyone know how i should go about using cpulimit? i can't see trying to use it with each of the 8 or more PIDs i'm seeing under htop. Maybe it can be used just after the FAH program is run???

Have a beautiful week and be happy! :)

Re: How to use cpulimit

Posted: Tue Feb 25, 2025 3:02 am
by Joe_H
The actual processing is done in the FAHCore_nn processes, fah-client handles getting and returning WUs and processing the log files. The "nn" would be replaced with the core number, a8 and a9 for current CPU WUs and I am not certain the oldest GPU core still being used, but in the 20s.

Re: How to use cpulimit

Posted: Tue Feb 25, 2025 3:04 am
by frazelle09
Here's the ChatGPT reply

The " short reply" It took a couple of trys to get this and i still need to make it into some sort of script that the compu can use when booting

cpulimit -e FAHCore_a7 -l 25 -b

Have a great evening! :)

Re: How to use cpulimit [SOLVED]

Posted: Tue Feb 25, 2025 5:51 am
by muziqaz
Why not just fold on half the cores? Problem solved

Re: How to use cpulimit [SOLVED]

Posted: Fri Feb 28, 2025 3:44 am
by arisu
If you don't want to fold on fewer cores, then it's better to use cgroups with cpu.max instead of cpulimit.

https://www.kernel.org/doc/html/latest/ ... up-v2.html