LS1088ARDB - reduced bandwidth connection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1088ARDB - reduced bandwidth connection

6,128 Views
reza_m
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
Reply
26 Replies

4,918 Views
reza_m
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
Reply

4,851 Views
yipingwang
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
Reply

4,765 Views
reza_m
Contributor II

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? 

0 Kudos
Reply

4,737 Views
yipingwang
NXP TechSupport
NXP TechSupport

DPAA2 is enabled in Linux Kernel by default, would you please try image provided in my last post?

0 Kudos
Reply

4,672 Views
reza_m
Contributor II

How can I check that DPAA2 is enabled and working? 

0 Kudos
Reply

4,633 Views
yipingwang
NXP TechSupport
NXP TechSupport

DPAA2 is enabled by default, it is hardware mechanism. 

0 Kudos
Reply

4,720 Views
reza_m
Contributor II

I have tried it, and I'm running into the same issue.

0 Kudos
Reply

5,273 Views
reza_m
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
Reply

5,272 Views
yipingwang
NXP TechSupport
NXP TechSupport

Would you please provide your testing console log?

0 Kudos
Reply

5,273 Views
reza_m
Contributor II

My testing console log is attached below

0 Kudos
Reply

5,273 Views
yipingwang
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
Reply

5,273 Views
reza_m
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
Reply

5,273 Views
yipingwang
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

5,273 Views
reza_m
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
Reply

5,273 Views
yipingwang
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
Reply

5,273 Views
reza_m
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
Reply

5,273 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

5,241 Views
reza_m
Contributor II

I have attached the log and speed test

0 Kudos
Reply

5,207 Views
yipingwang
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
Reply

5,165 Views
reza_m
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
Reply