]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: bind-conf: support a new shards value: "by-group"
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Apr 2023 15:25:43 +0000 (17:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Apr 2023 15:38:31 +0000 (17:38 +0200)
commita07635ead593371a74f0e63aad756916677221b2
treeec01ae9df8175e8343a2e901a2796d1206a34833
parentd30e82b9f0ad07bf1ce0f2dc100937a518d53877
MINOR: bind-conf: support a new shards value: "by-group"

Setting "shards by-group" will create one shard per thread group. This
can often be a reasonable tradeoff between a single one that can be
suboptimal on CPUs with many cores, and too many that will eat a lot
of file descriptors. It was shown to provide good results on a 224
thread machine, with a distribution that was even smoother than the
system's since here it can take into account the number of connections
per thread in the group. Depending on how popular it becomes, it could
even become the default setting in a future version.
doc/configuration.txt
src/cfgparse.c
src/listener.c