]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: give the scheduler a bit more flexibility in the runqueue size
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Mar 2021 08:26:24 +0000 (09:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Mar 2021 10:15:34 +0000 (11:15 +0100)
commit1691ba3693d4b11cc85aed606d39ffbd23d8533f
tree913d37822b51b58af10a76fbb791a2e03fab68da
parentbefef70e23fadc956cb32f6912e9e795db70ca21
MINOR: task: give the scheduler a bit more flexibility in the runqueue size

Instead of setting a hard-limit on runqueue-depth and keeping it short
to maintain fairness, let's allow the scheduler to automatically cut
the existing one in two equal halves if its size is between the configured
size and its double. This will allow to increase the default value while
keeping a low latency.
src/task.c