New (KONG) Test Build k4.9 - 11/23/2018 (UPDATED)

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4
Author Message
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Fri Nov 23, 2018 8:39    Post subject: Reply with quote
Alozaros wrote:
tatsuya46 i got this from you time ago
still in my set up so far so good

echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/eth0/arp_announce

echo 2 > /proc/irq/31/smp_affinity
echo 2 > /proc/irq/67/smp_affinity
echo 2 > /proc/irq/89/smp_affinity
echo 2 > /proc/irq/255/smp_affinity

sadly i had explanations for each line but lost it
somewhere.. but roughly it moves eth0 and wi-fi
the top 2 lines ware related with ARP Spoofing if im not wrong and i just noticed i may not need them any more as there is a setting ARP Spoofing Protection



now this looks a bit different

echo 2 > /proc/irq/100/smp_affinity
echo 1 > /proc/irq/101/smp_affinity


different kernel different interrupts for the interfaces. both radios are interrupt hogs on k4.9 even when idle with no connected devices, i get best results having wan on the other core and lan on first core with the radios

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

Sponsor
nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Fri Nov 23, 2018 10:51    Post subject: Reply with quote
tatsuya46:
so now only the last two lines are needed?
I thought those two only related to the cpu load balancing part.
Or is it the second group of 4 lines + the last group of 2 lines (for balancing)?

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Fri Nov 23, 2018 10:56    Post subject: Reply with quote
only
echo 2 > /proc/irq/100/smp_affinity
echo 1 > /proc/irq/101/smp_affinity

is needed, for a r7800, u need to find what the interrupt is for ea8500 and adjust accordingly. echo 2 (second core) for wan interface (eth0), echo 1 (first core) for lan interface (eth1)

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Fri Nov 23, 2018 11:37    Post subject: Reply with quote
Thanks for the clarification, tatsuya46.
I tried the R7800 settings; not sure if any improvement.
The R7800 chipset is very similar to a 1.7MHz version of the same chipset as the EA8500 at 1.4MHZ, and same as R7500v2
I might need a fellow EA8500 user to help find the correct interrupts for me if they are different

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums


Last edited by nickant on Fri Nov 23, 2018 11:43; edited 1 time in total
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Fri Nov 23, 2018 11:41    Post subject: Reply with quote
nickant wrote:
Thanks for the clarification, tatsuya46.
I might need a fellow EA8500 user to help find the correct interrupts for me.

EA800
Code:

root@~~:~# cat /proc/interrupts
           CPU0       CPU1       
 16:    1791312     205932     GIC-0  18 Edge      gp_timer
 18:         65          0     GIC-0  51 Edge      qcom_rpm_ack
 19:          0          0     GIC-0  53 Edge      qcom_rpm_err
 20:          0          0     GIC-0  54 Edge      qcom_rpm_wakeup
 95:          0          0     GIC-0 241 Edge      ahci[29000000.sata]
 96:          0          0     GIC-0 210 Edge      tsens_interrupt
 97:    3391967          0     GIC-0  67 Edge      qcom-pcie-msi
 98:    3652191          0     GIC-0  89 Edge      qcom-pcie-msi
 99:     146188          0     GIC-0 202 Edge      adm_dma
100:    2432012          0     GIC-0 255 Level     eth0
102:          0          0   PCI-MSI   0 Edge      aerdrv
103:    3391967          0   PCI-MSI   1 Edge      ath10k_pci
135:          0          0   PCI-MSI   0 Edge      aerdrv
136:    3652191          0   PCI-MSI   1 Edge      ath10k_pci
168:       1142          0     GIC-0 184 Level     msm_serial0
169:        644          0     GIC-0 142 Level     xhci-hcd:usb1
170:          0          0     GIC-0 237 Level     xhci-hcd:usb3
IPI0:         0          0       CPU wakeup interrupts
IPI1:         0          0       Timer broadcast interrupts
IPI2:     24567     114882       Rescheduling interrupts
IPI3:        80         74       Function call interrupts
IPI4:         0          0       CPU stop interrupts
IPI5:   1336340     239736       IRQ work interrupts
IPI6:         0          0       completion interrupts
Err:          0
nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Fri Nov 23, 2018 11:45    Post subject: Reply with quote
Ok mrjcd!
Hmmm...I'm still a bit lost in there...
eth0 looks to be irq100
no sign of eth1.
Might they be the same as r7800?

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Fri Nov 23, 2018 11:48    Post subject: Reply with quote
nickant wrote:
Ok mrjcd!
Hmmm...I'm still a bit lost in there...

Even though EA8500 & r7800 have same make/model switch the EA8500 switch is not separated.

nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Fri Nov 23, 2018 11:53    Post subject: Reply with quote
I had read that somewhere once.
So does that mean that it is not possible to use the r7800 solution of tasuya46's on the EA8500?

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Fri Nov 23, 2018 12:04    Post subject: Reply with quote
nickant wrote:
I had read that somewhere once.
So does that mean that it is not possible to use the r7800 solution of tasuya46's on the EA8500?


I guess you could move the both 'ath10k_pci' --- 103 & 136
and see what happens
My 50/50 connection tis good enough for us and I never really have a problem Cool

http://www.dslreports.com/speedtest/42199903

EDIT: corrected my boo boo


Last edited by mrjcd on Fri Nov 23, 2018 14:53; edited 2 times in total
nickant
DD-WRT User


Joined: 09 Feb 2016
Posts: 320

PostPosted: Fri Nov 23, 2018 12:22    Post subject: Reply with quote
mrjcd:
you mean 103 and 136?
Not sure if I want to experiment too much.
Using 100 and 101 (as per R7800) has not caused any grief so far, but I might revert to defaults for now.

_________________
------------------------------------
Netgear XR500 OpenWrt-23.05.3 (Gateway)
Linksys EA8500 OpenWrt-23.05.3 (Wired AP)
Linksys WRT3200ACM DD-WRT r55819 (spare Wired AP)
Netgear WNDR3700v4 DD-WRT r55779 (spare Gateway)
Photos: https://www.flickr.com/photos/nickant44/albums
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Fri Nov 23, 2018 12:28    Post subject: Reply with quote
nickant wrote:
mrjcd:
you mean 103 and 136?
Not sure if I want to experiment too much.
Using 100 and 101 (as per R7800) has not caused any grief so far.

thanks.......yea meant 103 & 136

but now that I think about it prolly be simpler to just move 100 (eth0) to CPU1
....imma bit slow these days... yall just have to overlook some my stuff Confused
Goto page Previous  1, 2, 3, 4 Display posts from previous:    Page 4 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum