Help me Fine Tune my Shaper?
-
@Harvy66,
thanks for the inputs.@all,
can anyone give me an example of a floating rule to pass internet traffic to a certain queue? -
What kind of traffic?
-
am sorry, I'll try to elaborate as much as I can.
on the first page, I have posted my shaper screenshot and you'll see also my floating rules on the first post: https://forum.pfsense.org/index.php?topic=97643.msg553775#msg553775
if you are able to see the LAN side, you'll see that it has qDefault (as the default queue) and have qLink (almost unused :()
I know now that my LAN this is wrong, but I would like to make qLink the Dafault queue again for this one.
now, you see my floating rule…, and how can I divert all other web traffic to qDefault? -
qLink is my default queue. It's set at 1000Mb
Anything not matched by any of these goes into qLink.
I don't feel the structure of the my particular queues is significant. What I feel is significant is how to get the traffic into the queues you want.
Note that my main goal is to improve VPN traffic, which is usually RDP, SSH, or VoIP. I just prefer the VPN tunnel. I have made some effor to shape specific traffic inside the tunnel but found it to be mostly a waste of time. If I was to start doing large file transfers over it I would probably revisit that.
![Screen Shot 2015-09-26 at 2.14.50 PM.png](/public/imported_attachments/1/Screen Shot 2015-09-26 at 2.14.50 PM.png)
![Screen Shot 2015-09-26 at 2.14.50 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-09-26 at 2.14.50 PM.png_thumb) -
thanks for the inputs sir,
my main concern is that I have set up my game stuff (shaping and rules)
the only reason I have qDefault there is that it is used to limit all others with download connections.when someone do streaming, it seems to still hog the connection.
I'll maybe restart again with and read again some things here and there :(
-
I personally prefer to set my qDefault under qInternet and qLink is explicitly matched. If I forget to match LAN traffic and it goes to qDefault, who cares, it's just slower, but my ping stays just fine. If my default is qLink and I accidentally place Internet traffic in qLink, then all of my traffic shaping is moot. All it takes is one greedy flow to not be shaped and you'll have lag issues.
-
I personally prefer to set my qDefault under qInternet and qLink is explicitly matched. If I forget to match LAN traffic and it goes to qDefault, who cares, it's just slower, but my ping stays just fine. If my default is qLink and I accidentally place Internet traffic in qLink, then all of my traffic shaping is moot. All it takes is one greedy flow to not be shaped and you'll have lag issues.
That's why for basic shaping I don't even worry about download. I don't even set any queues using LAN rules. For shaping of asymmetric circuits it is almost always the upload that kills performance.
That brings up a question I have not tested. If you have a qLink on LAN as the default queue and you put traffic in it and it flows out WAN where there is no qLink queue, is the traffic placed in whatever the default queue is on WAN? In other words if a queue is set and the queue doesn't exist, is it placed in that interface's default queue?
-
That brings up a question I have not tested. If you have a qLink on LAN as the default queue and you put traffic in it and it flows out WAN where there is no qLink queue, is the traffic placed in whatever the default queue is on WAN? In other words if a queue is set and the queue doesn't exist, is it placed in that interface's default queue?
I want to say yes, but now you got me wondering. I'm pretty sure I had this situation in the past, just not with qLink.
-
I would think Yes as well, because the alternatives would be pick a queue at random or bypass the shaper entirely, which I don't think can be done.
ETA: I just tested forcing traffic from my host on LAN to qLink. Used qLink on LAN for download and qBulk on WAN for upload. There is no qLink on WAN.
-
I have read the article pointed to by Nullity: http://www.linksysinfo.org/index.php?threads/qos-tutorial.68795/
according to the above link and what you guys are saying…, it all goes to controlling/shaping up the "upload" queue which will also directly influences the download stuff.
I have researched a bit and the thing I see ATM is squid's "delay pools"..., but I will still have to try it out.
anyone can point me on how to limit/shape all kinds of streaming (and download as 2nd)? as this is the only thing gives problems on games [when my poor 5mbps link is saturated]