Flow Acceleration missing in latest builds

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
sunny0_0
DD-WRT Novice


Joined: 27 Nov 2019
Posts: 22

PostPosted: Fri Aug 06, 2021 14:55    Post subject: Reply with quote
Quote:
I believe the 6300v2 ac1450 r6250 ext200 are all the same hardware and no that hardware does not have FA. But it's Broadcom so CTF will be available after the second reboot. I would strong recommend the very latest build. The nvram settings don't mean anything. What matters is after the second reboot telnet into the router and run dmesg and look in the kernel modules directory. If you have ctf.ko in that directory and if you see an attach for CTF in the dmesg then you are go for CTF. If you see an attach for FA then you are go for FA and CTF.


Looks to be good to go after flashing the latest beta.

Code:

# dmesg | grep FA
attaching FA
attaching FA
FA Core Detected!


And ctf.ko exists in the kernel mod directory.
Sponsor
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 554

PostPosted: Sat Aug 07, 2021 5:15    Post subject: Reply with quote
Well that is great since I also have a 6300v2 as well it's just not anywhere near here. I look forward to testing that one in a few weeks.
sunny0_0
DD-WRT Novice


Joined: 27 Nov 2019
Posts: 22

PostPosted: Tue Aug 10, 2021 0:57    Post subject: Reply with quote
tedm wrote:
Well that is great since I also have a 6300v2 as well it's just not anywhere near here. I look forward to testing that one in a few weeks.


Just curious, does ctf and fa, or just ctf, disable loopback / hairpinning? I know it does with qos.

Because it seems to break it.

edit: fixed it for my hosted apache server with dnsmasq in dd-wrt...

added to "additional dnsmasq options" after setting my router IP to one of the static dns servers in basic settings:

address=/< my external mydomain.com >/< ip address for server >

As an aside, it doesn't seem anything like fancy cache-size and expand-hosts can be used at the same time.
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 554

PostPosted: Sun Aug 29, 2021 18:14    Post subject: Reply with quote
I don't know about hairpinning but I would absolutely expect that it would not work. Hairpinning really only has 1 legitimate use and that's for "NAT on a stick" devices where they are using a single ethernet port as both the in and out port and doing NAT inside the device. Back in the day someone worked out a config for using NAT in Cisco IOS this way as a way of getting some mileage out of Cisco devices like the 1601 which has only a single 100baseT ethernet port and a slow WAN port. I think they also did it to say "in your eye, Cisco" Nat on a stick is such an inefficient hack anyway that adding more nonsense to it isn't going to make a difference.

But every other time I've seen hairpinning used it was because the network admin was too lazy to run an internal DNS server and fix it the correct way like you did. Hairpinning chews up CPU unnecessarily on the router and the point of CTF is to remove the inefficiencies in the IP stack and it would be contradictory to support it in CTF. Sort of like emissions controls on a Formula 1 racecar.

I DID find out that the Netgear AC1450 _does_not_ have FA hardware while the Netgear R6300V2 _does_ have FA hardware, despite the claim in the dd-wrt wiki that the 2 routers use the same hardware.
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 554

PostPosted: Sun Aug 29, 2021 18:23    Post subject: Reply with quote
hemirunner426 wrote:
Missing here as well on AC68U.

dmesg:
attaching FA
CHIPID 53010, rev 5
no valid FA Mode.
attach ctf for eth%d
_ctf_attach:attach eth%d
bind ctf to eth if


no valid FA Mode just mean FA isn't configured. It exists otherwise it would not say "attaching FA"
JimtheEsquire
DD-WRT Novice


Joined: 10 Jan 2022
Posts: 2

PostPosted: Mon Jan 10, 2022 23:59    Post subject: Flow Acceleration Still not Available on R8000 Reply with quote
Flow acceleration is still not available on the R8000. It is detected in the syslog, should be available on the BCM4709, but never shows up in the UI no matter how many reboots, and if forced by changing the NVRAM variables, the router becomes unresponsive. I believe it may be a problem with the switch configuration, as the switch config page shows a port that is down, which does not match up to a physical port and might be the offload processor.

Default switch config:

ping_ip=nvram show | grep vlan.*ports | sort
vlan1ports=0 1 2 3 5 7 8*
vlan2ports=4 8u
apacheguy
DD-WRT User


Joined: 26 Jun 2008
Posts: 88

PostPosted: Thu Mar 31, 2022 15:45    Post subject: Reply with quote
tedm wrote:
sunny0_0 wrote:
Thanks for the explanation @tedm.

I read your write-up in preparation for next week for when I should be getting Verizon fiber. I have a ddwrt build installed on my Netgear 63000v2 that was posted before the check for CTF and FA was implemented, but the processor is on the northstar list and nvram settings are ctf_disable=0 and ctf_fa_mode=2. It should be all good...


I believe the 6300v2 ac1450 r6250 ext200 are all the same hardware and no that hardware does not have FA. But it's Broadcom so CTF will be available after the second reboot. I would strong recommend the very latest build. The nvram settings don't mean anything. What matters is after the second reboot telnet into the router and run dmesg and look in the kernel modules directory. If you have ctf.ko in that directory and if you see an attach for CTF in the dmesg then you are go for CTF. If you see an attach for FA then you are go for FA and CTF.


I don’t follow. The AC1450 Broadcom CPU is on the Northstar list. Why wouldn’t it support FA?
apacheguy
DD-WRT User


Joined: 26 Jun 2008
Posts: 88

PostPosted: Thu Mar 31, 2022 18:08    Post subject: Reply with quote
Just tested with AC1450 on 48432. The CPU should definitely support FA, but for some reason dd-wrt thinks it does not.

Code:
root@DD-WRT:~# dmesg | grep FA
attaching FA
not FA capable
root@DD-WRT:/# find . -name "ctf.ko"
./lib/modules/4.4.302/ctf.ko
root@DD-WRT:/#
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Mar 31, 2022 19:24    Post subject: Reply with quote
I will consult with BrainSlayer as to which devices support FA. Considering that FA may only support specific revisions of CPU only, it just may be that it is what it is.

EDIT: Nevermind, not going to waste my time.
BrainSlayer wrote:
in newer builds FA support will be detected. originally i added it unconditional for all devices. later i found out that flow acceleration is not supported on all northstar cpu types. the state of the support can be checked with the nvram variable "ctf_fa_cap"
of course you can override it by setting it to 1.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
x53sv
DD-WRT Novice


Joined: 26 May 2018
Posts: 20

PostPosted: Mon Oct 31, 2022 15:35    Post subject: 2 different R7800 - only one shows the option for FA Reply with quote
Running R7800 on DD-WRT v3.0-r49492 std (07/14/22)

egc wrote:
Netgear R6400v1:

Quote:
root@R6400v1:~# dmesg | grep FA
attaching FA
attaching FA
FA Core Detected!
root@R6400v1:~#


One router shows SFE, and STP as options. The other shows SFE, FA and STP as options. Neither router shows FA in the dmesg.

Can someone please help me understand why I might get two different results from 2 different routers that are the exact same model? (R7800) Is there a separate submodel? Do I need to do a factory reset or something?

I would like to test flow-acceleration.

Thanks!


Last edited by x53sv on Mon Oct 31, 2022 15:43; edited 1 time in total
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Mon Oct 31, 2022 15:42    Post subject: Reply with quote
R7800 is Atheros SFE, not Broadcom which can also have CTF and FA options. Maybe factory defaults or nvram erase.

Broadcom routers after reset may need to reboot a few times to be sure DD-WRT has detected the hardware features.

I am guessing you are comparing Netgear R7800 (Atheros) with Netgear R7000 (Broadcom) great routers, or choices.


Last edited by blkt on Mon Oct 31, 2022 16:02; edited 4 times in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Mon Oct 31, 2022 15:46    Post subject: Reply with quote
What do you mean exact the same model?

To me they look like completely different models.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Also look at deviwiki: https://deviwiki.com/ and search you routers

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
x53sv
DD-WRT Novice


Joined: 26 May 2018
Posts: 20

PostPosted: Mon Oct 31, 2022 18:04    Post subject: See attached images - both routers are R7800 - one shows FA Reply with quote
egc wrote:
What do you mean exact the same model?

To me they look like completely different models.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Also look at deviwiki: https://deviwiki.com/ and search you routers


Not looking for firmware, but thank you. This question was regarding testing FA. Hopefully that's ok. I have 2 exact same model routers. 1 shows the FA option, the other does not. I configured both from scratch.

However, I take your point. R7800 should not have FA. Thank you for that. So is this a bug that I should report somewhere?



Screenshot_20221031_140032.png
 Description:
Older configured R7800
 Filesize:  133.04 KB
 Viewed:  1229 Time(s)

Screenshot_20221031_140032.png



Screenshot_20221031_140048.png
 Description:
Newly configured R7800
 Filesize:  135.82 KB
 Viewed:  1230 Time(s)

Screenshot_20221031_140048.png


egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Mon Oct 31, 2022 18:19    Post subject: Reply with quote
And where does it show that it that it has flow acceleration (FA)?

If it shows anywhere then the question arises if you have cleared you browser cache Smile

CTF and FA are strictly Broadcom



Naamloos2.jpg
 Description:
 Filesize:  28.5 KB
 Viewed:  1223 Time(s)

Naamloos2.jpg



Naamloos.jpg
 Description:
 Filesize:  41.87 KB
 Viewed:  1223 Time(s)

Naamloos.jpg



_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Mon Oct 31, 2022 18:27    Post subject: Re: See attached images - both routers are R7800 - one shows Reply with quote
x53sv wrote:
However, I take your point. R7800 should not have FA. Thank you for that. So is this a bug that I should report somewhere?


There is no bug to report, this is Broadcom only and only specific Broadcom devices have CTF & FA, but allmost all should have CTF.

Atheros is SFE only.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum