summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/progress.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2019-04-16 12:53:09 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2019-04-16 12:59:54 +0200
commitf426580b9964a15fbb2074aee6d5fb61b5e45ee2 (patch)
treee5f3763ec97c79eee534585e67cdf671e4dad4e6 /apt-pkg/contrib/progress.h
parentfebbe5e33b2105c8f40006a4b92ab5aa169aa03c (diff)
Don't limit cpu-limited queues to at most 10
Queues for processes like rred are not created by hostname but we spawn at most CPU*2 queues to place items in. The problem is that we then proceeded to limit it to at most 10 queues (via QueueHost::Limit) again at the end of the method so that all items (after the first 10 queues are busy) are forcibly placed into a generic catch-all instance which is bad because we don't keep all CPUs we have available busy and worse we end up sheduling the most work to a single one while random distribution was intended.
Diffstat (limited to 'apt-pkg/contrib/progress.h')
0 files changed, 0 insertions, 0 deletions