[LEDE-DEV] [PATCH] kernel: Switch to No-op for the default scheduler.
Rosen Penev
rosenp at gmail.com
Sat Nov 4 12:57:09 PDT 2017
No-op uses less CPU compared to deadline. Important since LEDE runs mainly on routers. Getting rid of deadline saved 156 bytes on my vmlinux file.
Tests conducted by Phoronix on the 4.12 kernel indicate that Deadline is slightly slower than No-op, except with multi-threaded workloads.
https://www.phoronix.com/scan.php?page=article&item=linux-412-io
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
target/linux/generic/config-4.9 | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9
index 9512e494af..13da0be873 100644
--- a/target/linux/generic/config-4.9
+++ b/target/linux/generic/config-4.9
@@ -1002,11 +1002,9 @@ CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_ZBOOT is not set
# CONFIG_DECNET is not set
CONFIG_DEFAULT_CUBIC=y
-CONFIG_DEFAULT_DEADLINE=y
CONFIG_DEFAULT_HOSTNAME="(none)"
-CONFIG_DEFAULT_IOSCHED="deadline"
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
-# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_NOOP=y
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_SECURITY=""
CONFIG_DEFAULT_SECURITY_DAC=y
@@ -1867,7 +1865,7 @@ CONFIG_INPUT_MISC=y
# CONFIG_INV_MPU6050_SPI is not set
# CONFIG_IOMMU_SUPPORT is not set
# CONFIG_IOSCHED_CFQ is not set
-CONFIG_IOSCHED_DEADLINE=y
+# CONFIG_IOSCHED_DEADLINE is not set
CONFIG_IOSCHED_NOOP=y
CONFIG_IO_STRICT_DEVMEM=y
# CONFIG_IP17XX_PHY is not set
--
2.13.6
More information about the Lede-dev
mailing list