[tuto] openSUSE 15.3,How to get a silent and cold PC ?

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

[tuto] openSUSE 15.3,How to get a silent and cold PC ?

Postby promeneur » Wed Nov 24, 2021 3:26 pm

0. some problems may occurs:
- cpu too hot
- fah does not decrease its cpu power consumption when you launch an app.
- setting "folding power"to "light" or "medium" does not work

In this case
see the Bruce solution

viewtopic.php?f=89&t=31637#p307174

or

see my solution

1. I tested Bruce's solution.

The CPU of my PC gets 4 cores.
FAH settings : Power "full" when i am "working"

Result:
- my solution "cpulimit --exe FahCore_a8 --limit 50" : about 32 °C
- Bruce's solution "only one core for folding" : about 42 °C

Bruce's solution is easy but does nor work with gpu fah core
My solution is complex but works with every type (cpu or gpu) fah core.

2. My solution

We can use cpulimit (supplied with standard repos).
See doc
http://cpulimit.sourceforge.net/

You must start an instance of cpulimit for each core fah expects to use. For example in my case fah expects to use a4 and a7 cores then at startup systemd starts one occurrence for a4 and one for a7.

For each occurrence, you must create a service.

In my case, cpu gets 4 cores and I want to limit to 12.5 % the use of each core and FAH expects to use a7 cores. According to the doc, I must set "limit" to "50"

Obviously, you can replace "a7" by any Fahcore name.

in /etc/systemd/system/

create "cpulimit_a7.service" file

put in it
Code: Select all
# /etc/systemd/system/cpulimit_a7.service
#

[Unit]
Description=Run cpulimit for fah a7 core

[Service]
Type=oneshot
ExecStart=/usr/bin/cpulimit --exe FahCore_a7 --limit 50

[Install]
WantedBy=multi-user.target


update its ownership and permissions as below
Code: Select all
$ sudo chown root:root /etc/systemd/system/cpulimit_a7.service
 $ sudo chmod u=rw,go=r /etc/systemd/system/cpulimit_a7.service


Reload systemd manager configuration

Code: Select all
        $ sudo systemctl daemon-reload


with "service manager" tool :
- set cpulimit_a7 service to "activate", "start mode" to "At system startup" then "apply" and check start does not fail

Repeat the procedure for all the FAH cores you expect.

Enjoy

If someone can help. I get a little problem. When with "yast service manager" I start the service then the service is well started, but the dialog does not finish then I must kill the service manager. Perhaps we must add something in the service file.
promeneur
 
Posts: 110
Joined: Tue Aug 07, 2012 12:59 pm

Re: [tuto] openSUSE 15.3,How to get a silent and cold PC ?

Postby Whompithian » Thu Nov 25, 2021 7:30 am

You can condense the steps from:

create "cpulimit_a7.service" file

to

Code: Select all
$ sudo systemctl daemon-reload

into:

Code: Select all
sudo systemctl edit --full --force cpulimit_a7.service

I'm afraid I can't help with the yast problem, though.
Whompithian
 
Posts: 36
Joined: Thu Jun 25, 2020 1:40 am


Return to Q&A about unsupported distros of Linux

Who is online

Users browsing this forum: No registered users and 2 guests

cron