mirror of https://github.com/BOINC/boinc.git
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
This commit is contained in:
parent
5357952783
commit
1963f5c8cc
|
@ -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;;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue