How to use cpulimit [SOLVED]

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

arisu
Posts: 176
Joined: Mon Feb 24, 2025 11:11 pm

Re: How to use cpulimit [SOLVED]

Post by arisu »

It properly throttles all threads at least as of core a8. But like you say it was intended for unicore systems so it's probably not being tested often.

There are much better solutions to OP's problem than throttling multiple threads I'm sure (even besides upgrading to a newer computer).
muziqaz
Posts: 1426
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: How to use cpulimit [SOLVED]

Post by muziqaz »

We are in no way recommending to buy new computers just for fah. But there are basic requirements for safe and stable folding. Sufficient cooling is one of them.
Thread throttling with 3rd party apps isn't.
FAH Omega tester
Image
promeneur
Posts: 248
Joined: Tue Aug 07, 2012 11:59 am
Hardware configuration: openSUSE Tumbleweed, x86_64,Asrock B760M-HDV/M.2 D4, Intel Core i3-12100, 16 GB, Intel UHD Graphics 730, NVIDIA GeForce GT 1030, Edup-Love EP-9651GS Wi-Fi Bluetooth, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP 7100, Headset Bluetooth 3.0 Philips SHQ7300

Re: How to use cpulimit [SOLVED]

Post by promeneur »

It is necessary to use cpulimit or systemd cpuquota. If not, the temperature of the CPU is 80 °C and the fans are at their maximum speed.

I experimented using cpulimit for many years and now systemd cpuquota, limiting to 20 % of the CPU power. There is no problem for folding.

With openSUSE, the internal settings of Version <= 7.x for limiting CPU power consumption, never worked.

With openSUSE, V 8.x, limiting the number of cores used by FAH with FAH settings leads to a temperature of 80 °C.
Image
muziqaz
Posts: 1426
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: How to use cpulimit [SOLVED]

Post by muziqaz »

Get better cooling. Also, modern CPUs can throttle themselves just fine. Plus certain CPUs are designed to cap out to their temp limit and it is fine like that
FAH Omega tester
Image
arisu
Posts: 176
Joined: Mon Feb 24, 2025 11:11 pm

Re: How to use cpulimit [SOLVED]

Post by arisu »

You can adjust your thermal limits so that your CPU doesn't get so hot. Maybe even disabling turboboost is enough. Sometimes if you limit the number of threads, the CPU will turn on single-core turboboost which runs much hotter than all-core turboboost.

Install the "linux-cpupower" package and play with it. You can adjust how hard your CPU will work under high load. It's sometimes necessary if your manufacturer configured the CPU to work harder than its cooling system can easily keep up with (80C won't damage the CPU itself, but hard drives and electrolytic capacitors on the motherboard do not like being operated at high temperatures for long periods).
promeneur
Posts: 248
Joined: Tue Aug 07, 2012 11:59 am
Hardware configuration: openSUSE Tumbleweed, x86_64,Asrock B760M-HDV/M.2 D4, Intel Core i3-12100, 16 GB, Intel UHD Graphics 730, NVIDIA GeForce GT 1030, Edup-Love EP-9651GS Wi-Fi Bluetooth, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP 7100, Headset Bluetooth 3.0 Philips SHQ7300

Re: How to use cpulimit [SOLVED]

Post by promeneur »

arisu wrote: Tue Mar 11, 2025 12:42 am You can adjust your thermal limits so that your CPU doesn't get so hot. Maybe even disabling turboboost is enough. Sometimes if you limit the number of threads, the CPU will turn on single-core turboboost which runs much hotter than all-core turboboost.

Install the "linux-cpupower" package and play with it. You can adjust how hard your CPU will work under high load. It's sometimes necessary if your manufacturer configured the CPU to work harder than its cooling system can easily keep up with (80C won't damage the CPU itself, but hard drives and electrolytic capacitors on the motherboard do not like being operated at high temperatures for long periods).
CPUquota is perfect and FAH runs perfectly. Very low speed for the fans, low temperature for CPU. Each unit is computed and uploaded in time.

Thanks
Image
Post Reply