[PATCH] [SRU][F/kvm][Config] enable nftables (and modules)

Paolo Pisati paolo.pisati at canonical.com
Fri Jul 10 12:52:17 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1881346

[Impact]

LXD can't use nftables on the latest Focal/linux-kvm kernel, since nftables
support is disabled (contrary to generic where nftables is enabled).

[Fix]

Apply the attached config change

[Regression potential]

Low, we are enabling CONFIG_NF* options widely used in generic since a while.

Boot performance-wise, the config change has been tested on a isolated KVM
instance iterating over 100 reboot cycles, and we didn't notice any obvious
regression:

5.4.0-1018-kvm 20.04 focal (CPUS=1):

kernel: 2.16371, user: 7.58647, total: 9.75018
kernel_std: .03405, user_std: .33445, total_std: .33524

5.4.0-1018-kvm~nft 20.04 focal (CPUS=1):

kernel: 2.15961, user: 7.63694, total: 9.79655
kernel_std: .03420, user_std: .36585, total_std: .37049


Paolo Pisati (1):
  UBUNTU: [Config] kvm: enable nftables (and modules)

 debian.kvm/config/config.common.ubuntu | 51 +++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

-- 
2.7.4




More information about the kernel-team mailing list