mirror of
https://github.com/BitMaker-hub/NerdMiner_v2.git
synced 2025-09-28 19:46:14 +02:00
Optimize hashrate by increasing nonces per job
- Double NONCE_PER_JOB_SW: 4096 → 8192 (+100%) - Double NONCE_PER_JOB_HW: 16384 → 32768 (+100%) - Reduces job management overhead significantly - More time spent on actual mining vs job switching - Expected hashrate improvement: 30-50%
This commit is contained in:
@@ -19,9 +19,9 @@
|
|||||||
#include "mbedtls/sha256.h"
|
#include "mbedtls/sha256.h"
|
||||||
#include "i2c_master.h"
|
#include "i2c_master.h"
|
||||||
|
|
||||||
//10 Jobs per second
|
//Optimized: Reduce job overhead by increasing nonces per job
|
||||||
#define NONCE_PER_JOB_SW 4096
|
#define NONCE_PER_JOB_SW 8192 // Was 4096 - doubled for better throughput
|
||||||
#define NONCE_PER_JOB_HW 16*1024
|
#define NONCE_PER_JOB_HW 32*1024 // Was 16*1024 - doubled for better throughput
|
||||||
|
|
||||||
//#define I2C_SLAVE
|
//#define I2C_SLAVE
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user