Commit Graph

26 Commits

Author SHA1 Message Date
rob thijssen
f3af50acac Update CUDA miner debug environment for RTX 5090 2025-09-16 22:07:03 +08:00
rob thijssen
8c4934b8f6 Enable and configure CUDA miner settings for RTX 5090 debug environment 2025-09-16 22:03:41 +08:00
rob thijssen
cdf197cd15 Add extensive debug and info logging to CUDA engine initialization and
kernel launches

Include detailed logs for device info, context creation, buffer
allocations, kernel resolution and launch parameters, and data transfers
to help diagnose CUDA behavior and failures. Also add fallback and error
logging enhancements.
2025-09-16 21:02:32 +08:00
rob thijssen
7e6eee8c72 Add watchdog logging and improve result channel handling in miner
service
2025-09-14 18:33:50 +03:00
rob thijssen
6ca3d236ab Increase CUDA threads to 7168 and disable host verification 2025-09-14 18:04:45 +03:00
rob thijssen
0c3617c9e1 Adjust MINER_CUDA_VERIFY to 2048 in debug config 2025-09-14 17:44:21 +03:00
rob thijssen
2596e62003 Limit counted CUDA attempts to covered nonces for accuracy 2025-09-14 16:03:34 +03:00
rob thijssen
1a2d5e459d Update CUDA miner example profiles to use auto-tuned G2 kernel settings
Refactor all NVIDIA GPU profiles for mixed-load (lower) and dedicated
(upper) configurations. Enable auto-tuning of per-batch iterations (do
not set desired iters). Adjust thread/block counts, iteration budgets,
and enable/disable sampling and verification to balance responsiveness
and overhead for each profile. Add usage tips and logging level
guidance.
2025-09-14 16:00:19 +03:00
rob thijssen
0d81f3a346 Autotune CUDA desired_iters and improve logging
Add dynamic tuning of desired_iters based on coverage and thread count.
Enhance info logs with attempts and utilization metrics. Update example
config.
2025-09-14 15:43:36 +03:00
rob thijssen
f37e70e1b1 Fix nonce advancement logic and update CUDA miner env settings 2025-09-14 15:31:46 +03:00
rob thijssen
456742e425 fix kernel indexing and use correct digest bytes in qpow CUDA kernel
enable sampler in miner config and increase verify iterations to 2048
2025-09-14 14:47:44 +03:00
rob thijssen
05217dc516 Add MINER_CUDA_VERIFY to cuda-miner debug env file 2025-09-14 14:34:47 +03:00
rob thijssen
6d9e5ab89b Add engine health dashboard for Grafana monitoring 2025-09-14 13:29:36 +03:00
rob thijssen
d6f98398ed Update Grafana engines comparison dashboard JSON formatting and widgets 2025-09-14 13:16:00 +03:00
rob thijssen
ca9f97a265 adjust active thread count based on desired iterations in CUDA kernel
launch
2025-09-14 12:18:43 +03:00
rob thijssen
3fa3b60b20 Disable CUDA sampler in 3060 debug example env file 2025-09-14 10:56:43 +03:00
rob thijssen
0d3d3c50e3 Reduce CUDA threads and increase batches in miner config 2025-09-14 10:54:47 +03:00
rob thijssen
06629e85b7 Add MINER_CUDA_BATCHES to cuda-miner-3060-debug env file 2025-09-14 10:42:41 +03:00
rob thijssen
ce749eebc3 Add RUST_LOG settings to cuda-miner debug environment file 2025-09-14 09:22:09 +03:00
rob thijssen
2a2bc1f60b debug and warn logs for CUDA G2 winner diagnostics
Update cuda-miner-3060-debug.env with optimized thread and iteration
settings
2025-09-14 05:46:26 +03:00
rob thijssen
060a851300 Bump CUDA ABI version to 2 and use sentinel values for winners
Use u32::MAX as invalid sentinel for winner coordinates to improve
result validation. Also update ABI version constant to reflect this
change.
2025-09-13 13:17:48 +03:00
rob thijssen
16057a8e20 Add optional CUDA sampler readback and parity check
Enable sampler debugging via MINER_CUDA_SAMPLER env var to verify
host/device parity of sampler outputs, logging warnings on mismatch

Add example env file for RTX 3060 debug configuration
2025-09-13 06:24:28 +03:00
rob thijssen
b7f56fb05a Add CUDA miner environment presets for various NVIDIA GPUs
Provide example .env files targeting typical block/thread configurations
for RTX 3060/3080/3090/4080/4090/5090 and A5000/A6000.

Include guidance on tuning iterations, pinned buffers, and kernel modes.
Document usage with systemd and manual export for ease of deployment.
2025-09-12 17:19:23 +03:00
rob thijssen
1b4771ebc3 pr-cleanup: scrubbed references to implementation docs 2025-09-10 11:34:32 +08:00
rob thijssen
7cbeb43b39 pr-cleanup 2025-09-10 11:08:39 +08:00
rob thijssen
cff7a3284b 08: cpuset metric and systemd units
- Detect effective CPUs with cpuset awareness (cgroup v2/v1 fallback) -
Log detected cpuset mask or fallback info at startup (debug) - Expose
miner_effective_cpus Prometheus gauge (metrics feature) - Add
production-ready systemd unit and example CPU affinity overrides -
Include documentation for installation, overrides, and validation
2025-09-10 09:57:42 +08:00