Maximizing performance for network?
-
I do not think so, but I do not know. Traffic shaping queues function as expected for me.
-
allright so i think I got it, but have a few questions
I made qVOIP as my highest then http,dns second then last everything else would be lowered to 5 percent.
I ran some tests on torrents and it did work, max rate was 73kbit download speed and while ping 8.8.8.8 around 60-80 see pictures
But my questions is how come so little packet drops for qCatchall? And when I did a speed test it was less then 1mbit down/1mbit up but no packet loss thats where i get confused.
Also not sure where to add the codel on which Queues?
Thank you
-
Just remember that realtime always takes from the root and ignores upperlimit and link share. Of course any bandwidth above realtime respects upperlimit and link share.
And a 500 queue is very large for 13Mb of bandwidth. That's about 500ms of latency if the entire queue was full of 1500 byte packets. If in doubt, enable CoDel on all queues.
I also noticed that you said your connection is 12mb, but you set your shaper to 13Mb. On your download you should set your bandwidth to about 90%-95% of your minimum bandwidth. This means if you average 12Mb, but it comes in as a fluctuating 11Mb-13Mb, you should target 95% of 11Mb.
-
Hi Harvy66 thank you again for the reply :)
Just remember that realtime always takes from the root and ignores upperlimit and link share. Of course any bandwidth above realtime respects upperlimit and link share.
does that explain the speedtest pictures, while enabling traffic shaping would speedtest results be different? Not really sure if I understood the last part, any bandwidth do you imply the WAN queues o the LAN.
And a 500 queue is very large for 13Mb of bandwidth. That's about 500ms of latency if the entire queue was full of 1500 byte packets. If in doubt, enable CoDel on all queues.
I saw on a previous post that you showed your pics which had 1024 Queues should i follow somewhat your pics? When enabling CoDel on all queues should I remove all the queue limits?
I also noticed that you said your connection is 12mb, but you set your shaper to 13Mb. On your download you should set your bandwidth to about 90%-95% of your minimum bandwidth. This means if you average 12Mb, but it comes in as a fluctuating 11Mb-13Mb, you should target 95% of 11Mb.
Thank you that was a very good point you made I wasn't really sure, I would have days that its 11 others 12.9
And my last questions how were my firewall rules? where they correct? or is there any recommendation you could tip me :)?
Thank you again
-
If you enable CoDel, the queue limit is unused.
With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.
-
Your speedtest is going into the catchall, which has an upperlimit of 10%. Probably because many speedtests use port 8080 for some reason.
-
Thank you for the replies
If you enable CoDel, the queue limit is unused.
With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.
Would it be recommended enabling it on the Default queue both LAN and WAN?
Your speedtest is going into the catchall, which has an upper limit of 10%. Probably because many speedtests use port 8080 for some reason.
but isnt my upper limit on catchall 5%? But whats funny My navigation speed on websites are great or should i be worried about the speedtest result?, But lets say I would need to download a heavy file and I would need to bypass the queue would that be possible or I would need to turn it off?
Thank you
-
Thank you for the replies
If you enable CoDel, the queue limit is unused.
With CoDel enabled my queue is 2-4 packets even though it is defaulted at 50.
Would it be recommended enabling it on the Default queue both LAN and WAN?
The answer is complicated.
Though, thankfully, you can simply use trial & error to determine whether you prefer CoDel or not.
tldr; enable
-
Thanks Nullity for the reply I think I am getting the hang of it doing lots trail and error.
So i think on the LAN part (download) I have been able to tweak it with the catchall to a decent amount without hurting download streams, but the WAN(upload) do we have any control of it?
Lets say someone is uploading 1gig of information to dropbox with a 2mb upload speed it kills the internet I have seen my WAN RTT to around 300ms when originally its around 1.3ms, is there a possible way to put that catchall on the WAN for only protocols of dropbox,mega,wetransfer?
Also streaming netflix,youtube, going to webpages that uses the LAN queues right?
Thank you
-
Before using pfSense, I was proud of my networking knowledge because I knew the diff between a switch and a hub. ???
Then I became interested in traffic-shaping and realized I knew nothing about computer networking. After reading a few networking books and many dozens of (incomprehensible, lol) white-papers centered around HFSC, I finally feel comfortable configuring a simple traffic-shaping setup.
I say this because all your questions are already answered in books, the pfSense wiki, and Google. Go read. :)
We ain't your lackeys. :)
-
hahah all righty :) ill post back up when I have been fully educated ;)
-
hahah all righty :) ill post back up when I have been fully educated ;)
Well, we just need to know you have felt the same pain we have, lol.
I look forward to seeing you become a jaded forumite. :)
-
Your speedtest is going into the catchall, which has an upper limit of 10%. Probably because many speedtests use port 8080 for some reason.
but isnt my upper limit on catchall 5%? But whats funny My navigation speed on websites are great or should i be worried about the speedtest result?, But lets say I would need to download a heavy file and I would need to bypass the queue would that be possible or I would need to turn it off?
Thank you
Yes, your catchall upperlimit is 5%, which is why your speedtest is so slow. Your websites work fine because they properly go into your web queues. You need to fix your matching rules to include port 8080 for the destination.
-
Hi Harvy66,
Thanks for the reply I got the speed test working with the firewall rules see picture I got the hang of downloads(LAN) i even been able to create alias to give certain groups to follow the queues and others to ignore it for testing purposes. I was able to limit the download speeds to download an iso (1.2gigs) at a rate of 300kb/sec while another computer would ignore that and download the same iso at 1.2mb/sec ;DWhat I can not get is the uploads (WAN).
I have been trying to limit upload speeds to 120kb/sec with mega but immediately it uses the queues of the qhttp which uploads at 740kb/sec
I then created another rule to use the qdefault/qcatchall with all the Ips of mega and nothing :(
Not sure what i might be doing wrong?
Thank you
-
With floating rules, last rule wins. Mega is at the top, so it'll get changed by qHTTP at the bottom. You also have to remember that IPs can change at any time. The firewall would be expecting a different list than what the client attempts to connect to.
-
Thank you for the reply, So I did what you advised and moved around other rules and nothing :( what I also realized that when disabling the rule of the http it then queues the qdefault but enabling the qhttp it goes back to the qhttp when uploading though mega see pictures.
I also tried giving the qhttp less percentage but kinda defeats the purpose. lol..
I guess what my main goal is for people uploading though dropbox,mega,google drive,etc give them around a 200k upload limit which I am able to do it on the download part but not on the upload part.
Thank you
-
Those services use the HTTP protocol, but are you sure they use the HTTP/HTTPS ports?
-
Hi Harvy66 thanks for the reply, yep they do unfortunately. I think uploading is worst then torrenting lolz… especially when having 2mb upload and now these days there's so many sites to upload..like google drive,dropbox, mega, filepup ,etc
:(