gpo.zugaina.org

Search Portage & Overlays:

app-misc/greenboost

Tiered VRAM/RAM/NVMe memory pool for CUDA workloads

Screenshots

  • greenboost-3.4
    ~amd64
    abi_x86_32 bpf dist-kernel modules-compress modules-sign +strip

    View      Download      Browse     License: MIT   
    Overlay: hossie
  • greenboost-3.4
    ~amd64
    dist-kernel modules-compress modules-sign +strip

    View      Download      Browse     License: GPL-2   
    Overlay: tatsh-overlay

ChangeLog

commit 7867bdc2ab8260e6124ac9a81208ed29a8de6385
Author: Daniel Augustin <hossie@hossie.de>
Date: Sun Sep 6 23:41:23 2026 +0200

app-misc/greenboost: add 3.4

Adapted from tatsh-overlay's greenboost-3.4, without its ollama
integration (no sci-ml/ollama dependency and no ollama.service drop-in;
preload the shim per-process with greenboost-run instead) and with
these fixes:

- LICENSE: MIT, not GPL-2 (upstream LICENSE is MIT; the .ko is dual).
- KDIR=$ instead of $, per linux-mod-r1.
- make target 'all' moved from modargs into the modlist entry.
- USE_NVTX=0: the Makefile links -lnvToolsExt, which CUDA no longer
ships (NVTX3 is header-only), so the shim failed to link.
- SHIM_INSTALL_PATH pointed at the real libdir; greenboost_audit.c
otherwise dlopen()s /usr/local/lib/libgreenboost_cuda.so.
- pkg_postinst calls linux-mod-r1_pkg_postinst so depmod runs.
- greenboost-netd.service ExecStart/ConditionPathExists rewritten from
/usr/local/bin; the condition never matched, so it never started.
- keepdir /etc/greenboost, listed in the unit's ReadWritePaths=.
- Dropped greenboost-boot-guard.service: DKMS self-heal, and its
ExecStart script was never installed.
- modprobe.d options no longer hardcode the packager's hardware, and
dropped pcores_only=, which is not a module parameter and made the
module refuse to load.
- No host tuning is applied behind the admin's back: the sysctl.d file
and the NVMe scheduler/read-ahead udev rules are gone, and
pkg_postinst suggests their contents instead. The only rule still
installed is the one for /dev/greenboost itself.
- /lib/{modprobe.d,systemd} -> /etc/modprobe.d and /usr/lib; 32-bit
audit shim -> /usr/lib32, not /usr/lib/i386-linux-gnu.
- BPF, 32-bit and zstd builds no longer probe the build host silently.
- Dropped -Werror from Kbuild.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>