Disable postcopy for ovn/ovs-dpdk

postcopy gets enabled per default if the it is not a realtime node [1].
To have postcopy to work ovs needs to be started with --mlockall=no.
As it is not known yet if this might have performance impact, we might
want to set NovaLiveMigrationPermitPostCopy to False in the dpdk
environment files.

Related-Bug: #1939028
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1986567

[1] https://review.opendev.org/q/If8958c414c400026c66187261d8fff439aad6388

Change-Id: I3f6ddbcf1e4a260384ea5ed36a4a2357dc982a23
This commit is contained in:
Martin Schuppert 2021-08-05 16:52:06 +02:00
parent 169e4e9834
commit ddb8acf321
2 changed files with 4 additions and 1 deletions

View File

@ -5,3 +5,5 @@ resource_registry:
parameter_defaults:
NeutronVhostuserSocketDir: /var/lib/vhost_sockets
# Disable postcopy for dpdk for now, further details see https://bugzilla.redhat.com/show_bug.cgi?id=1986567
NovaLiveMigrationPermitPostCopy: False

View File

@ -9,4 +9,5 @@ parameter_defaults:
NovaSchedulerEnabledFilters: "ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
OvsDpdkDriverType: "vfio-pci"
NeutronPluginExtensions: "qos,port_security"
# Disable postcopy for dpdk for now, further details see https://bugzilla.redhat.com/show_bug.cgi?id=1986567
NovaLiveMigrationPermitPostCopy: False