Commit Graph

5 Commits

Author SHA1 Message Date
Mads Meisner-Jensen
3e4d2d5a99 rpi4-files/etc/init.d/irq-eth-pin: fix compile error/warning
initscripts will run while building OpenWRT images on the host system
as described on the wiki:
https://openwrt.org/docs/guide-developer/procd-init-scripts#init_scripts_during_compilation
Thus we no longer execute any commands and wrap functionality into proper
start_service() function
2021-10-03 12:20:23 +02:00
Mads Meisner-Jensen
c800e22b9c rpi-4: add 'l' and 'la' aliases to /etc/profile 2021-09-25 15:07:55 +02:00
Mads Meisner-Jensen
49e1354e67 rpi-4: add patch for fwknopd luci bug
patch is applied on first boot after sysupgrade
see https://github.com/openwrt/luci/issues/5073
2021-09-25 15:07:16 +02:00
Mads Meisner-Jensen
f4de7556a2 rpi-4: add /etc/uci-defaults/99-custom empty template file 2021-05-15 15:02:29 +02:00
Mads Meisner-Jensen
30054d0855 rpi-4: move/pin eth0 IRQs to CPU2
Move all eth0 IRQ processing to CPU2 instead of CPU1 which is the
default. CPU1 will continue handling all the USB interrupts which
also include USB-Ethernet adapter interrupts.

This significantly lowers the softirq load on CPU1 (from 99% to
less than 10%)

irqbalance could do the same and you can still run irqbalance
because the /etc/init.d/irq-eth-pin script will add the eth0 to
the ban list of irqbalance

See interrupt load with
  while true; do clear; cat /proc/interrupts; sleep 1; done
2021-05-15 15:02:02 +02:00