mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 16:41:07 +00:00
qualcommax: Fix threaded NAPI scheduling
Revert to using the default kernel timer (CONFIG_HZ_100). Setting the timer to 1000hz is unecessary and just adds CPU overhead. It also causes atomic scheduling issues in various threaded tasks, especially when using threaded NAPI. When the kernel timer frequency is set to 1000 Hz, it generates interrupts 1000 times per second. This increased frequency can lead to more frequent context switches and interrupt handling, which can interfere with other kernel activities. Since network packet processing is offloaded to the NSS cores, the main CPU does not need high-resolution timer interrupts to manage network traffic efficiently. The NSS cores handle this independently. This is the setting used and recommended by Qualcomm for all their IPQ platforms. Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
976b191d1f
commit
777260b609
@ -198,9 +198,6 @@ CONFIG_HWSPINLOCK=y
|
||||
CONFIG_HWSPINLOCK_QCOM=y
|
||||
CONFIG_HW_RANDOM=y
|
||||
CONFIG_HW_RANDOM_MSM=y
|
||||
CONFIG_HZ=1000
|
||||
# CONFIG_HZ_100 is not set
|
||||
CONFIG_HZ_1000=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_I2C_BOARDINFO=y
|
||||
CONFIG_I2C_CHARDEV=y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user