Browse Source

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.

ckolivas 14 years ago
parent
commit
b54a342529
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cpu-miner.c

+ 2 - 2
cpu-miner.c

@@ -132,7 +132,7 @@ static enum sha256_algos opt_algo = ALGO_SSE2_64;
 static enum sha256_algos opt_algo = ALGO_C;
 static enum sha256_algos opt_algo = ALGO_C;
 #endif
 #endif
 static int nDevs;
 static int nDevs;
-static int opt_g_threads = 2;
+static int opt_g_threads = 1;
 static int gpu_threads;
 static int gpu_threads;
 static int opt_n_threads = 1;
 static int opt_n_threads = 1;
 static int num_processors;
 static int num_processors;
@@ -191,7 +191,7 @@ static struct option_help options_help[] = {
 	  "(-D) Enable debug output (default: off)" },
 	  "(-D) Enable debug output (default: off)" },
 
 
 	{ "gpu-threads N",
 	{ "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",
 	{ "intensity",
 	  "(-I) Intensity of scanning (0 - 14, default 4)" },
 	  "(-I) Intensity of scanning (0 - 14, default 4)" },