commit 182044d628314290a38440bab203d27fb9db755d
Author: shenjiatong <email address hidden>
Date: Sun May 15 10:12:47 2022 +0800
Do not auto subquery load DistributedPortBindings
We observe excessive DB calls to load DistributedPortBindings,
We have enabled DVR and have some huge virtual routers with around
60 router interfaces scheduled on around 200 compute nodes. Under such
situation, subquery load DistributedPortBinding looks like not a very wise
idea, because it is not explicitly used.
I glance through the code and have a feeling that ml2_distributed_port_bindings
is not used except explicitly called. So IMO it is safe to change it to
default lazy load without causing serious regression.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/841823 /opendev. org/openstack/ neutron/ commit/ 182044d62831429 0a38440bab203d2 7fb9db755d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 182044d62831429 0a38440bab203d2 7fb9db755d
Author: shenjiatong <email address hidden>
Date: Sun May 15 10:12:47 2022 +0800
Do not auto subquery load DistributedPort Bindings
We observe excessive DB calls to load DistributedPort Bindings, Binding looks like not a very wise
We have enabled DVR and have some huge virtual routers with around
60 router interfaces scheduled on around 200 compute nodes. Under such
situation, subquery load DistributedPort
idea, because it is not explicitly used.
I glance through the code and have a feeling that ml2_distributed _port_bindings
is not used except explicitly called. So IMO it is safe to change it to
default lazy load without causing serious regression.
Closes-bug: #1973576 c754a8e4938e6c5 eafacc75dcc
Change-Id: Ib2c48bd5ad55e9