I have been running OpenWRT on the LS1088ARDB. I first tested a 1Gbps internet service plan to make sure the ports were working as specification and it worked using a v17.01.7 build. I then upgraded to v19.03 to get mwan3 support and now the maximum bandwidth i can get is about 70-100 Mbps. I have tried going back to the original image but my bandwidth still seems to be capped. What could the issue be?
You said your testing team tried running bandwidth tests disabling iptables. My firewall is based on iptables, does this mean i can't run my router at line rate with my firewall up?
Also, I have been trying many different images and using past images I know I got line rate using, but even those don't work. What do you think is the issue here?
Finally, do you think its possible that I can get the testing procedure and the test results from your testing team? I have been working on this router for 4-5 months and this issue persists, I am running out of options.
Please try the image provided by the testing team, which could be downloaded from the folloing link.
https://drive.google.com/file/d/1LlTlz8yzqdStnxW3U1mWl47IZHg86NDI/view?usp=sharing
And the testing procedure provided by the testing team as the following.
root@OpenWrt:/#/etc/init.d/netserver disable
root@OpenWrt:/#/etc/init.d/netserver stop
root@OpenWrt:/#/etc/init.d/dnsmasq disable
root@OpenWrt:/#/etc/init.d/dnsmasq stop
root@OpenWrt:/#/etc/init.d/firewall disable
root@OpenWrt:/#/etc/init.d/firewall stop
root@OpenWrt:/#uci commit && service network restart
remove the related module of netfilter in /lib/module/<kernel version>
mkdir -p /lib/module/`uname -r`/ netfiter_back/
mv nf_* netfiter_back/
mv ip_tables.ko ip6_tables.ko ip6table_filter.ko iptable_filter.ko x_tables.ko netfiter_back/
reboot -f
Does OpenWRT allow for the 1Gbps speeds the ports support? Does OpenWRT take advantage of the hardware acceleration present on the LS1088 for networking? I think my kernel is handling the networking which is causing the reduced speed. How do I make DPAA2 handle networking instead?
DPAA2 is enabled in Linux Kernel by default, would you please try image provided in my last post?
DPAA2 is enabled by default, it is hardware mechanism.
Would you please provide your testing console log?
What tool did you use to measure the maximum bandwidth? Did you use iperf?
Did you build images with the following commands?
* make menuconfig
* make
Final firmware/image
Path: bin/targets/layerscape/<subtarget>/
Firmware for flash: openwrt-layerscape-<subtarget>-<device>-<rootfs>-firmware.bin
Image for SD card: openwrt-layerscape-<subtarget>-<device>-<rootfs>-sdcard.img
I used http://www.dslreports.com/speedtest to measure the bandwidth
I built the image with:
make menuconfig, to choose the target and device
make -j1, to build the image
Could you send me the firmware image you used to test?
Please download the firmware image from openwrt-layerscape-armv8_64b-ls1088ardb-ubifs-firmware.bin - Google Drive
Hello Reza Mohammadi,
Please refer to the attached Kernel configuration file, please put it in openwrt/build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b/linux-4.14.108 and rebuild image.
Thanks,
Yiping
Would you please provide your console log to use “speedtest" tool?
Please refer to the following comment from the testing team.
Prepare the environment for networking performance testing:
the nefilter can’t be disabled in compilation .You should disable it manually on board.
root@OpenWrt:/#/etc/init.d/netserver disable
root@OpenWrt:/#/etc/init.d/netserver stop
root@OpenWrt:/#/etc/init.d/dnsmasq disable
root@OpenWrt:/#/etc/init.d/dnsmasq stop
root@OpenWrt:/#/etc/init.d/firewall disable
root@OpenWrt:/#/etc/init.d/firewall stop
root@OpenWrt:/#uci commit && service network restart
remove the related module of netfilter in /lib/module/<kernel version>
mkdir -p /lib/module/`uname -r`/ netfiter_back/
mv nf_* netfiter_back/
mv ip_tables.ko ip6_tables.ko ip6table_filter.ko iptable_filter.ko x_tables.ko netfiter_back/
reboot -f
Why would I need to disable netfilters? my firewall and mwan3 setup require those modules. Does this imply I cannot run my setup at line rate?
As noted:
https://www.nxp.com/docs/en/supporting-information/DN-Silicon-bring-up-QorIQ-LS1-Processor.pdf
The LS1088A is targeted for use in industrial firewall applications - are there any reference designs or images to support operation at line rates? Is this implemented within the NXP OpenWRT image?