Linksys EA8300 19.7 to 21.02. Cpu usage with traffic

Hello,

I have upgraded 2days ago my Linksys EA8300 from 19.7 to 21.02. Everything works as before except, it seems to use only cpu0 when performing traffic, whereas cpu0 and cpu1 before.

Cpu usage 19.7 on the left, 21.02 on the right:

Even if I dont see any problems, I wanted to know if it could be an issue on openwrt?
And can changing /etc/config/network could improve it? Sorry I am still pretty new in VLAN Tagging etc

I use it to replace my ISP router which has the internet into VLAN 832.
Here's my network config (with credentials redacted):


config interface 'loopback'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'
	option device 'lo'

config globals 'globals'

config interface 'lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option delegate '0'
	option ip6assign '64'
	option device 'br-lan'

config interface 'wan'
	option proto 'dhcp'
	option broadcast '1'
	option vendorid 'sagem'
	option reqopts '1 15 28 51 58 59 90'
	option sendopts '77:<redacted>'
	list dns '1.1.1.1'
	list dns '1.0.0.1'
	option peerdns '0'
	option device 'eth1.832'

config interface 'wan6'
	option proto 'dhcpv6'
	option reqprefix 'auto'
	option reqaddress 'none'
	option defaultreqopts '0'
	option sendopts '11:<redacted>15:FSVDSL_livebox.Internet.softathome.livebox3<redacted>'
	option reqopts '11 17 23 24'
	option noclientfqdn '1'
	option noacceptreconfig '1'
	list dns '2606:4700:4700::1111'
	list dns '2606:4700:4700::1001'
	option peerdns '0'
	option device 'eth1.832'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '1 2 3 4 0'

config switch_vlan
	option device 'switch0'
	option vlan '101'
	option vid '832'
	option ports '0t 5t'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth0'
	option mtu '1500'

Did you enable packet steering?

screen246

No it is disabled indeed, I will do some tests with it ! thx

Not better with packet steering, exactly the same as before

It seems the cpu is full doing IRQs.
I have reinstalled the irqbalance package, but it does not seem to fix neither
htop:

Correct.

As of 21.02.x, only one CPU is used.

1 Like

wooow clear!
Thanks for the thread! very interesting

I wont dig further then as my cpu0 can handle my 300mbps network fiber :slight_smile:

That would only apply to DSA based switch drivers, which the ipq40xx is not doing (yet, PR pending - perhaps for 23.x.0). However ipq40xx physically only has a single CPU port (even if its swconfig driver fakes two, there's only one, with hardcoded VLAN setups).

1 Like

@hurtauda

Go ahead and credit @slh for the solution, instead of me.

Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.