Skip to content

fahclient wrapper to start/stop client depending on load and temperature

Notifications You must be signed in to change notification settings

chadek/fah_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

fahclient_handler

[MIT licensed]

Folding@Home wrapper to automatically start/stop fahclient service (using systemd) by monitoring system métrique (load and temperature).

Folding@Home currently doesn't fit well with systemd (FoldingAtHome/fah-issues#1396), you may want to add the service file in this repo to /etc/systemd/system/fahclient.service location. Then run a systemctl daemon-reload to apply changes.

How to use

fahclient_handler.py is a daemon which can be run as a service.

2 parameters can be use:

  • Temperature in celsius degre
  • Load which is a percentage of total load available. Let's say you have 8 thread, 0.5 mean that limit be reach on a 15 min average load of 4.

When the daemon start or stop fahclient, it will wait 20 minutes before starting/stoping back fahclient (preventing quick start and stop of fahclient if your system metric are close to the limit you set).

Example:

python3 fahclient_handler.py --load 0.6 -temp 95

About

fahclient wrapper to start/stop client depending on load and temperature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages