Have recently had a touted service speed increase to a touted 950/450 from 200/100 .... Previous speed testing would reliably show 200 down and 100 up from the wired connection however speed testing on the new service is topping out at about 250 down by 200 up.
Now I know these are ridiculous speeds so I'm happy enough...but I'm curious as to if the ISP doesn't provide the promised speeds or if the throughput of the AC1900AC is simply at it maximum at around 250....
Do you have sqm enabled?
Wrt1900ac should handle speeds close to 900+ mbps.
Are you running latest 19.07.2 firmware?
Thanks for the reply.
Yes I do have SQM enabled and had increased my bandwidth settings, however it (understandably) appears that the throughput is too much for SQM. I performed some retesting with SQM off and reached peak uploads of 500 Mbps and downloads of 450 Mbps.
I'm on 18.06.5 firmware. Are there performance enhancements available in the 19.x firmware?
Yes, you can enable flow offload in 19.07...maybe in 18.05 also, please check
OpenWRT 18.05 uses kernel 4.14?
The mvneta driver included there has an RX queue limit of 128 packets (TX: 532 packets)
and uses default RX interrupt rate of 100 microseconds.
Is it possible that the queue is simply too small?
And it isn't drained fast enough because of the 100 microseconds interrupt rate?
Upgraded to 19.07 with offload. Seeing bursts on download of upto 750Mbps now and 350Mbps upload sustained.
Either the ISP is really only allowing a burst to 750Mbps or some buffers in the software/hardware get full.
How do you test your speed?
For example I use my ISPs speediest server as I don't want to hit inter ISP peering bottlenecks.
And you should also test without your router (modem plugged directly in the pc) if you think you,re not getting your full bandwidth.
I use the speedtest package on my ubuntu server, seems to be backed by Ookla ...haven't tweaked it at all. My broadband service requires / provides no modem. I have a fiber to the home service which terminates into an ethernet jack. I can see the mac address of the Cisco device on the ISP end from the router
Someone knows how to properly calculate optimal ring buffer size?
1 Gbit Link @ 50 ms latency needs a 6250000 bytes buffer.
6250000 / 1500 byte frames = ~ 4166 packets per ms
Assuming the interrupt rate is 100 microseconds:
4166 / 10 = 416
So the minimum ring buffer / queue size is 416?
Is this correct?
OpenWRT 19.07 also uses kernel version 4.14 for mvebu. (which has the mvneta driver with a ring buffer / queue size of 128)
Unfortunately, it is not possible to increase the ring buffer sizes with ethtool at runtime.
It is only possible to decrease them. (Limitation of mvneta driver)
But it is possible to adjust rx-usecs and rx-frames.
ethtool -C eth0 rx-usecs 32
ethtool -C eth1 rx-usecs 32
Also make sure, that the buffers on the device you are testing on, are large enough. (nic and tcp)
maybe I should add, do not change tx-usces / tx-frames other wise the driver bugs out...
what speed you can get on your 1900acv1 on wan/lan these days? Also what openwrt with what tweaks are you running?
I am not able to go more then 500/50 (peeks, avg 350/50) even my provider is 1000/50. I am running the latest version of vanila openwrt.