DDTB (HW-NAT) routing performance on ARM-based AC routers

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Author Message
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Wed Aug 06, 2014 9:39    Post subject: DDTB (HW-NAT) routing performance on ARM-based AC routers Reply with quote
Update: Starting with 24850M (page 4), I am seeing high speeds in lab setups, but when connected to my ISP, I am also seeing the broken connectivity problem that many (but not all) users have reported.


- Original post below -


I recently got Google Fiber, which has gigabit WAN. Unfortunately, this meant that my existing router (a TRENDNet TEW-673GRU running DD-WRT build 23919) could not handle the full WAN speed--it gets about 340Mbps.

So I got a WZR-1750DHP, and flashed it with build 24760 to try out DDTB (DD-WRT TurboBoost; the re-implementation of Broadcom's CTF). I maxed out at 265Mbps.

So the older single-core 680MHz router running a build of DD-WRT without DDTB outperformed a newer router with dual-core 800MHz CPU with a DD-WRT build that uses DDTB.

* I ran "iptables -vnL -t raw" as Kong suggested in another thread, and confirmed that ddtb is indeed active.

* No, I was not using QoS. And the new router was configured similarly to the old router.

* I didn't get a chance to test the stock firmware because my ISP requires VLAN tagging and CoS marking, which is something that the stock firmware does not support.


Anyway, I remember reading in another thread Kong saying that these builds of DDTB are actually debug builds and are slower, but it still surprises me that it couldn't even beat the DD-WRT of a 4-year-old router. (Which is fine--I know that DDTB is a very new thing and that the dust has yet to settle on it, and I think it's exciting that this is being worked on. I was just worried that maybe there was a problem on my end.)

Has anyone else tried out DDTB? Are you seeing something similar too, or am I doing something wrong?


Last edited by code65536 on Sun Aug 17, 2014 14:55; edited 3 times in total
Sponsor
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Aug 06, 2014 11:48    Post subject: Re: DDTB routing performance on ARM-based AC routers Reply with quote
code65536 wrote:
I recently got Google Fiber, which has gigabit WAN. Unfortunately, this meant that my existing router (a TRENDNet TEW-673GRU running DD-WRT build 23919) could not handle the full WAN speed--it gets about 340Mbps.

So I got a WZR-1750DHP, and flashed it with build 24760 to try out DDTB (DD-WRT TurboBoost; the re-implementation of Broadcom's CTF). I maxed out at 265Mbps.

So the older single-core 680MHz router running a build of DD-WRT without DDTB outperformed a newer router with dual-core 800MHz CPU with a DD-WRT build that uses DDTB.

* I ran "iptables -vnL -t raw" as Kong suggested in another thread, and confirmed that ddtb is indeed active.

* No, I was not using QoS. And the new router was configured similarly to the old router.

* I didn't get a chance to test the stock firmware because my ISP requires VLAN tagging and CoS marking, which is something that the stock firmware does not support.


Anyway, I remember reading in another thread Kong saying that these builds of DDTB are actually debug builds and are slower, but it still surprises me that it couldn't even beat the DD-WRT of a 4-year-old router. (Which is fine--I know that DDTB is a very new thing and that the dust has yet to settle on it, and I think it's exciting that this is being worked on. I was just worried that maybe there was a problem on my end.)

Has anyone else tried out DDTB? Are you seeing something similar too, or am I doing something wrong?


Just use iptables command to check if your traffic goes through ddtb, e.g. do a reboot, then run your speedtest, now you should see how much traffic went through ddtb, e.g. in my case 1168MB tcp traffic ...:

iptables -vnL -t raw
Chain PREROUTING (policy ACCEPT 46M packets, 39G bytes)
pkts bytes target prot opt in out source destination
1373K 1168M CT tcp -- * * 0.0.0.0/0 0.0.0.0/0 CT helper ddtb
19622 2896K CT udp -- * * 0.0.0.0/0 0.0.0.0/0 CT helper ddtb

if it looks like no data goes trough ddtb, then you can check other targets and debug it.

Possible reason why throughput is bad: you ran speedtest while going through privoxy, privoxy needs quite some cpu power and would slow down the speedtest.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Wed Aug 06, 2014 15:19    Post subject: Reply with quote
Thanks for your reply!

This is the full output from iptables:
Code:
Chain PREROUTING (policy ACCEPT 4796K packets, 5025M bytes)
 pkts bytes target     prot opt in     out     source               destination

 837K 1036M CT         tcp  --  *      *       0.0.0.0/0            0.0.0.0/0        CT helper ddtb
 4951  895K CT         udp  --  *      *       0.0.0.0/0            0.0.0.0/0        CT helper ddtb

Chain OUTPUT (policy ACCEPT 145K packets, 50M bytes)
 pkts bytes target     prot opt in     out     source               destination


I did a reboot, did the speed test again (same results), and here are the iptables output after that run:
Code:
Chain PREROUTING (policy ACCEPT 828K packets, 1017M bytes)
 pkts bytes target     prot opt in     out     source               destination

 827K 1017M CT         tcp  --  *      *       0.0.0.0/0            0.0.0.0/0        CT helper ddtb
 1474  224K CT         udp  --  *      *       0.0.0.0/0            0.0.0.0/0        CT helper ddtb

Chain OUTPUT (policy ACCEPT 2064 packets, 1407K bytes)
 pkts bytes target     prot opt in     out     source               destination



So it looks like it's going through ddtb as expected...

* QoS is disabled.
* privproxy is disabled.
* SPI firewall is disabled.
* I do have VLAN tagging enabled for the WAN port in the VLANs tab (required by the ISP), and I also have "vconfig set_egress_map vlan2 0 3" as required by my ISP, but these things are uplink-only, if I'm not mistaken?
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Wed Aug 06, 2014 15:48    Post subject: Reply with quote
When I look at top before, during, and after a speed test, nothing is above 1% usage before or after. And during the test, ksoftirqd is about 50% (and overall usage shows 50% sirq). I assume this is normal?
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Aug 06, 2014 16:30    Post subject: Reply with quote
code65536 wrote:
When I look at top before, during, and after a speed test, nothing is above 1% usage before or after. And during the test, ksoftirqd is about 50% (and overall usage shows 50% sirq). I assume this is normal?


That means it is maxed out and hw acceleration probably does not work with vlan tagging. Only BrainSlayer can answer that.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Thu Aug 07, 2014 0:58    Post subject: Reply with quote
Unfortunately, VLAN tagging is not the problem.

I decided to run a "lab" test with one of my machines connected to the WAN port (so that I could test it without the VLAN tagging and CoS marking).

I did a factory-reset on the router, and used all default settings for my first test, which was downloading a large file over HTTP from the WAN-side computer. That yielded 30-31MiB/s, which is about 250-260Mbps.

Next, I added a port-forwarding rule for port 5001 for iperf. The iperf tests yielded about 255Mbps WAN-to-LAN and 210Mbps LAN-to-WAN.

So the results are all consistent with each other and with the real-world results that I got with the router hooked up to my ISP.
RMerlin
DD-WRT User


Joined: 05 Mar 2012
Posts: 273

PostPosted: Thu Aug 07, 2014 4:29    Post subject: Reply with quote
I would enable the SPI firewall. I'm not sure what this option does at iptable's level in DD-WRT, but it could possibly prevent ddtb from working properly.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Thu Aug 07, 2014 6:12    Post subject: Reply with quote
code65536 wrote:
Unfortunately, VLAN tagging is not the problem.

I decided to run a "lab" test with one of my machines connected to the WAN port (so that I could test it without the VLAN tagging and CoS marking).

I did a factory-reset on the router, and used all default settings for my first test, which was downloading a large file over HTTP from the WAN-side computer. That yielded 30-31MiB/s, which is about 250-260Mbps.

Next, I added a port-forwarding rule for port 5001 for iperf. The iperf tests yielded about 255Mbps WAN-to-LAN and 210Mbps LAN-to-WAN.

So the results are all consistent with each other and with the real-world results that I got with the router hooked up to my ISP.


Running the lab test you used iptables -vnL -t raw
to check you correctly configured the router? If you did not set the gateway on your router ddtb will not be active.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 776
Location: AR, USA

PostPosted: Thu Aug 07, 2014 13:53    Post subject: Reply with quote
Kong, I set the gateway on my router to my modem IP. Does that work or should I set it to the ISP gateway?
_________________
R7000 Nighthawk - DD-WRT v3.0-r50308
R7000 Nighthawk - DD-WRT v3.0-r50308
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x
https://pi-hole.net/
https://github.com/DNSCrypt/dnscrypt-proxy
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Fri Aug 08, 2014 0:22    Post subject: Reply with quote
RMerlin wrote:
I would enable the SPI firewall. I'm not sure what this option does at iptable's level in DD-WRT, but it could possibly prevent ddtb from working properly.

That was me getting desperate and trying everything. Wink I first did this with SPI still enabled, and my lab tests were all done with the default router settings, so SPI was enabled in those tests, too. It made no difference whether SPI was enabled or not.

<Kong> wrote:
Running the lab test you used iptables -vnL -t raw
to check you correctly configured the router? If you did not set the gateway on your router ddtb will not be active.

Yes, I did verify that ddtb appeared. The router also had a gateway set (I tried it once where I explicitly set the WAN gateway address, and once where the WAN provided one via DHCP--same results both times).

I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same. This is iptables -vnL -t raw after my lab tests today on 24800M:
Code:
root@DD-WRT:~# iptables -vnL -t raw
Chain PREROUTING (policy ACCEPT 738K packets, 913M bytes)
 pkts bytes target     prot opt in     out     source               destination         
 738K  913M CT         tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb
   73  5869 CT         udp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb


Is DDTB hard-coded to be active only on specific router models?

(I also find it a little surprising that my 4-year-old TEW-673GRU running DD-WRT 23919 with a single-core 680MHz MIPS gets slightly faster WAN speeds than this dual-core 800MHZ ARM--though I guess core count isn't important since routing appears to be single-threaded; does MIPS have better IPC efficiency than ARM?)
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Fri Aug 08, 2014 8:27    Post subject: Reply with quote
code65536 wrote:
RMerlin wrote:
I would enable the SPI firewall. I'm not sure what this option does at iptable's level in DD-WRT, but it could possibly prevent ddtb from working properly.

That was me getting desperate and trying everything. Wink I first did this with SPI still enabled, and my lab tests were all done with the default router settings, so SPI was enabled in those tests, too. It made no difference whether SPI was enabled or not.

<Kong> wrote:
Running the lab test you used iptables -vnL -t raw
to check you correctly configured the router? If you did not set the gateway on your router ddtb will not be active.

Yes, I did verify that ddtb appeared. The router also had a gateway set (I tried it once where I explicitly set the WAN gateway address, and once where the WAN provided one via DHCP--same results both times).

I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same. This is iptables -vnL -t raw after my lab tests today on 24800M:
Code:
root@DD-WRT:~# iptables -vnL -t raw
Chain PREROUTING (policy ACCEPT 738K packets, 913M bytes)
 pkts bytes target     prot opt in     out     source               destination         
 738K  913M CT         tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb
   73  5869 CT         udp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb


Is DDTB hard-coded to be active only on specific router models?

(I also find it a little surprising that my 4-year-old TEW-673GRU running DD-WRT 23919 with a single-core 680MHz MIPS gets slightly faster WAN speeds than this dual-core 800MHZ ARM--though I guess core count isn't important since routing appears to be single-threaded; does MIPS have better IPC efficiency than ARM?)


No mips is in general slower, I guess the unit also has hw nat enabled.

But back to your problem. In my test on the 1Ghz ARM I have ~850/~550 Mbps. As ddtb obviously works, the error must be somewhere else. Are both WAN and LAN connected via wire? What's the output of:

cat /proc/cpu

what's the output of:

iptables -vnL

and

iptables -vnL -t nat

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Fri Aug 08, 2014 11:56    Post subject: Reply with quote
<Kong> wrote:
No mips is in general slower, I guess the unit also has hw nat enabled.

But that router's an Atheros, and it's running build 23919--before ddtb was introduced. Or did you mean that there is a different form of hardware NAT that DD-WRT supports on Atheros routers?

Quote:
Are both WAN and LAN connected via wire?
Yes, all of my tests have been wired. Both machines used in the lab test also produce 900+ speeds LAN-to-LAN.

Anyway, here is the information that you requested:

cat /proc/cpuinfo
Code:
model name      : ARMv7 Processor rev 0 (v7l)
processor       : 0
BogoMIPS        : 1594.16
Features        : swp half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

model name      : ARMv7 Processor rev 0 (v7l)
processor       : 1
BogoMIPS        : 1594.16
Features        : swp half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Northstar Prototype
Revision        : 0000
Serial          : 0000000000000000


The following is from my production configuration, which has a number of port-forwarding rules (not my lab-test configuration, which is with default factory-reset settings). I'm not sure which you wanted (or if it matters, since I observed the same results either way).

iptables -vnL
Code:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
51631 6343K ACCEPT     0    --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    0     0 ACCEPT     udp  --  vlan2  *       0.0.0.0/0            0.0.0.0/0           udp spt:67 dpt:68
    0     0 DROP       udp  --  vlan2  *       0.0.0.0/0            0.0.0.0/0           udp dpt:520
    0     0 DROP       udp  --  br0    *       0.0.0.0/0            0.0.0.0/0           udp dpt:520
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:520
    0     0 ACCEPT     41   --  *      *       0.0.0.0/0            0.0.0.0/0           
  254 37097 ACCEPT     icmp --  vlan2  *       0.0.0.0/0            0.0.0.0/0           
  331 11916 DROP       2    --  *      *       0.0.0.0/0            0.0.0.0/0           
   11   671 ACCEPT     0    --  lo     *       0.0.0.0/0            0.0.0.0/0           state NEW
13583  868K ACCEPT     0    --  br0    *       0.0.0.0/0            0.0.0.0/0           state NEW
  208 72460 DROP       0    --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
2231K 2355M ACCEPT     0    --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    0     0 ACCEPT     47   --  *      vlan2   172.16.64.0/24       0.0.0.0/0           
    0     0 ACCEPT     tcp  --  *      vlan2   172.16.64.0/24       0.0.0.0/0           tcp dpt:1723
 140K   18M lan2wan    0    --  *      *       0.0.0.0/0            0.0.0.0/0           
   19  3404 ACCEPT     0    --  br0    br0     0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.254       udp dpt:9
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpt:22
   46  2724 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpt:80
   20  1036 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpt:443
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.40        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.36        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.36        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.39        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.39        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.40        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.41        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.41        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.43        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.43        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.44        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.44        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.46        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.46        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.67        tcp dpt:3389
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.67        udp dpt:3389
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpts:2100:2121
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.36        tcp dpts:60410:60429
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.36        udp dpts:60410:60429
    1    44 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.39        tcp dpts:60710:60729
34983 4472K ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.39        udp dpts:60710:60729
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.40        tcp dpts:60810:60829
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.40        udp dpts:60810:60829
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.41        tcp dpts:60910:60929
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.41        udp dpts:60910:60929
    1    44 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.43        tcp dpts:61110:61129
30571 3978K ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.43        udp dpts:61110:61129
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.44        tcp dpts:61210:61229
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.44        udp dpts:61210:61229
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.46        tcp dpts:61410:61429
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.46        udp dpts:61410:61429
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            172.16.64.67        tcp dpts:63210:63229
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            172.16.64.67        udp dpts:63210:63229
    0     0 TRIGGER    0    --  vlan2  br0     0.0.0.0/0            0.0.0.0/0           TRIGGER type:in match:0 relate:0
74663 9185K trigger_out  0    --  br0    *       0.0.0.0/0            0.0.0.0/0           
73966 9154K ACCEPT     0    --  br0    *       0.0.0.0/0            0.0.0.0/0           state NEW
  697 30620 DROP       0    --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 84110 packets, 38M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_1 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_10 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_2 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_3 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_4 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_5 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_6 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_7 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_8 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain advgrp_9 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_1 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_10 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_2 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_3 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_4 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_5 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_6 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_7 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_8 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain grp_9 (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain lan2wan (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain logaccept (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     0    --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain logdrop (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       0    --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain logreject (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with tcp-reset

Chain trigger_out (1 references)
 pkts bytes target     prot opt in     out     source               destination         


iptables -vnL -t nat
Code:
Chain PREROUTING (policy ACCEPT 87010 packets, 10M bytes)
 pkts bytes target     prot opt in     out     source               destination         
   11   640 DNAT       icmp --  *      *       0.0.0.0/0            23.255.186.202      to:172.16.64.1
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:50009 to:172.16.64.254:9
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:50022 to:172.16.64.40:22
   61  3500 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:80 to:172.16.64.40:80
   19   972 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:443 to:172.16.64.40:443
    2   104 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:53389 to:172.16.64.40:3389
    2  2520 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:53389 to:172.16.64.40:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:60400 to:172.16.64.36:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:60400 to:172.16.64.36:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:60700 to:172.16.64.39:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:60700 to:172.16.64.39:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:60800 to:172.16.64.40:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:60800 to:172.16.64.40:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:60900 to:172.16.64.41:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:60900 to:172.16.64.41:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:61100 to:172.16.64.43:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:61100 to:172.16.64.43:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:61200 to:172.16.64.44:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:61200 to:172.16.64.44:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:61400 to:172.16.64.46:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:61400 to:172.16.64.46:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpt:63200 to:172.16.64.67:3389
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpt:63200 to:172.16.64.67:3389
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:2100:2121 to:172.16.64.40
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:60410:60429 to:172.16.64.36
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:60410:60429 to:172.16.64.36
    1    40 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:60710:60729 to:172.16.64.39
34041 4326K DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:60710:60729 to:172.16.64.39
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:60810:60829 to:172.16.64.40
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:60810:60829 to:172.16.64.40
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:60910:60929 to:172.16.64.41
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:60910:60929 to:172.16.64.41
    1    40 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:61110:61129 to:172.16.64.43
28748 3704K DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:61110:61129 to:172.16.64.43
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:61210:61229 to:172.16.64.44
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:61210:61229 to:172.16.64.44
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:61410:61429 to:172.16.64.46
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:61410:61429 to:172.16.64.46
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            23.255.186.202      tcp dpts:63210:63229 to:172.16.64.67
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            23.255.186.202      udp dpts:63210:63229 to:172.16.64.67
  100  8678 TRIGGER    0    --  *      *       0.0.0.0/0            23.255.186.202      TRIGGER type:dnat match:0 relate:0

Chain INPUT (policy ACCEPT 12464 packets, 782K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 14787 packets, 976K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain POSTROUTING (policy ACCEPT 77643 packets, 9010K bytes)
 pkts bytes target     prot opt in     out     source               destination         
68889 8488K SNAT       0    --  *      vlan2   172.16.64.0/24       0.0.0.0/0           to:23.255.186.202
   19  3404 MASQUERADE  0    --  *      *       0.0.0.0/0            0.0.0.0/0           mark match 0x80000000/0x80000000


iptables -vnL -t raw
Code:
Chain PREROUTING (policy ACCEPT 2459K packets, 2384M bytes)
 pkts bytes target     prot opt in     out     source               destination         
2082K 2314M CT         tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb
 362K   68M CT         udp  --  *      *       0.0.0.0/0            0.0.0.0/0           CT helper ddtb

Chain OUTPUT (policy ACCEPT 91582 packets, 45M bytes)
 pkts bytes target     prot opt in     out     source               destination         
Gingernut
DD-WRT User


Joined: 29 Jul 2007
Posts: 229

PostPosted: Sat Aug 09, 2014 3:06    Post subject: Reply with quote
code65536 wrote:
I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same.


FWIW look again, the commit you are refering to was introduced after 24800.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Sat Aug 09, 2014 5:58    Post subject: Reply with quote
Gingernut wrote:
code65536 wrote:
I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same.


FWIW look again, the commit you are refering to was introduced after 24800.


But has nothing to do with any performance problem.
We are steel seeking a bug with incoming udp packages, that are directed towards the router.

I can't see anything wrong in the above output so all I can do is retest, describe how I tested, so you can reproduce it.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
code65536
DD-WRT User


Joined: 28 Dec 2011
Posts: 100
Location: .us

PostPosted: Sat Aug 09, 2014 10:32    Post subject: Reply with quote
Gingernut wrote:
code65536 wrote:
I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same.


FWIW look again, the commit you are refering to was introduced after 24800.

Actually, that commit hadn't even been made when I made my post. I was actually referring to 24776. Smile

<Kong> wrote:
Gingernut wrote:
code65536 wrote:
I tried the lab test again today with the new 24800M build because I saw that BS had made a ddtb-related commit, but the results were still the same.


FWIW look again, the commit you are refering to was introduced after 24800.


But has nothing to do with any performance problem.
We are steel seeking a bug with incoming udp packages, that are directed towards the router.

I can't see anything wrong in the above output so all I can do is retest, describe how I tested, so you can reproduce it.

Thanks for looking into this; I appreciate your help!
Goto page 1, 2, 3, 4, 5, 6, 7  Next Display posts from previous:    Page 1 of 7
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