summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2024-02-29 22:57:28 +0100
committerivan-boikov <mail@ikboikov.net>2025-11-29 15:16:41 +0100
commitf89e7770c6268e0a020da9ac0dd3f486fddbb9ac (patch)
treec633a9e4f59db082c09d61bee11d50f735aa482e
parent8ee62fa4e416b5ce3ce28934661068662c944ac3 (diff)
Kernel flags for libvirt and powertop
-rw-r--r--kernel/kernel/config.d/20-libvirt.config6
-rw-r--r--kernel/kernel/config.d/20-powertop.config3
2 files changed, 9 insertions, 0 deletions
diff --git a/kernel/kernel/config.d/20-libvirt.config b/kernel/kernel/config.d/20-libvirt.config
new file mode 100644
index 0000000..724b32b
--- /dev/null
+++ b/kernel/kernel/config.d/20-libvirt.config
@@ -0,0 +1,6 @@
+CONFIG_NET_ACT_POLICE=y
+CONFIG_NET_CLS_FW=y
+CONFIG_NET_CLS_U32=y
+CONFIG_NET_SCH_HTB=y
+CONFIG_NET_SCH_INGRESS=y
+CONFIG_NET_SCH_SFQ=y
diff --git a/kernel/kernel/config.d/20-powertop.config b/kernel/kernel/config.d/20-powertop.config
new file mode 100644
index 0000000..8b7efcd
--- /dev/null
+++ b/kernel/kernel/config.d/20-powertop.config
@@ -0,0 +1,3 @@
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y