Blame SOURCES/tuned-2.18.0-nf-conntrack-hashsize.patch

0594d5
From e1b21f23c9ca00bf9f399165c4d46d647f3946ca Mon Sep 17 00:00:00 2001
0594d5
From: Paolo Abeni <pabeni@redhat.com>
0594d5
Date: Wed, 9 Feb 2022 17:15:46 +0100
0594d5
Subject: [PATCH] raise the netfilter hash table size in
0594d5
 openshift/atomic-{host,guest} to match the max netfilter conntrack entries,
0594d5
 reducing such hash table load.
0594d5
0594d5
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
0594d5
---
0594d5
 profiles/atomic-guest/tuned.conf | 2 +-
0594d5
 profiles/atomic-host/tuned.conf  | 2 +-
0594d5
 profiles/openshift/tuned.conf    | 2 +-
0594d5
 3 files changed, 3 insertions(+), 3 deletions(-)
0594d5
0594d5
diff --git a/profiles/atomic-guest/tuned.conf b/profiles/atomic-guest/tuned.conf
0594d5
index c5a9417d..fe8d382a 100644
0594d5
--- a/profiles/atomic-guest/tuned.conf
0594d5
+++ b/profiles/atomic-guest/tuned.conf
0594d5
@@ -10,7 +10,7 @@ include=virtual-guest
0594d5
 avc_cache_threshold=65536
0594d5
 
0594d5
 [net]
0594d5
-nf_conntrack_hashsize=131072
0594d5
+nf_conntrack_hashsize=1048576
0594d5
 
0594d5
 [sysctl]
0594d5
 kernel.pid_max=131072
0594d5
diff --git a/profiles/atomic-host/tuned.conf b/profiles/atomic-host/tuned.conf
0594d5
index 968366fa..91ea5555 100644
0594d5
--- a/profiles/atomic-host/tuned.conf
0594d5
+++ b/profiles/atomic-host/tuned.conf
0594d5
@@ -10,7 +10,7 @@ include=throughput-performance
0594d5
 avc_cache_threshold=65536
0594d5
 
0594d5
 [net]
0594d5
-nf_conntrack_hashsize=131072
0594d5
+nf_conntrack_hashsize=1048576
0594d5
 
0594d5
 [sysctl]
0594d5
 kernel.pid_max=131072
0594d5
diff --git a/profiles/openshift/tuned.conf b/profiles/openshift/tuned.conf
0594d5
index 9019c05e..9815fb9e 100644
0594d5
--- a/profiles/openshift/tuned.conf
0594d5
+++ b/profiles/openshift/tuned.conf
0594d5
@@ -10,7 +10,7 @@ include=${f:virt_check:virtual-guest:throughput-performance}
0594d5
 avc_cache_threshold=8192
0594d5
 
0594d5
 [net]
0594d5
-nf_conntrack_hashsize=131072
0594d5
+nf_conntrack_hashsize=1048576
0594d5
 
0594d5
 [sysctl]
0594d5
 net.ipv4.ip_forward=1