Google translate.
There is a problem with the catastrophically low performance of NanoPI R3S on OpenWrt firmware.
Anyone can see this for themselves. Just run the benchmark wg-bench
-> https://github.com/cyyself/wg-bench
The result will be about 330-360 Mbits/sec.
This is the same result that a 2-core cortex a53 with a frequency of 1300 MHz from Mediatek MT7981 gives.
How can 4 cores of cotex a55 with a frequency of 1800 MHz be equal to 2 cores of cortex a53 1300 MHz?!
Obviously, it's all about a Linux kernel configuration error. The author of wg-bench
himself draws attention to this error -> A Wireguard comparison DB - #54 by cyyself
I looked through almost all platforms supported by OpenWrt -> https://github.com/openwrt/openwrt/tree/main/target/linux
And found that only the kernel for Rockchip is built with the configuration CONFIG_PREEMPT=y
-> https://github.com/openwrt/openwrt/blob/main/target/linux/rockchip/armv8/config-6.6
While all the others, Mediatek, Broadcom, Qualcomm, x86, have interrupts disabled in the kernel configuration CONFIG_PREEMPT_NONE_BUILD=y
.
Dear OpenWrt developers, please pay attention to the problem and make the appropriate changes to the kernel configuration for Rockchip.
Original.
Есть проблема с катастрофически низкой производительностью NanoPI R3S на прошивке OpenWrt.
Каждый может убедиться в этом лично. Достаточно запустить бенчмаркwg-bench
-> https://github.com/cyyself/wg-bench
Результат будет около 330-360 Mbits/sec.
Это такой же результат, который выдает 2-ядерный cortex a53 с частотой 1300MHz от Mediatek MT7981.
Разве 4 ядра cotex a55 с частотой 1800MHz могут равняться 2 ядрам cortex a53 1300MHz?!Очевидно все дело в ошибке конфигурации ядра линукс. На эту ошибку обращает внимание сам автор
wg-bench
-> A Wireguard comparison DB - #54 by cyyselfЯ просмотрел практически все платформы поддерживаемые OpenWrt -> https://github.com/openwrt/openwrt/tree/main/target/linux
И обнаружил, что только ядро для Rockchip собирается с конфигурациейCONFIG_PREEMPT=y
-> https://github.com/openwrt/openwrt/blob/main/target/linux/rockchip/armv8/config-6.6
Тогда как все остальные, Mediatek, Broadcom, Qualcomm, x86, в конфигурации ядра имеют отключенные прерыванияCONFIG_PREEMPT_NONE_BUILD=y
.Уважаемые разработчики OpenWrt, пожалуйста обратите внимание на проблему, и внесите соответствующие изменения в конфигурацию ядра для Rockchip.