HFSC + Question on : "Choose the amount of bandwidth for this queue"
-
Hello there,
I've got a little question for my shapping.
I use the traffic shaping wizard and in my queue "qOthersHigh" on the Bandwith, i put 1000 Kbps.
But when i do a speed testing, my connection got a 4000 Kbps…
So what does it mean this option : Choose the amount of bandwidth for this queue ?
Thanks.
Best regards.
Myke. -
LinkShare (LS) aka Bandwidth is not an upper limit, it is a minimum share of the aggregate total. Regardless of what you put, if there isn't any contention on the wire then you will get full bandwidth.
-
hello,
ok thank you for your answer.
So i just did a simply test on Lan :
Parent Queue : QInternet : 3000Kbps
Child Queue : Qhttp : Bandwith 50% + Linkshare : 50%
Child Queue : Qother : Bandwith 10% + Linkshare : 10%When i did a test of connection, the result give me 100 % of my bandwith instead 50% + 10%.
I'm a little confused on this.
Best regards.
Myke. -
You have two queues. What you are specifying with your LS/Bandwidth values is the minimum share of the bandwidth available from the parent queue. You have your queues set to 50% and 10%. HFSC will try to ensure that qHTTP gets at least 1500Kbps and qOther gets 300Kbps. If all that's happening on the wire is HTTP traffic then qHTTP will get 100% of the bandwidth. If traffic in qOther starts to rise, it will continue to use as much bandwidth as possible while still reserving 1500 Kbps for qHTTP. A queue will soak up as much bandwidth as it needs unless you limit it using UpperLimit (UL). This is the way it's supposed to work and the way you want it to work, generally. If nothing else is happening on your network, then you don't want to artificially limit yourself for no reason.
-
So basically just put more than 1 PC on the network and have one downloading on steam or something else and then the other doing traffic that would fall in the other queue.
Then you should be able to see both queues getting traffic on the graph.
-
Hello,
Thanks for your answer!
It makes sense now to me.
Thanks for sharing.
Best regards.
Myke. -
Hello,
I would like to add a captive portal with my shapping.
My url is 10.0.0.1:8000
I've got a problem because my page go to my queue P2P by default.
I tried to add some floating rules and rules with :
-
source any
-
destination 10.0.0.1
-
port 8000
-
queue OthersHigh.
Of course i reload the filter all the times but my portal always goes in my P2P Queue…
Best regards.
Myke -
-
I don't know anything about Captive Portal, but in your Floating Rules, you have the Action set to MATCH instead of PASS?
-
Yes i tried the Quick action (Match) but no change.
-
For what it's worth, none of the floating rules added by the Traffic Shaping wizard have Quick selected.
-
Hello there,
I'm still stuck with my captive portal go to the P2P queue with P2P catch all active….
I think it's a problem like this old post https://forum.pfsense.org/index.php?topic=8034.0 where we need to disable the antilockout rule.
Do the traffic shaping and captive portal has not compatible in the same box ?
Thanks.
Best regards.
Myke. -
No idea. I don't use captive portal.
-
@KOM:
No idea. I don't use captive portal.
Maybe i'm the only one to use captive portable with the traffic shapping.
I'll continue my research.
Thanks.