racf - simple auto cpu frequencer (IN RUST)

CodeBerg license loc

Simple and configurable tool that dynamically switches turbo boost and the kernel governor in order to have a corresponding relationship between the computer's capabilities and the actual usage.

A rewrite of sacf in rust.

Building and Installing

Currently you need to build it from source (not that big) with cargo and then, optionally, move it to your PATH. In the example bellow I use /usr/local/bin/ as the PREFIX (target) directory.

sh cargo build --release cp -f ./target/release/racf /usr/local/bin/ Alternatively use cargo install

Configuration

This repo contains config.toml configuration example with the respective documentation for it's parameters. First create /etc/racf directory, then you can move or copy the config in that dir. Note that on most systems you will need root to write to /etc

Copy the config file: sh mkdir -p /etc/racf cp -f config.toml /etc/racf/config.toml

Crates