From ddb8acf321d1a108d4a156ff9db20e8d040025a2 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Thu, 5 Aug 2021 16:52:06 +0200 Subject: [PATCH] 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 --- environments/services/neutron-ovn-dpdk.yaml | 2 ++ environments/services/neutron-ovs-dpdk.yaml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/environments/services/neutron-ovn-dpdk.yaml b/environments/services/neutron-ovn-dpdk.yaml index cf1600cc7d..c4cdb2c76f 100644 --- a/environments/services/neutron-ovn-dpdk.yaml +++ b/environments/services/neutron-ovn-dpdk.yaml @@ -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 diff --git a/environments/services/neutron-ovs-dpdk.yaml b/environments/services/neutron-ovs-dpdk.yaml index ffc3c692d4..41e89a9864 100644 --- a/environments/services/neutron-ovs-dpdk.yaml +++ b/environments/services/neutron-ovs-dpdk.yaml @@ -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