Bridge to bridge performance

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2  Next
Author Message
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Sun May 21, 2023 10:47    Post subject: Bridge to bridge performance Reply with quote
Hello, I've recently upgraded my Netgear R7800 router that I use as a PPPoE gateway to r52569 (with a full reset). It has 4 bridges, the use of which is probably not relevant to the question, but for clarity: one bridge is direct traffic to the web, a second for IoT -- also direct but with extra safeguards. The other have all external traffic routed via two separate openvpn connections. Each bridge has its own subnet, vlan tag, and wap. With the exception of IoT, all the bridges/subnets have routes to each other (and I'm not testing IoT in the below).

I've experienced some instability in connections, particularly voip, and speedtests have been unusually volatile (ie speed goes up and down) and mostly a little lower than expected. In investigating this I noticed something that seems strange to me: traffic within a single bridge is fast, as expected. When sending across the LAN from one bridge to the other, I'm seeing very high packet loss and decreased throughput. To me it seems this shouldn't be happening (but maybe you can tell me it's just normal, what do I know, I'm not a networking guru!). All the more so because, looking at 'top' on the router while this is happening, the CPU never gets above maybe 20% and the sirq (which I'm guessing is system IRQs) tops out at under 30% (also the load rarely goes over 1). So I could see if the CPU was unable to keep up it would be forced to drop packets, but it seems that's not even the case?

The setup: two linux laptops, connected directly to the router ethernet ports with 1Gbps connections. All results are shown from the server1 perspective, connecting to iperf3 running 'iperf3 -s' on server2. (Note that not much else is happening on the network during these tests)

First, results from when both laptops are on the same bridge (br0)/subnet (192.168.9.*):

Code:
me@server1:~$ iperf3 -c 192.168.9.149 -u -b 1000M
Connecting to host 192.168.9.149, port 5201
[  5] local 192.168.9.91 port 47366 connected to 192.168.9.149 port 5201
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.00   sec  86.2 MBytes   723 Mbits/sec  62417 
[  5]   1.00-2.00   sec  87.9 MBytes   737 Mbits/sec  63655 
[  5]   2.00-3.00   sec  73.5 MBytes   617 Mbits/sec  53247 
[  5]   3.00-4.00   sec  99.4 MBytes   834 Mbits/sec  71985 
[  5]   4.00-5.00   sec  74.6 MBytes   625 Mbits/sec  53992 
[  5]   5.00-6.00   sec  87.7 MBytes   735 Mbits/sec  63487 
[  5]   6.00-7.00   sec  86.2 MBytes   723 Mbits/sec  62451 
[  5]   7.00-8.00   sec  96.2 MBytes   807 Mbits/sec  69677 
[  5]   8.00-9.00   sec  98.0 MBytes   822 Mbits/sec  70942 
[  5]   9.00-10.00  sec   114 MBytes   954 Mbits/sec  82327 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.00  sec   903 MBytes   758 Mbits/sec  0.000 ms  0/654180 (0%)  sender
[  5]   0.00-10.04  sec   903 MBytes   [b]754 Mbits/sec  0.012 ms  582/654150 (0.089%)[/b]  receiver

iperf Done.
me@server1:~$ iperf3 -c 192.168.9.149 -u -b 1000M -R
Connecting to host 192.168.9.149, port 5201
Reverse mode, remote host 192.168.9.149 is sending
[  5] local 192.168.9.91 port 58444 connected to 192.168.9.149 port 5201
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec  90.7 MBytes   761 Mbits/sec  0.015 ms  17405/83082 (21%) 
[  5]   1.00-2.00   sec   110 MBytes   924 Mbits/sec  0.016 ms  188/79943 (0.24%) 
[  5]   2.00-3.00   sec   108 MBytes   907 Mbits/sec  0.008 ms  125/78415 (0.16%) 
[  5]   3.00-4.00   sec   103 MBytes   861 Mbits/sec  0.007 ms  5898/80243 (7.4%) 
[  5]   4.00-5.00   sec  86.1 MBytes   722 Mbits/sec  0.009 ms  17693/80055 (22%) 
[  5]   5.00-6.00   sec   111 MBytes   931 Mbits/sec  0.014 ms  36/80387 (0.045%) 
[  5]   6.00-7.00   sec   108 MBytes   904 Mbits/sec  0.011 ms  294/78370 (0.38%) 
[  5]   7.00-8.00   sec   102 MBytes   854 Mbits/sec  0.040 ms  6654/80373 (8.3%) 
[  5]   8.00-9.00   sec  97.7 MBytes   820 Mbits/sec  0.016 ms  9808/80573 (12%) 
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec  0.029 ms  102/80645 (0.13%) 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.04  sec  1.08 GBytes   926 Mbits/sec  0.000 ms  0/802174 (0%)  sender
[  5]   0.00-10.00  sec  1.00 GBytes   [b]862 Mbits/sec  0.029 ms  58203/802086 (7.3%)[/b]  receiver

iperf Done.
me@server1:~$ iperf3 -c 192.168.9.149 -u -b 1000M -R
Connecting to host 192.168.9.149, port 5201
Reverse mode, remote host 192.168.9.149 is sending
[  5] local 192.168.9.91 port 46180 connected to 192.168.9.149 port 5201
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec   107 MBytes   901 Mbits/sec  0.014 ms  4428/82224 (5.4%) 
[  5]   1.00-2.00   sec   111 MBytes   932 Mbits/sec  0.009 ms  287/80744 (0.36%) 
[  5]   2.00-3.00   sec   108 MBytes   903 Mbits/sec  0.017 ms  1421/79384 (1.8%) 
[  5]   3.00-4.00   sec   106 MBytes   893 Mbits/sec  0.013 ms  657/77744 (0.85%) 
[  5]   4.00-5.00   sec   111 MBytes   929 Mbits/sec  0.011 ms  0/80219 (0%) 
[  5]   5.00-6.00   sec  99.7 MBytes   837 Mbits/sec  0.013 ms  7971/80204 (9.9%) 
[  5]   6.00-7.00   sec   109 MBytes   918 Mbits/sec  0.012 ms  1121/80364 (1.4%) 
[  5]   7.00-8.00   sec   108 MBytes   904 Mbits/sec  0.018 ms  37/78075 (0.047%) 
[  5]   8.00-9.00   sec   110 MBytes   920 Mbits/sec  0.021 ms  130/79523 (0.16%) 
[  5]   9.00-10.00  sec   111 MBytes   928 Mbits/sec  0.013 ms  49/80184 (0.061%) 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.04  sec  1.08 GBytes   921 Mbits/sec  0.000 ms  0/798807 (0%)  sender
[  5]   0.00-10.00  sec  1.06 GBytes   [b]907 Mbits/sec  0.013 ms  16101/798665 (2%)[/b]  receiver

iperf Done.


Note that I ran the reverse test twice there, and there is already some significant variation for reasons unknown (including during each test). There is also a difference between directions, for reasons unknown, but not enough that I'm too worried (maybe I should be?).

Now when server 2 is on another subnet (192.168.10.*)/bridge (br1):
Code:
me@server1:~$ iperf3 -c server2 -u -b 1000M
Connecting to host server2, port 5201
[  5] local 192.168.9.91 port 47854 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate         Total Datagrams
[  5]   0.00-1.00   sec  72.3 MBytes   606 Mbits/sec  52356 
[  5]   1.00-2.00   sec  75.6 MBytes   634 Mbits/sec  54754 
[  5]   2.00-3.00   sec  92.4 MBytes   776 Mbits/sec  66947 
[  5]   3.00-4.00   sec  90.9 MBytes   762 Mbits/sec  65817 
[  5]   4.00-5.00   sec  89.1 MBytes   747 Mbits/sec  64523 
[  5]   5.00-6.00   sec  89.5 MBytes   751 Mbits/sec  64804 
[  5]   6.00-7.00   sec   103 MBytes   866 Mbits/sec  74767 
[  5]   7.00-8.00   sec  86.9 MBytes   729 Mbits/sec  62895 
[  5]   8.00-9.00   sec  87.4 MBytes   733 Mbits/sec  63296 
[  5]   9.00-10.00  sec  89.4 MBytes   750 Mbits/sec  64723 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.00  sec   877 MBytes   735 Mbits/sec  0.000 ms  0/634882 (0%)  sender
[  5]   0.00-10.07  sec   588 MBytes   [b]490 Mbits/sec  0.015 ms  208830/634853 (33%)[/b]  receiver

iperf Done.
me@server1:~$ iperf3 -c server2 -u -b 1000M -R
Connecting to host server2, port 5201
Reverse mode, remote host server2 is sending
[  5] local 192.168.9.91 port 43898 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec  61.5 MBytes   516 Mbits/sec  0.015 ms  34055/78617 (43%) 
[  5]   1.00-2.00   sec  68.3 MBytes   573 Mbits/sec  0.022 ms  30750/80238 (38%) 
[  5]   2.00-3.00   sec  66.2 MBytes   556 Mbits/sec  0.018 ms  32142/80106 (40%) 
[  5]   3.00-4.00   sec  69.1 MBytes   580 Mbits/sec  0.012 ms  29894/79938 (37%) 
[  5]   4.00-5.00   sec  68.8 MBytes   577 Mbits/sec  0.017 ms  30811/80606 (38%) 
[  5]   5.00-6.00   sec  64.4 MBytes   540 Mbits/sec  0.019 ms  33480/80123 (42%) 
[  5]   6.00-7.00   sec  66.9 MBytes   562 Mbits/sec  0.018 ms  31418/79893 (39%) 
[  5]   7.00-8.00   sec  63.8 MBytes   535 Mbits/sec  0.073 ms  34015/80236 (42%) 
[  5]   8.00-9.00   sec  44.8 MBytes   375 Mbits/sec  0.005 ms  45975/78421 (59%) 
[  5]   9.00-10.00  sec  42.3 MBytes   356 Mbits/sec  0.032 ms  50939/81594 (62%) 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.04  sec  1.09 GBytes   929 Mbits/sec  0.000 ms  0/805183 (0%)  sender
[  5]   0.00-10.00  sec   616 MBytes   [b]517 Mbits/sec  0.032 ms  353479/799772 (44%)[/b]  receiver

iperf Done.


Across bridges, there is a loss rate of 33%-44% of UDP packets and about 40% reduced throughput!
Could I be doing something wrong here? Anybody have any ideas what's going on? Is it just me? Any suggestions for digging further into this?

Many thanks
Sponsor
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Sun May 21, 2023 10:54    Post subject: Reply with quote
Note, if I use TCP for the test across bridges, here are results. Note retransmissions counts and variability in speed:

Code:
me@server1:~$ iperf3 -c server2 -b 1000M
Connecting to host server2, port 5201
[  5] local 192.168.9.91 port 47662 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  95.8 MBytes   803 Mbits/sec    0   3.15 MBytes       
[  5]   1.00-2.00   sec  90.2 MBytes   757 Mbits/sec    0   3.15 MBytes       
[  5]   2.00-3.00   sec  89.8 MBytes   753 Mbits/sec    0   3.15 MBytes       
[  5]   3.00-4.00   sec  76.9 MBytes   645 Mbits/sec    0   3.15 MBytes       
[  5]   4.00-5.00   sec  63.9 MBytes   536 Mbits/sec  848   1.14 MBytes       
[  5]   5.00-6.00   sec  67.5 MBytes   566 Mbits/sec    0   1.20 MBytes       
[  5]   6.00-7.00   sec  60.1 MBytes   504 Mbits/sec   15    906 KBytes       
[  5]   7.00-8.00   sec  53.8 MBytes   451 Mbits/sec   45   1.02 MBytes       
[  5]   8.00-9.00   sec  69.9 MBytes   584 Mbits/sec    0   1.13 MBytes       
[  5]   9.00-10.00  sec  25.8 MBytes   217 Mbits/sec    1   1.41 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   694 MBytes   582 Mbits/sec  909             sender
[  5]   0.00-10.22  sec   691 MBytes   567 Mbits/sec                  receiver

iperf Done.
me@server1:~$ iperf3 -c server2 -b 1000M -R
Connecting to host server2, port 5201
Reverse mode, remote host server2 is sending
[  5] local 192.168.9.91 port 48946 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  95.5 MBytes   801 Mbits/sec                 
[  5]   1.00-2.00   sec  87.8 MBytes   737 Mbits/sec                 
[  5]   2.00-3.00   sec  99.4 MBytes   834 Mbits/sec                 
[  5]   3.00-4.00   sec  99.6 MBytes   836 Mbits/sec                 
[  5]   4.00-5.00   sec  97.3 MBytes   816 Mbits/sec                 
[  5]   5.00-6.00   sec  80.5 MBytes   675 Mbits/sec                 
[  5]   6.00-7.00   sec  93.3 MBytes   783 Mbits/sec                 
[  5]   7.00-8.00   sec  59.4 MBytes   498 Mbits/sec                 
[  5]   8.00-9.00   sec   100 MBytes   839 Mbits/sec                 
[  5]   9.00-10.00  sec  93.3 MBytes   782 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.02  sec   909 MBytes   761 Mbits/sec  1636             sender
[  5]   0.00-10.00  sec   906 MBytes   760 Mbits/sec                  receiver

iperf Done.
[/code]
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Sun May 21, 2023 11:37    Post subject: Reply with quote
i can imagine the topology of your network...kind of...
but...switch has its own cpu, so when traffic goes over the switch than the router CPU is not in use
like port to port...router cpu get involved only when there is a traffic WAN to LAN and opposite..moreover you run pppoe that puts a toll on routers CPU..

so, for loss packets you can blame either different clients with different NIC's and settings..or the switch firmware that is utilising the switch CPU capabilities...that has nothing common with DDWRT side...

as you stated you have vlan's tagged, assigned to bridges...on their own subnets..dhcp..
and vap's (wifi stations) on each vlan/bridge...if wifi is used to measure it could generate losses..
in general UDP is stateless protocol..and its normal to have a loss there..well im not a networking guru neither i can imagine your overall goal...but complex networks are not the best to squeeze out from a consumer grade router...although R7800 is rock solid..

What i have on it you can see in my signature...basically ive x3 Vlans on bridges and those are for x3 of the LAN ports on their own subnets... nothing is tagged (apart of the tags you need to make vlans to work)..see the guide... https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=334342

I do have an extra switch on one of the LAN ports and extra router on the other port(IoT's), and 3rd VLAN goes to another switch where there is lots of devices too + another router..I also have br to br limiting rules, so i dont want those to communicate, as well i have net&ap isolation..and my set up is working great..so, far no complains and no complex network with tags,i believe tag's are made to identify traffic and tagged traffic can go out of the WAN port, as well over the LAN ports..(never had a need to), as tags are only if you use a single port and you want a differentiated traffic (kinds of) to comes out of it..that also could be too overwhelming for the switch CPU as well...and than you have errors.. Rolling Eyes

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913


Last edited by Alozaros on Sun May 21, 2023 12:27; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Sun May 21, 2023 11:59    Post subject: Reply with quote
If you have Shortcut Forwarding Engine (Basic-Setup Page) enabled then retest with it disabled.
_________________
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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 12:37    Post subject: Reply with quote
The UDP test is just bullshit, you tell iperf with "-b 1000M" to send with 1Gbit regardless if the client drivers can do it or if there are enough resources available in the network - of course there is packet loss.

You are also testing only single stream, many NIC drivers have better multistream performance.

and with TCP you need / must not specify any bandwidth at all, it is unlimited by default.

Test TCP with "-P 4 or 8" and without "-m".
The rest is of no interest.

And like Alozaros said in your first test the traffic runs only over the switch there is the router not involved at all - there you should measure stable 1Gbit throughput (if not your notebooks have bad network cards and drivers Smile )

With your other test over several bridges the traffic runs also through the router CPU - logical that the results are worse.


For me, a test on the same bridge (via the switch looks like this)

Code:
:~$ iperf3 -c 192.168.1.110  -P1
Connecting to host 192.168.1.110, port 5201
[  5] local 192.168.1.100 port 56866 connected to 192.168.1.110 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   113 MBytes   947 Mbits/sec    0    512 KBytes       
[  5]   1.00-2.00   sec   112 MBytes   940 Mbits/sec    0    512 KBytes       
[  5]   2.00-3.00   sec   111 MBytes   933 Mbits/sec    0    512 KBytes       
[  5]   3.00-4.00   sec   112 MBytes   938 Mbits/sec    0    512 KBytes       
[  5]   4.00-5.00   sec   111 MBytes   933 Mbits/sec    0    512 KBytes       
[  5]   5.00-6.00   sec   111 MBytes   932 Mbits/sec    0    512 KBytes       
[  5]   6.00-7.00   sec   112 MBytes   938 Mbits/sec    0    512 KBytes       
[  5]   7.00-8.00   sec   111 MBytes   931 Mbits/sec    0    512 KBytes       
[  5]   8.00-9.00   sec   111 MBytes   932 Mbits/sec    0    512 KBytes       
[  5]   9.00-10.00  sec   112 MBytes   939 Mbits/sec    0    512 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec    0             sender
[  5]   0.00-10.03  sec  1.09 GBytes   931 Mbits/sec                  receiver

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Sun May 21, 2023 14:06    Post subject: Reply with quote
I just did a test with different VLAN and bridges.

1. client in VLAN1 br0
1. client in VLAN3 br1

by the way the CPU load is over 70-80%. (1-4 streams)

Code:
$ iperf3 -c 192.168.1.110  -P1 -t 60
Connecting to host 192.168.1.110, port 5201
[  5] local 192.168.1.101 port 44034 connected to 192.168.1.110 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  86.4 MBytes   725 Mbits/sec   85   1.30 MBytes       
[  5]   1.00-2.00   sec  88.8 MBytes   744 Mbits/sec   21   1021 KBytes       
[  5]   2.00-3.00   sec  88.8 MBytes   744 Mbits/sec    0   1.07 MBytes       
[  5]   3.00-4.00   sec  83.8 MBytes   703 Mbits/sec    0   1.13 MBytes       
[  5]   4.00-5.00   sec  86.2 MBytes   724 Mbits/sec    0   1.17 MBytes       
[  5]   5.00-6.00   sec  83.8 MBytes   703 Mbits/sec    0   1.22 MBytes       
[  5]   6.00-7.00   sec  88.8 MBytes   744 Mbits/sec    0   1.27 MBytes       
[  5]   7.00-8.00   sec  88.8 MBytes   745 Mbits/sec    0   1.32 MBytes       
[  5]   8.00-9.00   sec  90.0 MBytes   754 Mbits/sec    0   1.37 MBytes       
[  5]   9.00-10.00  sec  90.0 MBytes   756 Mbits/sec    0   1.42 MBytes       
[  5]  10.00-11.00  sec  90.0 MBytes   755 Mbits/sec   26   1.11 MBytes       
[  5]  11.00-12.00  sec  93.8 MBytes   786 Mbits/sec    0   1.21 MBytes       
[  5]  12.00-13.00  sec  92.5 MBytes   776 Mbits/sec    0   1.28 MBytes       
[  5]  13.00-14.00  sec  88.8 MBytes   744 Mbits/sec    0   1.34 MBytes       
[  5]  14.00-15.00  sec  88.8 MBytes   745 Mbits/sec    0   1.38 MBytes       
[  5]  15.00-16.00  sec  87.5 MBytes   734 Mbits/sec    0   1.40 MBytes       
[  5]  16.00-17.00  sec  88.8 MBytes   745 Mbits/sec    0   1.41 MBytes       
[  5]  17.00-18.00  sec  90.0 MBytes   755 Mbits/sec   18   1.05 MBytes       
[  5]  18.00-19.00  sec  87.5 MBytes   734 Mbits/sec    0   1.11 MBytes       
[  5]  19.00-20.00  sec  86.2 MBytes   723 Mbits/sec    0   1.15 MBytes       
[  5]  20.00-21.00  sec  86.2 MBytes   724 Mbits/sec    0   1.20 MBytes       
[  5]  21.00-22.00  sec  87.5 MBytes   734 Mbits/sec    0   1.26 MBytes       
[  5]  22.00-23.00  sec  88.8 MBytes   744 Mbits/sec    0   1.31 MBytes       
[  5]  23.00-24.00  sec  88.8 MBytes   745 Mbits/sec    0   1.35 MBytes       
[  5]  24.00-25.00  sec  90.0 MBytes   755 Mbits/sec    3   1.01 MBytes       
[  5]  25.00-26.00  sec  86.2 MBytes   724 Mbits/sec    0   1.12 MBytes       
[  5]  26.00-27.00  sec  90.0 MBytes   755 Mbits/sec    0   1.21 MBytes       
[  5]  27.00-28.00  sec  87.5 MBytes   734 Mbits/sec    0   1.28 MBytes       
[  5]  28.00-29.00  sec  92.5 MBytes   776 Mbits/sec    0   1.33 MBytes       
[  5]  29.00-30.00  sec  87.5 MBytes   734 Mbits/sec    0   1.36 MBytes       
[  5]  30.00-31.00  sec  88.8 MBytes   744 Mbits/sec    0   1.38 MBytes       
[  5]  31.00-32.00  sec  87.5 MBytes   734 Mbits/sec    0   1.39 MBytes       
[  5]  32.00-33.00  sec  86.2 MBytes   724 Mbits/sec    3   1.04 MBytes       
[  5]  33.00-34.00  sec  88.8 MBytes   744 Mbits/sec    0   1.10 MBytes       
[  5]  34.00-35.00  sec  88.8 MBytes   744 Mbits/sec    0   1.15 MBytes       
[  5]  35.00-36.00  sec  91.2 MBytes   766 Mbits/sec    0   1.20 MBytes       
[  5]  36.00-37.00  sec  86.2 MBytes   723 Mbits/sec    0   1.26 MBytes       
[  5]  37.00-38.00  sec  88.8 MBytes   745 Mbits/sec    0   1.31 MBytes       
[  5]  38.00-39.00  sec  88.8 MBytes   744 Mbits/sec    0   1.35 MBytes       
[  5]  39.00-40.00  sec  88.8 MBytes   744 Mbits/sec    4   1.00 MBytes       
[  5]  40.00-41.00  sec  88.8 MBytes   744 Mbits/sec    0   1.12 MBytes       
[  5]  41.00-42.00  sec  91.2 MBytes   765 Mbits/sec    0   1.21 MBytes       
[  5]  42.00-43.00  sec  91.2 MBytes   765 Mbits/sec    0   1.28 MBytes       
[  5]  43.00-44.00  sec  90.0 MBytes   755 Mbits/sec    0   1.33 MBytes       
[  5]  44.00-45.00  sec  91.2 MBytes   765 Mbits/sec    0   1.36 MBytes       
[  5]  45.00-46.00  sec  87.5 MBytes   734 Mbits/sec    0   1.38 MBytes       
[  5]  46.00-47.00  sec  91.2 MBytes   765 Mbits/sec    0   1.39 MBytes       
[  5]  47.00-48.00  sec  88.8 MBytes   744 Mbits/sec    5   1.03 MBytes       
[  5]  48.00-49.00  sec  87.5 MBytes   734 Mbits/sec    0   1.09 MBytes       
[  5]  49.00-50.00  sec  82.5 MBytes   692 Mbits/sec    0   1.13 MBytes       
[  5]  50.00-51.00  sec  87.5 MBytes   734 Mbits/sec    0   1.18 MBytes       
[  5]  51.00-52.00  sec  87.5 MBytes   734 Mbits/sec    0   1.24 MBytes       
[  5]  52.00-53.00  sec  87.5 MBytes   734 Mbits/sec    0   1.29 MBytes       
[  5]  53.00-54.00  sec  90.0 MBytes   755 Mbits/sec    0   1.34 MBytes       
[  5]  54.00-55.00  sec  91.2 MBytes   765 Mbits/sec  122   1018 KBytes       
[  5]  55.00-56.00  sec  88.8 MBytes   744 Mbits/sec    0   1.11 MBytes       
[  5]  56.00-57.00  sec  87.5 MBytes   734 Mbits/sec    0   1.20 MBytes       
[  5]  57.00-58.00  sec  90.0 MBytes   755 Mbits/sec    0   1.27 MBytes       
[  5]  58.00-59.00  sec  90.0 MBytes   755 Mbits/sec    0   1.31 MBytes       
[  5]  59.00-60.00  sec  90.0 MBytes   755 Mbits/sec    0   1.35 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-60.00  sec  5.19 GBytes   743 Mbits/sec  287             sender
[  5]   0.00-60.04  sec  5.19 GBytes   743 Mbits/sec                  receiver


(see screenshot with 4 streams...)

The CPU is connected via 1x 1000baseT port, if there is anything running through the CPU it will receive and send at the same time 2x750Mbit= 1,5Gbit

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Mon May 22, 2023 16:13    Post subject: Reply with quote
Thank you all for your responses.

@Alazaros I have a similar setup to yours, but I need the vlan tagging because my actual topology is this and the tagging is necessary to traverse the switches and have ports on different bridges:

Code:
DD-WRT GATEWAY                                     DD-WRT WAP
Netgear R7800       ---   Managed switch    ---  Netgear AC1450  --- My normal work location
Wifi with                                        Wifi extension      wired or wireless
virtual interfaces                               w/ virtual IFs


All the earlier tests were done with ethernet cables on the router itself to isolate things. That's hard because I have to be atop a ladder with two laptops Laughing . But I have a problem with the WAP too!

@egc I do have (and have had) Shortcut Forwarding Engine disabled.

@ho1Aetoo I understand that some loss with UDP is expected, but I was surprised how much. Running the same tests you suggest with TCP when directly connected seem to give similar results to you, which aren't bad, so I guess I'll chalk it up as normal performance.

Here's one test across bridges:
Code:
me@server1:~$ iperf3 -c server2 -P1 -t 20
Connecting to host server2, port 5201
[  5] local 192.168.9.8 port 50812 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  93.3 MBytes   783 Mbits/sec    0   3.15 MBytes       
[  5]   1.00-2.00   sec  87.5 MBytes   734 Mbits/sec    0   3.15 MBytes       
[  5]   2.00-3.00   sec  87.5 MBytes   734 Mbits/sec    0   3.15 MBytes       
[  5]   3.00-4.00   sec  87.5 MBytes   734 Mbits/sec    0   3.15 MBytes       
[  5]   4.00-5.00   sec  90.0 MBytes   755 Mbits/sec    0   3.15 MBytes       
[  5]   5.00-6.00   sec  86.2 MBytes   724 Mbits/sec    0   3.15 MBytes       
[  5]   6.00-7.00   sec  88.8 MBytes   744 Mbits/sec  330   2.40 MBytes       
[  5]   7.00-8.00   sec  87.5 MBytes   734 Mbits/sec  741    909 KBytes       
[  5]   8.00-9.00   sec  42.5 MBytes   357 Mbits/sec    1   1.88 MBytes       
[  5]   9.00-10.00  sec  87.5 MBytes   733 Mbits/sec    0   3.15 MBytes       
[  5]  10.00-11.00  sec  88.8 MBytes   745 Mbits/sec   20   2.41 MBytes       
[  5]  11.00-12.00  sec  85.0 MBytes   713 Mbits/sec  224   1.13 MBytes       
[  5]  12.00-13.00  sec  88.8 MBytes   745 Mbits/sec  277    867 KBytes       
[  5]  13.00-14.00  sec  88.8 MBytes   744 Mbits/sec    0    942 KBytes       
[  5]  14.00-15.00  sec  87.5 MBytes   734 Mbits/sec  146    707 KBytes       
[  5]  15.00-16.00  sec  82.5 MBytes   692 Mbits/sec   43    561 KBytes       
[  5]  16.00-17.00  sec  88.8 MBytes   745 Mbits/sec    0    672 KBytes       
[  5]  17.00-18.00  sec  87.5 MBytes   734 Mbits/sec    0    766 KBytes       
[  5]  18.00-19.00  sec  78.8 MBytes   661 Mbits/sec    0    841 KBytes       
[  5]  19.00-20.00  sec  85.0 MBytes   713 Mbits/sec    0    916 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.66 GBytes   713 Mbits/sec  1782             sender
[  5]   0.00-20.02  sec  1.65 GBytes   708 Mbits/sec                  receiver

iperf Done.
me@server1:~$ iperf3 -c server2 -P1 -t 20 -R
Connecting to host server2, port 5201
Reverse mode, remote host server2 is sending
[  5] local 192.168.9.8 port 56046 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  76.8 MBytes   644 Mbits/sec                 
[  5]   1.00-2.00   sec  53.5 MBytes   449 Mbits/sec                 
[  5]   2.00-3.00   sec  98.8 MBytes   829 Mbits/sec                 
[  5]   3.00-4.00   sec   104 MBytes   872 Mbits/sec                 
[  5]   4.00-5.00   sec  90.4 MBytes   758 Mbits/sec                 
[  5]   5.00-6.00   sec  95.0 MBytes   797 Mbits/sec                 
[  5]   6.00-7.00   sec  92.5 MBytes   776 Mbits/sec                 
[  5]   7.00-8.00   sec  88.1 MBytes   739 Mbits/sec                 
[  5]   8.00-9.00   sec  82.5 MBytes   692 Mbits/sec                 
[  5]   9.00-10.00  sec  83.0 MBytes   696 Mbits/sec                 
[  5]  10.00-11.00  sec  95.6 MBytes   802 Mbits/sec                 
[  5]  11.00-12.00  sec  60.5 MBytes   508 Mbits/sec                 
[  5]  12.00-13.00  sec  85.5 MBytes   717 Mbits/sec                 
[  5]  13.00-14.00  sec  97.5 MBytes   818 Mbits/sec                 
[  5]  14.00-15.00  sec  68.7 MBytes   576 Mbits/sec                 
[  5]  15.00-16.00  sec  93.0 MBytes   780 Mbits/sec                 
[  5]  16.00-17.00  sec  69.2 MBytes   580 Mbits/sec                 
[  5]  17.00-18.00  sec  87.8 MBytes   737 Mbits/sec                 
[  5]  18.00-19.00  sec  92.5 MBytes   776 Mbits/sec                 
[  5]  19.00-20.00  sec  95.0 MBytes   796 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.03  sec  1.67 GBytes   718 Mbits/sec  1513             sender
[  5]   0.00-20.00  sec  1.67 GBytes   717 Mbits/sec                  receiver

iperf Done.


Overall throughput is similar to yours, but the variability is still much higher (e.g. goes down to 357Mbps one second), not sure what that's about. (On the same bridge, throughput is much more steady and around 920Mbps -- so all good at the switch level and with these two machines.) With 4 sockets open, throughput increases to around 810-820Mbps, which would be totally unconcerning by itself. And you're right that when running like that for a while, the CPU is getting taxed, for example:

Code:
CPU:  0.9% usr 28.3% sys  0.0% nic 10.2% idle  0.0% io  0.0% irq 60.5% sirq
Load average: 1.93 1.20 0.60 2/120 32719


What's most concerning is the variability at this point. I have a suspicion that may be driving what I'm seeing with video calling (skype/teams/etc) having occasional hiccups. (Could it be interrupt handling?)
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Mon May 22, 2023 16:44    Post subject: Reply with quote
Well, as far as I know you only have an ADSL connection as WAN (at least that's what you wrote in another thread).

With ~16Mbit down + ~1Mbit UP you have more throughput and latency problems on the WAN side.

The router should handle such bandwidths effortlessly Smile
Maybe your connection also has a crappy bufferbloat and for some services like VoIP a low latency is more important than a high data rate. (keyword QoS)


http://www.dslreports.com/speedtest/71928901
https://www.speedtest.net/de/result/14769042387

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Mon May 22, 2023 17:01    Post subject: Reply with quote
And now for the second issue:

When I run a test across the bridges and across my full network, throughput in one direction (only!) drops to around 300Mbps. Looking at the network topology in the post above, server1 is in my normal work location, server2 is connected to the managed switch. If they were both on the managed switch (or on the gateway router), results are normal. With server1 connected to the WAP, I get this when sending from server1 to server2 (all components using wired gigabit ethernet):

Code:
[  5] local 192.168.9.8 port 47272 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  90.6 MBytes   760 Mbits/sec   36   1.03 MBytes       
[  5]   1.00-2.00   sec  97.5 MBytes   818 Mbits/sec  303    824 KBytes       
[  5]   2.00-3.00   sec  97.5 MBytes   818 Mbits/sec    0    911 KBytes       
[  5]   3.00-4.00   sec  97.5 MBytes   818 Mbits/sec    0    991 KBytes       
[  5]   4.00-5.00   sec  92.5 MBytes   776 Mbits/sec    0   1.03 MBytes       
[  5]   5.00-6.00   sec  97.5 MBytes   818 Mbits/sec   74    827 KBytes       
[  5]   6.00-7.00   sec   100 MBytes   839 Mbits/sec    0    915 KBytes       
[  5]   7.00-8.00   sec  95.0 MBytes   797 Mbits/sec    0    981 KBytes       
[  5]   8.00-9.00   sec  95.0 MBytes   797 Mbits/sec    0   1.03 MBytes       
[  5]   9.00-10.00  sec  56.2 MBytes   472 Mbits/sec   13    769 KBytes       
[  5]  10.00-11.00  sec   100 MBytes   839 Mbits/sec    0    861 KBytes       
[  5]  11.00-12.00  sec  97.5 MBytes   818 Mbits/sec   85    672 KBytes       
[  5]  12.00-13.00  sec  96.2 MBytes   807 Mbits/sec    0    773 KBytes       
[  5]  13.00-14.00  sec  97.5 MBytes   818 Mbits/sec    0    863 KBytes       
[  5]  14.00-15.00  sec   100 MBytes   839 Mbits/sec    0    946 KBytes       
[  5]  15.00-16.00  sec  98.8 MBytes   828 Mbits/sec    0   1024 KBytes       
[  5]  16.00-17.00  sec  93.8 MBytes   786 Mbits/sec    0   1.06 MBytes       
[  5]  17.00-18.00  sec  98.8 MBytes   828 Mbits/sec    0   1.13 MBytes       
[  5]  18.00-19.00  sec  97.5 MBytes   818 Mbits/sec    0   1.18 MBytes       
[  5]  19.00-20.00  sec  47.5 MBytes   398 Mbits/sec  335    884 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.80 GBytes   775 Mbits/sec  846             sender
[  5]   0.00-20.03  sec  1.80 GBytes   772 Mbits/sec                  receiver


So far so good. But when sending in the other direction:

Code:
Reverse mode, remote host server2 is sending
[  5] local 192.168.9.8 port 35738 connected to 192.168.10.9 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  39.5 MBytes   331 Mbits/sec                 
[  5]   1.00-2.00   sec  40.6 MBytes   341 Mbits/sec                 
[  5]   2.00-3.00   sec  35.0 MBytes   294 Mbits/sec                 
[  5]   3.00-4.00   sec  39.7 MBytes   333 Mbits/sec                 
[  5]   4.00-5.00   sec  39.9 MBytes   335 Mbits/sec                 
[  5]   5.00-6.00   sec  39.5 MBytes   331 Mbits/sec                 
[  5]   6.00-7.00   sec  37.2 MBytes   312 Mbits/sec                 
[  5]   7.00-8.00   sec  20.8 MBytes   174 Mbits/sec                 
[  5]   8.00-9.00   sec  38.0 MBytes   319 Mbits/sec                 
[  5]   9.00-10.00  sec  40.8 MBytes   342 Mbits/sec                 
[  5]  10.00-11.00  sec  39.9 MBytes   335 Mbits/sec                 
[  5]  11.00-12.00  sec  40.9 MBytes   343 Mbits/sec                 
[  5]  12.00-13.00  sec  38.4 MBytes   322 Mbits/sec                 
[  5]  13.00-14.00  sec  35.8 MBytes   301 Mbits/sec                 
[  5]  14.00-15.00  sec  38.2 MBytes   321 Mbits/sec                 
[  5]  15.00-16.00  sec  40.7 MBytes   341 Mbits/sec                 
[  5]  16.00-17.00  sec  40.1 MBytes   336 Mbits/sec                 
[  5]  17.00-18.00  sec  21.7 MBytes   182 Mbits/sec                 
[  5]  18.00-19.00  sec  37.9 MBytes   318 Mbits/sec                 
[  5]  19.00-20.00  sec  37.9 MBytes   318 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec   743 MBytes   312 Mbits/sec  2593             sender
[  5]   0.00-20.00  sec   742 MBytes   311 Mbits/sec                  receiver



311 Mbps, what?! That's 60% less than the other direction. No such problem when these two devices are on the gateway router (as in the previous test), or both on the managed switch. But when server1 is on the wap, this happens consistently. Any ideas here? I see effectively no load on the WAP router at this time...


Last edited by jtbr on Tue May 23, 2023 10:43; edited 2 times in total
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Mon May 22, 2023 17:20    Post subject: Reply with quote
ho1Aetoo wrote:
Well, as far as I know you only have an ADSL connection as WAN (at least that's what you wrote in another thread).

With ~16Mbit down + ~1Mbit UP you have more throughput and latency problems on the WAN side.

The router should handle such bandwidths effortlessly Smile
Maybe your connection also has a crappy bufferbloat and for some services like VoIP a low latency is more important than a high data rate. (keyword QoS)


I misremembered, it's VDSL now. 100Mbps down and 35Mbps up. But your point still stands -- shouldn't be a problem for this router. Generally I've been happy with my ISP, but who knows what's going on downlink. I ran a test here with dslreports
http://www.dslreports.com/speedtest/71936087. You can see the variability, but they say no bufferbloat.

Perhaps you're right I should be doing some QoS.. so far I haven't turned anything on because I don't think I have enough network traffic to justify it, but maybe I need it just to prioritize voip stuff?

BTW some of my internet speed issues last week were apparently due to a loose WAN cable which autonegotiated 100Mbps rather than 1000Mbps after I updated the router using a cable Rolling Eyes Embarassed ... so at least that's fixed Wink . I'm now getting my usual ~low 80Mbps down and low 30Mbps up speeds again. Now it's more the stability issue like I said.
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Tue May 23, 2023 14:38    Post subject: Reply with quote
I've gone ahead and tried to set up QoS to see if that helps. It looks like it might (surprising because the issues occur when the WAN link is not saturated).

A few questions though:

1) I used this when setting up: https://wiki.dd-wrt.com/wiki/index.php/Quality_of_Service Is that the latest QoS guide? It shows:
Code:
tcp      6 113 ESTABLISHED src=192.168.1.5 dst=83.141.4.210 sport=48959 dport=21 src=83.141.4.210 dst=216.239.61.104 sport=21 dport=48959 [ASSURED] use=1 rate=73 l7proto=ftp mark=40
udp      17 29 src=192.168.1.5 dst=128.63.2.53 sport=56105 dport=53 src=128.63.2.53 dst=216.239.61.104 sport=53 dport=56105 use=1 rate=157 l7proto=dns mark=10


as the output from 'iptables -t mangle -nvL', but that's not what I see. Does anyone know how to show the output above for active connections?

2) When I enable QoS and apply settings when the router is already up, it seems to work as expected. However when I reboot with those same settings, the WAN PPPoE doesn't seem to be fully configured. I can connect to the internet from the router, but not from outside the router, and the dd-wrt web interface shows WAN is connected with an IP of 0.0.0.0 (and the disconnect button has no effect). Any ideas what might be causing this? When I kill pppd and restart it manually, things work again.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Tue May 23, 2023 15:21    Post subject: Reply with quote
1. your bufferbloat test is meaningless because you did not enable "Hi-Res BufferBloat" in the settings.

2. no idea what you have for WAN / PPPoE / QoS problems that works here all fine - all things that I use myself.

3. the shown output is not an iptable rule but the active connections from "netfilter conntrack" (and I don't know what you want with that, it's completely irrelevant)

Code:
cat /proc/net/nf_conntrack

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Tue May 23, 2023 16:30    Post subject: Reply with quote
ho1Aetoo wrote:
1. your bufferbloat test is meaningless because you did not enable "Hi-Res BufferBloat" in the settings.

2. no idea what you have for WAN / PPPoE / QoS problems that works here all fine - all things that I use myself.

3. the shown output is not an iptable rule but the active connections from "netfilter conntrack" (and I don't know what you want with that, it's completely irrelevant)

Code:
cat /proc/net/nf_conntrack


Thanks for your help.

1) When I turn on that setting, after disabling QoS again, it gives BufferBloat score of A rather than A+.

2) I'm guessing it is because my boot times are so long. Not sure what I can do about that, don't think there's anything special about my wireless settings. All channels are fixed in the GUI. I guess I'll try resetting pppd after a sleep in the startup commands.

3) Perfect. It's helpful because it shows the 'mark' field which tells how the router is treating each connection, so I'll be able to verify if the protocols/apps are treated correctly by QoS.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2976
Location: Germany

PostPosted: Tue May 23, 2023 17:07    Post subject: Reply with quote
You can also see this in the GUI, when you set a service priority in the QoS tab, a packet counter is also displayed.

If the packet counter shows 0 then there is either no traffic or the filter is not working ...

PPPoE sometimes takes a while, but this is monitored by a watchdog ... after a few minutes it is guaranteed to connect.

and still have fun googling I'm getting tired

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
jtbr
DD-WRT User


Joined: 09 Mar 2017
Posts: 100

PostPosted: Wed Jun 07, 2023 21:44    Post subject: Reply with quote
ho1Aetoo wrote:
You can also see this in the GUI, when you set a service priority in the QoS tab, a packet counter is also displayed.

If the packet counter shows 0 then there is either no traffic or the filter is not working ...


Adding a comment for posterity:

I've noticed that the QoS tab packet counter seems not to fully reflect what I see in /proc/net/nf_conntrack. There are at least some cases where the GUI seems to indicate that QoS is not working for certain services, but the conntrack file shows that the connections are in fact being correctly tagged (so presumably QoS is working correctly on them). Generally the packet counts are strangely low as well. Maybe it's my somewhat complicated routing table, who knows. But if you're worried something isn't being tagged properly, have a look at conntrack to be sure.

NB: The mark tags are not those mentioned in the WIKI. Here is what I've noticed:

Code:
Mark               Priority           Minimum % at full capacity"
?                  Maximum            75%"
0x2800 / 10240     Premium            50%
0x5000 / 20480     Express            25%
0x7800 / 30720     Standard           15%
0xa000 / 40960     Bulk               5%
0                  default


I don't have any "Maximum" priority, so don't know that mark. Note that iptables uses hexadecimal (eg 0x2800) while conntrack uses decimal (10240).
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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