LS1088ARDB - reduced bandwidth connection

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1088ARDB - reduced bandwidth connection

622 Views
Contributor II

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? 

Labels (1)
0 Kudos
21 Replies

111 Views
Contributor II

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.

0 Kudos

49 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

466 Views
Contributor II

I used the NXP openwrt release with those configurations set and my connection is still capped at 70Mbps. I have attached my .config file. 

0 Kudos

465 Views
NXP TechSupport
NXP TechSupport

Would you please provide your testing console log?

0 Kudos

466 Views
Contributor II

My testing console log is attached below

0 Kudos

466 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

466 Views
Contributor II

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?

0 Kudos

466 Views
NXP TechSupport
NXP TechSupport
0 Kudos

466 Views
Contributor II

I am still not getting line rate using your image. How did you test if you were getting the full bandwidth.Could you also send me the config file you used to create this image. 

0 Kudos

466 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

466 Views
Contributor II

This config did work either. Are you sure you can get 1Gbps through all the ports using this configuration? How did you set up the network interfaces? 

0 Kudos

466 Views
NXP TechSupport
NXP TechSupport

Would you please provide your console log to use “speedtest" tool?

0 Kudos

434 Views
Contributor II

I have attached the log and speed test

0 Kudos

400 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

358 Views
Contributor II

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?

0 Kudos

327 Views
NXP TechSupport
NXP TechSupport

Please refer to the image built from the latest OpenWrt release(on September 25th).

https://drive.google.com/file/d/1LlTlz8yzqdStnxW3U1mWl47IZHg86NDI/view?usp=sharing

0 Kudos

375 Views
Contributor II

My issue still persists, what else can I try to solve it?

0 Kudos

368 Views
NXP TechSupport
NXP TechSupport

Please try the latest OpenWrt release, I uploaded it in the following link.

https://drive.google.com/file/d/1uxTNZzrc6Fu-wjaEL5arYe_QjSRnOp-Q/view?usp=sharing

 

NXP will release a new version OpenWrt on September 25th.

0 Kudos

263 Views
Contributor II

I have tried building an image with the builder you have sent and I have tried the updated OpenWRT repo. Neither solution is working, what else can I try? Is there a hard reset I could trigger to wipe the flash drives?

0 Kudos

466 Views
NXP TechSupport
NXP TechSupport

Please use NXP latest released OpenWrt OpenWrt-19.04 

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/openwrt

$ git checkout OpenWrt-19.04

In addition, please disable CONFIG_NETFILTER and CONFIG_CPU_FREQ in Linux kernel.

0 Kudos