Commit b54a3425296840cc1c905f6a3a4d1e4445540b45

ckolivas 2011-07-01T13:58:43

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.

diff --git a/cpu-miner.c b/cpu-miner.c
index b3d2559..dfb6b2e 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)" },