commit 61d149c0123997accc5c48994d7a4d1514eb49c9
Author: Adam Spiers <email address hidden>
Date: Thu Aug 1 20:37:09 2019 +0100
Fix default RPC worker count
The help for the rpc_workers config option is:
Number of RPC worker processes for service. If not specified, the
default is equal to half the number of API workers.
However, this does not accurately describe the current behaviour,
which is to default to half the _default_ number of API workers. This
can make a big difference; for example on a 256-CPU machine with 256GB
of RAM which has api_workers configured to 8 but rpc_workers not
configured to anything, this will result in 64 RPC workers, which is 8
for every API worker!
Therefore tweak the default to rely on the actual value of
api_workers, which may be different than the default value.
Reviewed: https:/ /review. opendev. org/674125 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=61d149c0123 997accc5c48994d 7a4d1514eb49c9
Committed: https:/
Submitter: Zuul
Branch: master
commit 61d149c0123997a ccc5c48994d7a4d 1514eb49c9
Author: Adam Spiers <email address hidden>
Date: Thu Aug 1 20:37:09 2019 +0100
Fix default RPC worker count
The help for the rpc_workers config option is:
Number of RPC worker processes for service. If not specified, the
default is equal to half the number of API workers.
However, this does not accurately describe the current behaviour,
which is to default to half the _default_ number of API workers. This
can make a big difference; for example on a 256-CPU machine with 256GB
of RAM which has api_workers configured to 8 but rpc_workers not
configured to anything, this will result in 64 RPC workers, which is 8
for every API worker!
Therefore tweak the default to rely on the actual value of
api_workers, which may be different than the default value.
Change-Id: I26115932ef4775 f157297be1637ee 26a4fca4666
Related-Bug: #1838688
Closes-Bug: #1838689