From 1963f5c8cc1fb5cfb86de16eaf6e6e085b5208c9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 24 Nov 2013 16:07:19 -0800 Subject: [PATCH] client: apply CPU throttling to all tasks except non-CPU-intensive or app version is marked as no-throttle; in particular, apply it to GPU apps regardless of their CPU usage --- client/app_control.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/app_control.cpp b/client/app_control.cpp index 18cfee3f14..0db72e2c72 100644 --- a/client/app_control.cpp +++ b/client/app_control.cpp @@ -1061,11 +1061,6 @@ void ACTIVE_TASK_SET::suspend_all(int reason) { // if (reason == SUSPEND_REASON_CPU_THROTTLE) { if (atp->result->dont_throttle()) continue; - // if we're doing CPU throttling, - // don't suspend apps that use < .5 CPU (like GPU and NCI apps) - // - if (atp->app_version->avg_ncpus < .5) continue; - atp->preempt(REMOVE_NEVER); continue;; }