Browse Source

Add message explaining 2nd thread disabling for dynamic mode and how to tune it.

Con Kolivas 14 years ago
parent
commit
7d3635c7a4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      device-gpu.c

+ 5 - 0
device-gpu.c

@@ -425,6 +425,11 @@ void pause_dynamic_threads(int gpu)
 			continue;
 		if (!thread_no++)
 			continue;
+		if (!thr->pause && cgpu->dynamic) {
+			applog(LOG_WARNING, "Disabling extra threads due to dynamic mode.");
+			applog(LOG_WARNING, "Tune dynamic intensity with --gpu-dyninterval");
+		}
+
 		thr->pause = cgpu->dynamic;
 		if (!cgpu->dynamic && cgpu->enabled)
 			tq_push(thr->q, &ping);