gpo.zugaina.org

Search Portage & Overlays:

app-portage/emerge-cool

Run emerge on all CPU cores with a lower clock cap to keep a laptop cool

Screenshots

  • emerge-cool-9999
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 python_single_target_python3_15

    View      Download      Browse     License: MIT   
  • emerge-cool-0.2.0
    ~amd64 ~arm64
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14 python_single_target_python3_15

    View      Download      Browse     License: MIT   

ChangeLog

commit 5cb25e50dfcbcb6dc4b2423bc9879b74d9bb2017
Author: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Date: Tue Dec 1 01:23:27 2026 +0400

app-portage/emerge-cool: new package, add 0.2.0 and 9999

emerge-cool runs emerge on all CPU cores with a lower CPU clock cap, so
a laptop does not overheat during long builds.

It also installs turbo-activation-ratio, with an OpenRC service, a
systemd unit, and sleep hooks for elogind and systemd. It fixes CPUs
whose BIOS sets the turbo activation ratio too low: such a CPU answers
every clock request above that ratio with its base clock, and ignores
the cap.

src_test runs both test suites. The emerge-cool tests run it as fake
root with unshare -r, which writes /proc/self/uid_map, so src_test
allows sandbox writes to /proc and skips those tests as root or where
user namespaces are disabled.