E8450/RT3200 gigabit speeds tweaking?

Firefox private mode: https://www.waveform.com/tools/bufferbloat?test-id=e0dfdffe-0cfa-4203-8d69-957eb6307763 download: 900000 & upload: 50000 & fq_codel with simplest_tbf overhead byte: 18 & mpu: 64

Which linklayer adaptation mechanism to use; for testing only

What should I set that to? or default?

Link Layer = Ethernet with overhead.

PPO = 18

MPU = 0

I mean the bottom one from this:

I'm happy now.

Thanks for ALL your help!!!!!!!! https://www.waveform.com/tools/bufferbloat?test-id=2a182c37-2ea5-471e-91a4-19dcce701182

1 Like

Two things...

Default (for testing only).

2 Likes

Thanks mate! I'm all done, even configured PiHole.
My result from waveshare: https://www.waveform.com/tools/bufferbloat?test-id=e5635ffa-14aa-4c74-b10d-cd4ce991a693

So happy bloody days!!!!!!

@Lynx hope you sort your script and thanks for all the help. :slight_smile:

2 Likes

Hey, sure. My settings for SQM are as follows:
I also have irqbalance enabled, packet steering disabled, and all offloads (SF and HW) disabled.

/etc/config/sqm


config queue 'eth1'
	option interface 'wan'
	option debug_logging '0'
	option verbosity '5'
	option qdisc_advanced '1'
	option squash_dscp '1'
	option squash_ingress '1'
	option ingress_ecn 'ECN'
	option egress_ecn 'NOECN'
	option enabled '1'
	option download '900000'
	option upload '45000'
	option qdisc 'fq_codel'
	option script 'simple.qos'
	option linklayer 'none'
2 Likes

Thank you!
I've backed up my settings so tomorrow I'll see if I can push it any further but at least I know now this router can actually handle decent speeds with good latency.

Enjoy your night, 1am here....... sleep time. :slight_smile:

2 Likes

Summarizing all that has been said here, it seems the recommended configuration for /etc/config/sqm is

config queue 'eth1'
        option interface 'wan'
        option debug_logging '0'
        option verbosity '5'
        option qdisc_advanced '1'
        option squash_dscp '1'
        option squash_ingress '1'
        option ingress_ecn 'ECN'
        option egress_ecn 'NOECN'
        option enabled '1'
        option download '900000'
        option upload '45000'
        option qdisc 'fq_codel'
        option script 'simple.qos'
        option linklayer 'ethernet'
        option overhead '18'
        option linklayer_advanced '1'
        option tcMTU '2047'
        option tcTSIZE '128'
        option tcMPU '0'
        option linklayer_adaptation_mechanism 'default

Coupled with no soft/hard offloading in the firewall configuration and Packet Steering off under Interfaces>Global options.

2 Likes

As a test, you might try doing shaping on egress only.

Works well for me using fq_codel and simplest_tbf.

YMMV.

2 Likes

Doesn't that disable fq_codel/cake?

Just ran another test, even better: https://www.waveform.com/tools/bufferbloat?test-id=88d9cafb-4d9c-4ce0-a165-07b1c2a11376

Thanks!!
I'm using packet sheering, it seems to help me....

Yes setting the rate/speed to zero disables shaping in that direction. Some people report acceptable bufferbloat on 1Gbps links even without traffic shaping, so will happily shape only on egress. But that really depends on how well your link operates and on your expectancies, your network your rules/policy :wink:

1 Like

Thanks; thought so.
I'll leave it as is, I like the speed/latency. if I set it to 0, my latency goes sky high.

i don't get it, what was the goal ? having the highest donwload speed ? or a A+ at Bufferbloat ?
i thought it was the A+

1 Like

Hmmm.
The goal was to get the highest speed I could with the lowest latency. I done it with the help of this forum. :slight_smile:

Here is a test I just done, I'm more than happy as before it was 100+........

Hi all,

first post, first questions :wink:

Last week I installed a vanilla Release v0.6.2 on my brandnew Belkin RT3200. I got a 1000/50 Vodafone Cable connection (Arris TG344DE as Router) and the Belkin is set up as a DumbAP.

Now that the dust has settled and it seems that the near optimal settings were found:

Could someone give a newbie like me (and maybe ohers) the necessary steps in detail to achieve such speeds on base of a plain v0.6.2?

Thank you!

Don't use 0.6.2, use the latest snapshot. then read above at what settings you should apply. :slight_smile:

Noob galore:

Up until now I was under the impression that 0.6.2 was the latest ubi snapshot as it is linked here:

Now I assume I'm on the right track seeing that 0.6.2 is not the "official" OpenWRT snapshot, right?

Well exactly the same official page links to the non ubi version:

https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/openwrt-mediatek-mt7622-linksys_e8450-squashfs-sysupgrade.bin

All that after a lenghty explanation on UBI's advantages and pointing to

in the first place.

So one is sent to 0.6.2 (or 0.6.1) to covert to UBI and then should go back to the site, finding the not linked "official" ubi version here:

https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/openwrt-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

right?

Hmpff not! user friendly

Piece of cake. Or is it fq_code? :wink:

I was hoping for a quick step by step guide on what packages to install, but I guess I have to read this post over (again).

Thanks anyway

Edit: correct sysupgrade link

Thanks

1 Like

https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/

https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/openwrt-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

0.6.2 has an outdated kernel and if you want to use SQM/codel you need the latest snapshot kernel.

1 Like

0.6.2 is the latest UBI installer that modifies the u-boot bootloader and the partition structure. You need to run that once, when you originally install OpenWrt E8450/RT3200 UBI-variant specific bootloader and along it also teh special initramfs recovery instance.

After installing that, you need to use that initramfs instance to install/sysupgrade the normal run-time OpenWrt. That can initially be the sysupgrade image version published by @daniel along with 0.6.2 installer, but can also be any later OpenWrt release or snapshot.

Once you have installed the new bootloader, you can quite normally just sysupdgrade to the newer OpenWrt images, and you are not tied to the 0.6.2. (but the underlying bootloader used in the early bootphase remains the u-boot by 0.6.2)