Depsgraph: Use HIGH priority for scheduled tasks

This kind of keeps threads "warmer" and should in theory give better
cache coherency bringing some %% of speedup. It was already tested
few months ago and it gave few % speedup in barber shop, but was
reverted due to some bone popping. The popping is now fixed so it
should be fine to use new scheduling policy.
This commit is contained in:
Sergey Sharybin 2016-12-05 16:31:34 +01:00
parent 69e8e34d96
commit 7471f09f2b

@ -304,7 +304,7 @@ static void schedule_node(TaskPool *pool, Depsgraph *graph, unsigned int layers,
deg_task_run_func,
node,
false,
TASK_PRIORITY_LOW,
TASK_PRIORITY_HIGH,
thread_id);
}
}