Packet loss and Latency R7800

I'm assuming it's a DSL line. (Never mind I just saw it's a Cable connection!) Curious, is someone DoS ing your connection to get an edge? It wouldn't be hard to UDP flood your 25Mbps down for example.

Also I remember some threads here where people were discussing specifically high latency issues caused by this specific router and its switch or Ethernet driver. Try searching the forum for latency and R7800. If that turns out to be the issue You might look at the WRT32X, inexpensive refurbed and very fast for wired routing and shaping.

Another issue you might look at is speed upgrade, in particular upstream... 1500 bytes at 2Mbps takes 6ms so you are going to have 6ms of jitter just caused by how long it takes to write a large packet out onto the wire.

Still that has nothing to do with 200ms extra latency and packet loss!

1 Like

Cable is a shared medium, and bursty. It absolutely can be the case that everyone else in your neighborhood using the internet makes your connection suffer. You must wait to get a time slices on the cable line, and that can be an issue if the service is oversold and everyone is streaming Netflix or talking on the VoIP phone service etc.

1 Like

Your right... but at the time I was having these issues my son was on his xbox playing. There has to be something I can do to make qos work when I have two or more of them running at the same time. This was my sole purpose of having a dedicated line put in just for the xbox’s.

Maybe it’s the router or maybe not.... my tests which I think are high 50 to 80ms on the up load side are way to high.

I would like to keep it low on my end to compensate for the route it has to take. I seen people test less then 13ms how do I accomplish this?

Thanks

By the way.. qos if off and Bufferbloat is out of control. Which definitely is now my big problem. Tested up to 90ms.

If I’m using the wrong setup please advise! If I need a super computer please advise! What ever it takes. I'm tired of this crap. No offense!

Thanks

1 Like

Please post the output of:

tc -s qdisc
tc -s qdisc
cat /etc/config/sqm

All with sqm active and running.

Next have a look at the sqm detailed documentation to enable per-internal-host-IP fairness to isolate the two boxes from each other. I can not guarantee that sqm will be the best solution for your problems, but it sounds like there should be some room for improvements, so that maybe things work well enough after some tweaking.

1 Like

Have a look at https://forum.openwrt.org/t/solved-router-netgear-r7800-introduced-latency-spikes-100ms/11855 for an issue specific to your router. Also https://forum.openwrt.org/t/r7800-performance/15780.

In such a situation it would be great to immediately follow the no-sqm test with a sqm-on test so that the general network state should not bias the results.

Hi moeller0,

What the $%^&^% is that.... LOL Please explain.

  1. How to do it
  2. Where to do it

I'm not expecting a miracle cure but I know for sure that things can be tweaked and all you smart guys can do it versus people that have no to some knowledge on this stuff.

I want to help you or anyone with as much info as i can. So please be patient as I'm learning more and more everyday.

Thank you

I'll start reading thanks.

Should I buy a different piece of equipment? Money in this situation is not a problem especially if it relieves a big pain in my a!!. LOL

Thanks

This is a family friendly forum, so please watch your language :wink:

I assume you mean the commands I asked you to run? You will need to log into your router via a terminal window (see https://openwrt.org/docs/guide-quick-start/sshadministration for instructions how to do that in case you have not yet tried it) and then paste each of the three commands into that window and hit enter, then copy the output into this thread. Does this help?

We all started from the position, so no worry, you will get up to speed eventually.

No idea, personally I would first try to figure out the root cause, because if it is not the router then exchanging that will not help much.

BTW, what modem are you using? Some intel puma-SoCs seem to have latency issues that are independent of sqm or your router hardware.

Yes... thank you

Got it!

I’ll have to get back to you on model number. I know it’s brand new black surfboard with 2 Ethernet ports on the back it.

I started reading it... R7800 doesn’t look to good. But I’m not done reading.

FYI.. NEW USER LIMIT. I CAN REPLY IN 3 TO 4 HOURS THANKS.

Boy that's nice.... I wish I can say the same. LOL

I'll find out when I get home in a few hours time. I've been working 3 days with only 8 hours of sleep so far and to deal with crap.

?

Much appreciated. I don't care what these DD-WRT people say about you guys. JK.. Everyone here is definitely been very responsive and eager to resolve my situation.

I'll pull some logs today for moeller and anyone that wants to look at them.

BIG THUMBS UP!!!

Thanks

UPDATE:
Can i use this method?
https://www.youtube.com/watch?v=LL185QYnPg4 or is winscp easier?

Thanks

Yes, it is a peculiar device, but it can be optimized. My use case is pretty much like yours, but I am on a 50/10 DSL and there are never lag issues no matter what else is happening on the router at the same time: the baseline latency is 11ms spiking up to no more than 20ms under heavy use by other devices.
I do compile my own firmware and use some custom settings. If your cable modem is not Puma based and you are willing to use ssh to connect to the router, I can share my firmware image and the relevant config.

You can access the router via an Admin UI or via an ssh connection. I personally prefer command line ssh clients, but take a look at https://winscp.net as it might be easier to use. The idea is to connect to the router and edit config files in-place and/or copy them locally, edit, and then upload to the router.

:thinking:

Hummm...

I concur.

Sure it does. For every packet dropped on the floor, equals approximately another packet that has to be resent from the far end. This becomes worse if the traffic were UDP, for example - as it's stateless.


I think the OP needs more bandwidth...I'm trying to imagine how there's even enough upload bandwidth if, for example, he and his son were gaming with audio and/or video enabled.

1 Like

I basically agree with you, but if video is not enabled, you should be able to run 2 game streams and 2 VoIP streams on 2Mbps upload... But just barely... If you have say 6-10Mbps upload you will be much more comfortable.

2 Likes

That (good) hypothesis is easy to test, install (@snoop I am talking to you here, not @lleachii :wink: ) iftop on the router (opkg update ; opkg install iftop) and rund it against the the wan interface (to test this look at the l3_device otr the device reported from ifstatus wan) by issueing iftop -i $MYWANINTERFACE, obviously replace $MYWANINTERFACE by the result from the ifstatus query....

That should allow you to monitor the network load generated by one or two of the connected devices to figure out whether the upload is the limit. As a rule of thumb a VoIP-quality voice channel requires around 100Kbps, video will require more....

2 Likes

Games seem to vary as well, from maybe 250kbps to 600+... Two games and two VoIP streams could be 1400kbps, and then bursts of game activity might go into the 2000 range, so it could be tight.

2 Likes

OK I installed it.

  1. Turn on SSH to wan or lan?
  2. I'm installing CMDer.
  3. Connect to Router.
  4. Issue a cmd iftop -i $MYWANINTERFACE
    Am I missing a step?
    Thanks
    My Modem is a arris CM8200A
BusyBox v1.28.4 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.2, r7676-cddd7b4c77
 -----------------------------------------------------
root@OpenWrt:~# iftop -i $MYWANINTERFACE
iftop: unknown option -i
iftop: display bandwidth usage on an interface by host

Synopsis: iftop -h | [-npblNBP] [-i interface] [-f filter code]
                               [-F net/mask] [-G net6/mask6]

   -h                  display this message
   -n                  don't do hostname lookups
   -N                  don't convert port numbers to services
   -p                  run in promiscuous mode (show traffic between other
                       hosts on the same network segment)
   -b                  don't display a bar graph of traffic
   -B                  display bandwidth in bytes
   -a                  display bandwidth in packets
   -i interface        listen on named interface
   -f filter code      use filter code to select packets to count
                       (default: none, but only IP packets are counted)
   -F net/mask         show traffic flows in/out of IPv4 network
   -G net6/mask6       show traffic flows in/out of IPv6 network
   -l                  display and count link-local IPv6 traffic (default: off)
   -P                  show ports as well as hosts
   -m limit            sets the upper limit for the bandwidth scale
   -c config file      specifies an alternative configuration file
   -t                  use text interface without ncurses

   Sorting orders:
   -o 2s                Sort by first column (2s traffic average)
   -o 10s               Sort by second column (10s traffic average) [default]
   -o 40s               Sort by third column (40s traffic average)
   -o source            Sort by source address
   -o destination       Sort by destination address

   The following options are only available in combination with -t
   -s num              print one single text output afer num seconds, then quit
   -L num              number of lines to print

iftop, version 1.0pre4
copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors
root@OpenWrt:~#

I hope I did it right... It's a lot to take in right now. 8 hours sleep 3 days oh boy... LOL

You need to replace $MYWANINTERFACE with your real WAN interface name. eth0 ?

Got it eth0 is the name..

I tried connecting with wan but it won’t let me. Do I need to be plugged into the wan port or the lan port on back of router?

It keeps saying connect refused when I use interface wan. It works with interface lan.