msoengineer DD-WRT Guru Joined: 21 Jan 2017 Posts: 1126 Location: Illinois Moderator
Posted: Wed Jun 05, 2019 16:25 Post subject:
Ok, Took the plunge...
Before setting/locking the cores:
After running the code below:
(This code fixed my shittastic LAN performance I've been bitching about since I bought the R9000 over a year ago!)
Code: echo 4 > /proc/irq/240/smp_affinity
echo 8 > /proc/irq/241/smp_affinity
echo 1 > /proc/irq/252/smp_affinity
echo 1 > /proc/irq/253/smp_affinity
echo 1 > /proc/irq/254/smp_affinity
echo 1 > /proc/irq/255/smp_affinity
echo 1 > /proc/irq/256/smp_affinity
echo 1 > /proc/irq/257/smp_affinity
echo 1 > /proc/irq/258/smp_affinity
echo 1 > /proc/irq/259/smp_affinity
echo 1 > /proc/irq/260/smp_affinity
echo 2 > /proc/irq/243/smp_affinity
echo 2 > /proc/irq/244/smp_affinity
echo 2 > /proc/irq/245/smp_affinity
echo 2 > /proc/irq/246/smp_affinity
echo 2 > /proc/irq/247/smp_affinity
echo 2 > /proc/irq/248/smp_affinity
echo 2 > /proc/irq/249/smp_affinity
echo 2 > /proc/irq/250/smp_affinity
echo 2 > /proc/irq/251/smp_affinity
She runs fine with the above code.
When BS releases 39953+ The first two code lines can go away. (IRQ 240 & 241)
The above code puts Wan on Core 0, Lan on Core 1, 5ghz on Core 2, and 2.4ghz on Core 3. I am not using 802.11AD and so I assume the default is that it's on Core 0. It shouldn't affect anything.
The default code is that WAN and Lan are "balanced" across the 4 cores, but when you look at cat /proc/interrupts you will see that there is a slight imbalance between cores.
I'll let her run with the above code until BS pushes out the next build and report back. I don't imagine any issues.
So, as of build 39957 you don't need to do any of the above. BS implemented the changes as of build 39957+ _________________ TIPS/TRICKS: Best QCA Wifi Settings | QCA WIFI WIKI | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To
[R9000]43874 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]taking a nap
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare here napping)
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 6902 Location: Texas, USA