Overclocking
Default is --oc-profile stock (nothing touched).
- Privileges: Linux needs
sudo(HiveOS/mmpOS already run as root); without root it mines stock (tuning: unavailable (not root)). Windows needs Run as administrator for clocks/V/F/voltage (without it, only PL and fans are tried). - Restore: clean stop (Ctrl+C,
systemctl stop) restores pre-run settings (--forced-shutdownskips restore). After a crash or kill, the next start resets cards to driver defaults first before applying your options (katzeminer oc resetresets manually). - One OC tool only: never apply HiveOS/mmpOS/Afterburner OC and KatzeMiner OC on the same card (
--no-ocdisables KatzeMiner OC;--oc-resetresets at start and exit).
Ready profiles with four tiers
Syntax: --oc-profile stock|eco|balanced|power[:safe|normal|pro|extreme] + optional default --oc-tier safe|normal|pro|extreme (default normal).
| Level | Goal | Tier | Scope |
|---|---|---|---|
balanced |
Recommended 24/7 sweet spot | safe |
Public NVML only (max compatibility) |
eco |
Lowest power, best TH/W | normal |
Default: calibrated V/F, locked mem, voltage margin |
power |
Max sustained TH/s | pro |
Stronger tuning for good silicon (watch the rig) |
stock |
No changes (default) | extreme |
Silicon-limit settings for strong cards (watch the rig) |
Caution on :pro and :extreme: use them only while watching the rig — on at least one RTX 5080, power:pro and balanced:pro hung the driver and required a reboot before --oc-guard could step down, and :extreme goes further, to the edge of stability. Keep normal for unattended 24/7 mining.
Examples:
sudo ./katzeminer -a pearl -o stratum+ssl://prl.kryptex.network:8048 \
-u YOUR_PRL_WALLET -w rig1 --oc-profile balanced
# Per-card list (GPU 0 power:normal, GPU 1 eco:safe) + override PL on GPU 0
sudo ./katzeminer ... --oc-profile power:normal,eco:safe --oc-tier normal
# Strong card, supervised session
sudo ./katzeminer ... --oc-profile eco:extreme
sudo ./katzeminer ... --oc-profile eco --pl 300
Inspect values for your cards with katzeminer oc profiles (--all for every model) or pearl/OVERCLOCKING.md (Windows: pearl\OVERCLOCKING.txt). Unlisted models receive PL only (eco 70%, balanced 85%, power 100%). Real board watts can vary ~10–15% from listed numbers.
Manual flags and safety rules
Full list: Options — Overclocking or katzeminer --help-oc. Out-of-range values are refused, never silently clamped.
--vf-points: offsets on 127 V/F points (0–126, e.g.45-76:+300or45-86:+350/87-93:+300;0resets;oc show --vflists points). Exclusive with--core-offset.--lock-core/--lock-core-mode: fixed clock (2895) orMIN:MAX(180:2940;0unlocks).--lock-core-mode 1sets a dynamic boost ceiling (useful on Ada / PL-limited cards).--lock-mem: Pearlperf/effkernels save 20–50 W with low memory (405,810,7001).405requires--mem-offset0/unset; if405caps core clock at highpowertargets on Blackwell, use7001. Do not lock memory low with--gpu-kernel compat.--vddc-offset:-500..=0mV, written with=(--vddc-offset=-35). Requires--lock-core(unlocked undervolt hangs GPUs). Eligible Blackwell only (RTX 5090/5080/5070 Ti); blocked on RTX 5060, RTX 5060 Ti and RTX PRO 6000; unsupported on RTX 40/30/20.--fanvs--fan-target: fixed%(--fan 70) or target core °C (--fan-target 65, range 40–85 °C). Exclusive per card.
OC guard step-down
On rejected results, driver faults, a GPU hang or early crashes, a profile card steps down per GPU UUID in oc.json:
extreme → pro → normal → safe → safe −50 MHz → safe −100 MHz → power limit only → stopped (waits for you).
:extreme and :pro step down one tier on the first early hang or crash. Pre-run card settings are saved in oc.json, so a clean stop and crash recovery restore them.
--oc-guard auto(default): guards--oc-profilecards.--oc-guard on: also watches manual cards (note: crash step-down is reliable for profile cards; lower manual settings by hand if unstable).--oc-guard off: holds a failing card immediately without stepping down.
A driver-wide hang can crash the machine before a step is written — another reason to keep :pro and :extreme supervised. Reset cards and history:
sudo ./katzeminer oc reset --forget # all GPUs (-d 0 for GPU 0 only)
Offline OC tools and example output
No pool or wallet needed; oc test and oc bench restore pre-run settings on exit:
sudo ./katzeminer oc show --oc-profile balanced
sudo ./katzeminer oc show --vf
sudo ./katzeminer oc bench --modes stock,eco:normal,balanced:normal,power:normal
sudo ./katzeminer oc test --secs 60 --pl 400 --lock-core 2895 --vf-points 45-76:+300 --lock-mem 405
Example oc show output:
GPU0 RTX 5090 GPU-5f1c0000-1111-2222-3333-444455556666
tuning available (root)
power limit 400 to 600 W, default 575 W
core offset -500 to +1000 MHz
private 405 MHz memory state: yes; core voltage offset: yes; V/F curve: yes
profile balanced:normal
fallback step step 0
would apply power 400 W, vf 45-76:+300, lock-core 2895 MHz, lock-mem 405 MHz, vddc -35 mV
Per-card config sections (katzeminer.conf)
File-wide flags go first; [gpu <selector>] sections go last (precedence: UUID/PCI > model > index; CLI and env override all sections):
-a pearl
-o stratum+ssl://prl.kryptex.network:8048
-u YOUR_PRL_WALLET
-w rig1
--oc-guard auto
--temp-stop 85
--temp-resume 70
[gpu GPU-5f1c0000-1111-2222-3333-444455556666]
--pl 400
--lock-core 2895
--vf-points 45-76:+300
--lock-mem 405
--vddc-offset=-35
--fan-target 65
[gpu "RTX 4090"]
--oc-profile balanced:normal
--fan-target 65
Verify read-only before mining: sudo ./katzeminer oc show.
AI-assisted per-GPU tuning
The Linux .tar.gz and Windows .zip ship AI-TUNING.md and ai-tune-helper.py (Python 3.9+, stdlib-only; not in the HiveOS package — copy from the Linux archive). Point an AI coding assistant at AI-TUNING.md with your goal (eco, balanced, power, or a watt/temp cap):
sudo python3 ai-tune-helper.py probe --bin ./katzeminer
The assistant probes capabilities read-only, benchmarks kernels (oc bench), runs safety-validated sweeps with Linux dmesg Xid checks, applies 24/7 backoff margins, soaks, and generates a verified [gpu <UUID>] katzeminer.conf.
For KatzeMiner 0.2.3.
