mixer-tools icon indicating copy to clipboard operation
mixer-tools copied to clipboard

Spend less time waiting for delta pack creation

Open gtkramer opened this issue 5 years ago • 1 comments

It appears that when delta packs are being created, the work that needs done if first computed, and then all the work is parallelized. This ends up causing the machine to spend lots of time idle prior to parallelizing work. Would it be faster to, as soon as work is found that needs done, that that work is spun off as a task with no more than x tasks spun off at once?

gtkramer avatar Nov 12 '19 02:11 gtkramer

The main bottleneck for delta pack generation is sorting the bundles, which is currently not parallelized, as we are using default sorting which Go provides. We can compare writing a concurrent sorting algorithm and check how much improvement in performance can be achieved.

ashleshaAtrey avatar May 01 '20 18:05 ashleshaAtrey