KongPro (OpenWRT) - 2019 / 08 / 28

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next
Author Message
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Aug 07, 2019 6:23    Post subject: Reply with quote
RainGater wrote:
jerrytouille wrote:
ul/dl speed is kbps so 15 Mbps = 15000 kbps

Yes, I added 350000 for downlink as I have a 400 Mbps connection. For uplink, I added 18000 for 20 Mbps connection.

I tried with just the QOS, same result.

Then, I tried SQM QOS (cake/pieceofcake/none) and all the time I get a D or a C for Bufferbloat. Not sure what is missing as all the other settings are pretty basic. Wlan0 is set to 149 and wlan1 is set at channel 11.

http://www.dslreports.com/speedtest/52783185
http://www.dslreports.com/speedtest/52782873

With both QOS and SQM QOS disabled, I get this: http://www.dslreports.com/speedtest/52783493


Maybe wrong interface choosen? E.g. for VDSL pppoe-wan needs to be selected.

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


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 12:59    Post subject: Reply with quote
jerrytouille wrote:

try these with save & apply:
- make sure 5g wifi is ac 80mhz
- disable qos
- set sqm cake/pieceofcake/link layer to ethernet vdsl2 44 bytes
- add to startup:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 2 > /proc/irq/31/smp_affinity
- reboot

test and report the results


Thank you for the info and appreciate it.

Yes, wlan0 (5 GHz) is set to Mode AC/Channel 149/Width is 80 MHz and WPA2-PSK/Force CCMP(AES).

wlan1 (2.4 GHz) is set to Mode N/Channel 11/Width is 40 MHz.

QOS is disabled.

SQM QoS is set for the interface eth0.2 (wan,wan6). QD is cake/piece_of_cake.qos. Link layer is set to Ethernet VDSL2 and 44 bytes for overhead.

Added the script to startup:
Code:

root@r7800:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
root@r7800:~# cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
performance
root@r7800:~# cat /proc/irq/31/smp_affinity
2


Here are the results:
http://www.dslreports.com/speedtest/52820629
http://www.dslreports.com/speedtest/52820929

Something else is messed up.

@Kong mentioned above that "Maybe wrong interface choosen? E.g. for VDSL pppoe-wan needs to be selected." I am not sure where do I select it? In SQM QOS, it is eth0.2 as that is my wan interface.

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]


Last edited by RainGater on Wed Aug 07, 2019 13:16; edited 2 times in total
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 13:04    Post subject: Reply with quote
<Kong> wrote:
Maybe wrong interface choosen? E.g. for VDSL pppoe-wan needs to be selected.

Thank you.

In my wan interface physical settings, the interface is set to eth0.2. In SQM QOS, the interface is eth0.2 as well.

Where do you want me to choose pppoe-wan?

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
jerrytouille
DD-WRT Guru


Joined: 11 Dec 2015
Posts: 1304

PostPosted: Wed Aug 07, 2019 13:47    Post subject: Reply with quote
RainGater wrote:

Code:
root@r7800:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
root@r7800:~# cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
performance
root@r7800:~# cat /proc/irq/31/smp_affinity
2



share your dslreport speed test with both qos and sqm off thanks
mlira042
DD-WRT Novice


Joined: 07 Aug 2019
Posts: 4

PostPosted: Wed Aug 07, 2019 14:22    Post subject: Reply with quote
Thank you Kong! I want to share a few tweaks and settings for SQM QoS that I found to be useful. I'm using the performance governor + IRQ init script. I also disabled nlbwmon on startup (don't know if this makes any difference).

I am getting mindblowing results with fiber 300/150Mbit/s connection and SQM QoS. See here. My connection is pretty stable, so I've set ingress and egress shaping to 95% of link: 285000/142500 kbit/s (set lower if your ISP doesn't deliver constant bandwidth). Interface chosen is pppoe-wan, cake queue discipline and piece-of-cake queue setup script.

Now, the Link Layer Adaptation screen has Advanced options which I found made quite a difference. I've set Minimal packet size (MPU) to 64 and linklayer adaptation mechanism to cake. About link layer itself: I've set it to Ethernet with overhead (VDSL2) with a per packet overhead of 42 – which I calculated for my network, as it has 3 VLANs. More info here.

IF anyone has an ATM connection I stronly suggest to study and use the ATM overhead detector + Matlab to get a precise overhead number. Unfortunately, VDSL users need to make a guess or call the ISP.
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 14:59    Post subject: Reply with quote
jerrytouille wrote:
share your dslreport speed test with both qos and sqm off thanks

With both QOS and SQM QOS off, this is the result: http://www.dslreports.com/speedtest/52824536

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 15:12    Post subject: Reply with quote
mlira042 wrote:
Interface chosen is pppoe-wan, cake queue discipline and piece-of-cake queue setup script.

Where do you set the pppoe-wan interface? My WAN interface is eth0.2 and don't see pppoe-wan in the list. Do you have to create a manual one?

Both my wan and SQM QOS interface is set to eth0.2.

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
mlira042
DD-WRT Novice


Joined: 07 Aug 2019
Posts: 4

PostPosted: Wed Aug 07, 2019 16:47    Post subject: Reply with quote
RainGater wrote:
Where do you set the pppoe-wan interface?


On SQM config screen. Note that my WAN interfaces are called pppoe-wan.
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 17:20    Post subject: Reply with quote
mlira042 wrote:
RainGater wrote:
Where do you set the pppoe-wan interface?


On SQM config screen. Note that my WAN interfaces are called pppoe-wan.

Thanks. Mine is set to eth0.2.

@Kong mentioned that I need to set it to pppoe-wan but not sure how to set it as it doesn't show up in the wan interface (in network page).

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Aug 07, 2019 17:54    Post subject: Reply with quote
RainGater wrote:
mlira042 wrote:
RainGater wrote:
Where do you set the pppoe-wan interface?


On SQM config screen. Note that my WAN interfaces are called pppoe-wan.

Thanks. Mine is set to eth0.2.

@Kong mentioned that I need to set it to pppoe-wan but not sure how to set it as it doesn't show up in the wan interface (in network page).


It only shows up as pppoe-wan, if you setup pppoe on the router and use modem in bridge mode, if your modem establishes pppoe connection, then it's up to the modem to fight bufferbloat. In this case you would not use vdsl as link layer setting, but none, since you have a normal ethernet connection to the modem.

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


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 18:34    Post subject: Reply with quote
<Kong> wrote:
It only shows up as pppoe-wan, if you setup pppoe on the router and use modem in bridge mode, if your modem establishes pppoe connection, then it's up to the modem to fight bufferbloat. In this case you would not use vdsl as link layer setting, but none, since you have a normal ethernet connection to the modem.

Thank you for enlightening me on this issue.

So, there is nothing that can be done to reduce the bufferbloat in my case?

After I set it to none for link layer setting, I got a B for bufferbloat - http://www.dslreports.com/speedtest/52833218

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
mlira042
DD-WRT Novice


Joined: 07 Aug 2019
Posts: 4

PostPosted: Wed Aug 07, 2019 20:05    Post subject: Reply with quote
RainGater wrote:
<Kong> wrote:
It only shows up as pppoe-wan, if you setup pppoe on the router and use modem in bridge mode

So, there is nothing that can be done to reduce the bufferbloat in my case?


You can setup the modem to bridge mode and then estabilish pppoe connection on the router Mr. Green
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 20:24    Post subject: Reply with quote
mlira042 wrote:
You can setup the modem to bridge mode and then estabilish pppoe connection on the router Mr. Green

Well, I am not sure how to do it. Do you have instructions?

I have it setup as AP now - with direct connection to the cable modem.

Do you mean to say this:

1. Interfaces - WAN - Bridge Interfaces - Enable it to bridge with eth0.2 (my wan interface).

2. Interfaces - WAN - General Setup - Protocol - PPPoE and Switch Protocol? I thought I need a username and password from ISP for this?

3. After that, what do I do?

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
mlira042
DD-WRT Novice


Joined: 07 Aug 2019
Posts: 4

PostPosted: Wed Aug 07, 2019 20:31    Post subject: Reply with quote
RainGater wrote:
mlira042 wrote:
You can setup the modem to bridge mode and then estabilish pppoe connection on the router Mr. Green

Well, I am not sure how to do it. Do you have instructions?

I have it setup as AP now - with direct connection to the cable modem.

Do you mean to say this:

1. Interfaces - WAN - Bridge Interfaces - Enable it to bridge with eth0.2 (my wan interface).

2. Interfaces - WAN - General Setup - Protocol - PPPoE and Switch Protocol? I thought I need a username and password from ISP for this?

3. After that, what do I do?


You need to check if it's possible on your specific modem, and look for the procedure in order to change it. Then do no. 2.

The username and password will be on its settings page.
RainGater
DD-WRT User


Joined: 07 Apr 2016
Posts: 160

PostPosted: Wed Aug 07, 2019 20:56    Post subject: Reply with quote
mlira042 wrote:
You need to check if it's possible on your specific modem, and look for the procedure in order to change it. Then do no. 2.

The username and password will be on its settings page.

I don't think my ISP has PPPoE setup. I believe it is for DSL and ours is DHCP to get the IP automatically from ISP.

I like OpenWRT's modular interface and the features as it has tons and tons of it. I like to play with Linux and lots of configurations can be done thru' uci. I love it.

I guess I have to suck up bufferbloat as it's worse than the DD-WRT setup for me.

_________________
Netgear R7800 [DD-WRT]; ASUS RT-87U [DD-WRT]; ASUS RT-AC68U [FreshTomato]
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next Display posts from previous:    Page 16 of 19
Post new topic   This topic is locked: you cannot edit posts or make replies.    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