slv-performance-boostlisted
Install: claude install-skill ValidatorsDAO/slv
# SLV CPU Performance Boost Skill
Keeps Solana validator / RPC nodes running at peak CPU frequency at all times. Runs alongside SMT disable and IRQ tuning as part of the `slv v init` / `slv r init` tuning phase.
## What it applies
| # | Item | Effect | Reboot |
|---|------|--------|--------|
| 1 | `apt-get update && apt-get upgrade -y` | Refresh OS packages and userland | No |
| 2 | Install HWE kernel (`linux-image-generic-hwe-24.04`) | Enables `amd_pstate` 6.14+ on AMD | **Yes** (AMD only when kernel < 6.14) |
| 3 | GRUB `amd_pstate=active processor.max_cstate=0 cpufreq.default_governor=performance` | Initializes amd_pstate driver in active mode at boot | **Yes** (AMD only, first apply) |
| 4 | `modprobe amd_pstate` | Try to load the driver at runtime | No |
| 5 | `governor=performance` | Lock frequency at maximum | No |
| 6 | `EPP=performance` | Push the energy/performance preference toward performance | No |
| 7 | `boost=enabled` / Intel `no_turbo=0` | Enable Turbo Boost | No |
| 8 | `cpuidle state*/disable=1` | Disable C-states to avoid latency spikes | No |
| 9 | `scaling_max_freq=cpuinfo_max_freq` | Align scaling ceiling with the hardware ceiling | No |
| 10 | `slv-cpu-boost.service` (oneshot) | Re-applies items 5-9 on every boot | No |
## Related artifacts
- `ansible/cmn/boost_performance.yml`
- Idempotency marker: `/var/lib/slv/.boost_applied`
- Persistence script: `/usr/local/bin/slv-cpu-boost.sh`
- systemd unit: `/etc/systemd/system/slv-cpu-boost.service`
## O