From b54a3425296840cc1c905f6a3a4d1e4445540b45 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Fri, 1 Jul 2011 13:58:43 +1000 Subject: [PATCH] Change default number of threads back to 1. The 2nd just increases the time taken to complete a work item thus increasing stale blocks, despite increasing the rate slightly. --- cpu-miner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index b3d2559c..dfb6b2e4 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -132,7 +132,7 @@ static enum sha256_algos opt_algo = ALGO_SSE2_64; static enum sha256_algos opt_algo = ALGO_C; #endif static int nDevs; -static int opt_g_threads = 2; +static int opt_g_threads = 1; static int gpu_threads; static int opt_n_threads = 1; static int num_processors; @@ -191,7 +191,7 @@ static struct option_help options_help[] = { "(-D) Enable debug output (default: off)" }, { "gpu-threads N", - "(-g N) Number of threads per-GPU (0 - 10, default: 2)" }, + "(-g N) Number of threads per-GPU (0 - 10, default: 1)" }, { "intensity", "(-I) Intensity of scanning (0 - 14, default 4)" },