If you see latency going up, SQM isn't configured properly. Tone down the ingress/egress speeds in SQM until the speedtest on www.dslreports.com no longer shows bufferbloat. Then try the games again. Also, stick to piece of cake for now instead of layer cake.
there is only lag when you are downloading something in the same console or pc.
Using piece of cake, -15% my download and upload (A Bufferbloat in www.dslreports.com)
If I'm downloading something on the Xbox one and I'm playing on the computer I do not have lag.
but if I'm downloading something on the computer and I'm playing on the computer I have lag.
Because does not exist, category and prioritizationgaming about downloads.
In ASUS adaptive QoS exist Autocategory and prioritization, I was asking if it is possible to add these options to SQM Cake. ASUS Adaptive QoS - Automatic
SQM already enforces fairness on connection basis, and not on IP basis. So using the same PC or different one for Downloading should not matter.
That looks good
How is your computer connected to the router? If it is via WiFi, you might simply be seeing bufferbloat on the WiFi link, which SQM cannot fix.
What are you downloading exactly? If you are using torrents, they can spawn hundreds if not thousands of connections. In that case, the on connection based fairness might not be appropriate. A few additional questions:
What are you downloading exactly when you are running into these issues. Torrents?
When experiencing lag, please run top on your router via an SSH session. Do you ever see the idle CPU % approaching zero? You might simply be running out of CPU power.
If you are using Torrents I can think of two solutions:
Make the torrent use DSCP tags on the packets, and make SQM DSCP aware. I haven't done this myself before, so I cannot really help you with how to do this, but it should be explained in the documentation on the Wiki, or perhaps someone here could lend you a hand.
I am not sure if this is possible, but using QOS + SQM together might be an option. Again, I am not sure if this is possible, because I haven't tried that myself before, so you might want to wait for someone else to chime in on that topic
PC: Steam and Fortnite Downloads Console: Xbox one and PS4 Downloads
I have an RT-AC68U with FreshTomato-ARM and an RT-AC86U with Asuswrt-Merlin and they NEVER give me lag or disconnections when I'm playing and downloading something (Torrent, Steam, Epic Games, etc) on the same console or PC.
Only in R7800 with LEDE SQM Cake causes me lag and disconnections, When I download something (Torrent, Steam, Epic Games, etc) on the same console or PC that I am playing.
For the same that I said before, SQM Cake lacks these 2 important things, category and prioritization.
I repeat again, "We advance 2 steps forward and 5 steps backwards."
If you want Category / priority based QoS, use the QoS package. SQM is not meant to have these options. SQM is meant to provide per connection based fairness. Hence it is not lacking that. They are simply two different tools for two different goals.
However, lag and disconnections is not something you should be seeing on SQM. Please provide the additional information that I requested so we can help debugging what is going wrong at the moment:
How are your PC and consoles connected?
Since you are running a R7800, which has two cores, please install htop on your router (opkg update && opkg install htop) and run the htop command. Do you ever see either core hitting 100% utilization?
Ahhhh, actually, something just crossed my mind:
What build you using on the R7800? If you are using the latest Lede 17.01.4, it has known latency issues with the R7800. This issue has been fixed in the latest master builds. You can either flash a master build, or flash a 18.06 beta build. However, neither of them has a GUI (Luci) by default, so make sure you are comfortable with SSH to install a GUI yourself.
They didn't remove this. Again, they work exactly as they are meant to work. SQM works fine without any manual categories or prioritization. I can download at max speeds, and my fiancee won't notice a thing during her gaming sessions. QoS and SQM are two separate packages, because they have two separate goals.
No, you are simply seeing a latency issue that is caused by a known bug with the switch in the R7800. As I mentioned before, these issues have been fixed in the master branch. No need to change SQM to solve your issues
I'm sorry you feel that way These issues have been solved, but there simply hasn't been a release yet that includes said fix. Lots of volunteers are working hard to bring 18.06 to the masses soon You're always free to use the snapshot builds if you want the fix right now
Am I correct in reading this as: you want to be able download/update software on exactly the same machine you are currently using to play a game? In that case the per ip-isolation of cake is not going to help you at all, as it will only attempt to give each concurrently active IP-adress its fair share of the bandwidth.
Say, if you update/download software on the PC can you still play reasonably well on the console?
And what bandwidth do you have available?
Well, in an ideal world applications would allow to configure the desired DSCP markings to allow exactly that. Doing something like that on a central element like a router is always going to be a whack-a-mole kind of game, as you will need to constantly need to come up with and supervise heuristic traffic classification rules. Microsoft actually allows to set DSCPs per application, but unfortunately only vie group policies IIRC so you would need a dmain controller in your network (or whatever is needed to use group policies).
This is worth stressing, sqm really needs to be sure it controls the real bottleneck otherwise latency under load will increase. Now, I would nor frame this as "sqm not working correctly", but rather sqm only working well if its assumptions are met, but that is just verbal gymnastics, as @fuller's point is important!
Okay, sqm/cake are working exactly as designed. This is one of the situations where cake/sqm's goal of minimal configuration does not allow easy matching with your desires, but the only alternative is extremely fiddly and approximate rule making to differentiate the different flows so you can assign your desired priorities.
Cake's goal is to be the AQM/QoS for the rest of us, that will only require minimal configuration but will mostly do the right thing or at least no harm. What you desire simply is out of scope for what sqm aims for.
BUT if you use layer_cake, sqm will allow you to use DSCPs to move certain packets into different priority bands, so maybe you should start looking how you can make sure your packets have the desired dscp directly from the source?
You can always use qos-scripts instead, as they seem to do what you desire. For sqm this is out of scope, even though it would be nice to have a complimentary package to allow easier rule-based dscp re-mapping on a router, so you could re-map dscp's on the LAN interface that would at least solve the problem in the outgoing direction.
But frankly in your case, I would simply play games on that device that is not currently updating/downloading (is it possible to play on a console while these things are going on in the background at all ?)
The dual-srchost/dual-dsthost options the OP seems to have configured also try to fairly share the bandwidth between all concurrently active internal IP-addresses (and for each IP-address cake will also tar to share fairly by flow).