Traffic Shaper for gaming not working?
-
One more thing about the gaming. I also run a Counter Strike Server that I want to have absolout priority over everything else, except WanAcks.
I have the rules set up correctly and all the outbound server traffic is going out the outboundGame queue. I have set the priority for that queue to 6 and reserved 50% of bandwidth. For the inbound queue, I have a 5 priority and 10% bandwidth. (I have a 3000/768 DSL line)
Problem is, when I start doing bitorrent and a big download from web, people on server ping times go sky high. When I look at the queue states, it usually shows some drops for the outboung gaming.
What would be some better settings to gaurantee top priority for game server? What happens if you set priority levels above 7? -
Make sure the p2pCatchAll option is enabled during traffic shaper wizard (rerun it).
Then:
Edit the queues for the gaming items, increase the bandwidth from 1% to 15%. This is the same trick outlined in my Traffic Shaper tricks thread. Please read that thread.
-
Ok, I did read that thread and if you read mine, you should have seen that I increased from 1% to 50% for outgoing game packets. And increased from 1% to 10% for the incoming.
I will try re running the wizard with the catch-all enabled.
Thank you. -
Yes, I saw this, but you where missing half of the puzzle.
No need to tell me what I missed because I can just as easily ignore you.
-
One more thing about the gaming. I also run a Counter Strike Server that I want to have absolout priority over everything else, except WanAcks.
I have the rules set up correctly and all the outbound server traffic is going out the outboundGame queue. I have set the priority for that queue to 6 and reserved 50% of bandwidth. For the inbound queue, I have a 5 priority and 10% bandwidth. (I have a 3000/768 DSL line)
Problem is, when I start doing bitorrent and a big download from web, people on server ping times go sky high. When I look at the queue states, it usually shows some drops for the outboung gaming.Empty acks are higher priority than games. You can invert this priority (although I'm not sure priority actually matters in HFSC - we've had a bit of a debate over it a couple times and I don't recall the outcome). What you want to do is modify the linkshare percentages, this in effect modifies the priority (rather…share of the pipe) that the gaming queues will use.
What would be some better settings to gaurantee top priority for game server? What happens if you set priority levels above 7?
You can't.
-
Ok. Thanks for the tips. Will do some more testing.
UPDATE: Seems to have helped quite abit. If I saturate my upload bandwidth with p2p traffic, peoples latency on game server only goes up a little now instead of being kicked for too high ping.
I would like to tweak more. What about some of the other queue settings? The check boxes in the "Scheduler options" section, will any of these further the cause of low latency gaming? -
Ok. Thanks for the tips. Will do some more testing.
UPDATE: Seems to have helped quite abit. If I saturate my upload bandwidth with p2p traffic, peoples latency on game server only goes up a little now instead of being kicked for too high ping.
I would like to tweak more. What about some of the other queue settings? The check boxes in the "Scheduler options" section, will any of these further the cause of low latency gaming?Read the last paragraph in http://wiki.pfsense.com/wikka.php?wakka=HFSCBandwidthShapingNotes it should help a little. It's general info, not so much related to the various settings, but useful anyway.
–Bill
-
Thanks Bill. Helps me understand that it is confusing. :P Seems like some settings override another, or cancel each other out. Hopefully some day it could be made more "user friendly" for folks that aren't to keen on the underlying code that is at work. I'll just stick to what the Traffic Shaping Wizard gives me for now, with the basic changes suggested by Scott.
-
Man, is the traffic shaper broken in RC1? I did a clean install, and set everything up as before with the traffic shaper, only now it doesn't seem to work. I see no dropped queues or anything with heavy upload and download use. As soon as I start to download anything from internet, gamers get kicked from server cause their ping is spiking up past 400ms.
I'm really trying to get this to work. This is the most important feature of PFSense for me. -
Check your up and downstream limits of your line. Substract some overhead to see if it works better (for example if you have 6 mbit/s down try setting 5 mbit/s, same for upstream whis is more important in this scenario). If this gives you better results try to find the value where it starts to break and get as close as possible. Sometimes provider advertise more than you line actually has.
-
I'm having this problem, I installed RC1 and did the cvs_sync.sh releng_1 thing.
My VOIP is getting shaped. My gaming traffic is not. I can tell because on the queues page the gaming queues are empty even though I have gunz open, on port 7700 udp, and there are rules for port 7700 udp getting shaped (made from the wizard).
-
I just tested counter strike and its showing up ok on the traffic shaper status screen. Maybe its a problem with this game only?
EDIT: screenshot attached.
-
Question about your screenshot;
Where is qwanacks?
Also, I notice you have traffic on the qlanacks. Whenever I look at my queues, the qlanacks never has anything on it.And responce to hoba, if I lower my speed settings, then that limits my speeds to whatever I set it at. I set my download speed to 2mbps and that was all I could download at. I want to have it set at my max, which I have tested numerous times and both my upload and download speeds are very consistent, so that I am getting all I can. I'm actually thinking of adding cable internet service now and going to dual wan so that I can double my current download speed.
-
Its cutoff, my monitor is not that big on the machine that I took the grab from since I was playing CS.
Both wan and lan are showing acks here. If your not seeing acks then I would suggest running cvs_sync.sh releng_1 and rerun the shaper wizard.
-
Question about your screenshot;
Where is qwanacks?
Also, I notice you have traffic on the qlanacks. Whenever I look at my queues, the qlanacks never has anything on it.And responce to hoba, if I lower my speed settings, then that limits my speeds to whatever I set it at. I set my download speed to 2mbps and that was all I could download at. I want to have it set at my max, which I have tested numerous times and both my upload and download speeds are very consistent, so that I am getting all I can. I'm actually thinking of adding cable internet service now and going to dual wan so that I can double my current download speed.
Word of caution, you won't have working traffic shaping with multi-wan. Although it's debatable if you'd need it ;)
–Bill
-
Well, for this game, I have to use advanced outbound NAT rules to make it work (pfSense doesn't do UDP consistent translation or wtf that natcheck program calls it).
Might that have anything to do with it?
I know this game uses 7700UDP incoming and outgoing, and AFAIK the wizard looks like it made those rules for me.
-
Well, for this game, I have to use advanced outbound NAT rules to make it work (pfSense doesn't do UDP consistent translation or wtf that natcheck program calls it).
Might that have anything to do with it?
I know this game uses 7700UDP incoming and outgoing, and AFAIK the wizard looks like it made those rules for me.
Not to be rude, but wtf does this have to do with Gitsums question?
–Bill
-
Yeah, I've had to use the static port option to get my server accesible from internet.
Well, if traffic shaping doesn't work with dual wan, then I guess I'm going to have to try a Cisco 1811 or something to get what I need. Oh well. Oh, but wait, doesn't PFSense have "Load Balancing" ?
Isn't that kinda the same thing? -
Loadbalancing and Trafficshaping are different features. Loadbalancing means you can send traffic out via a bunch of WANs by roundrobin new connections to the next WAN. Trafficshaping means applying an order to packets that leave an interface to have services with different service levels (like sending out voip with lowest delay and a guaranteed throughput for example). These features don't play together very nicely atm tough you can do some modifications to your rules/queues to make them "somehow" work together. This limitation will most likely not be present anymore in an upcoming version of pfSense but there is no timeframe for this so far.
-
This isn't directly related to the topic at hand, but this seems like a good thread to ask in. I also have a CS server running behind pfsense at home. I have three interfaces (0)WAN (1)LAN (2)OPT1. I have all of my publicly accessible computers/servers on OPT1 and have segmented my network to prevent traffic from going from OPT1 -> LAN.
So, this is my question. I have been reading around and have read that you can only use traffic shaping on one interface currently. Does this mean traffic shaping on one external, public WAN? Or does this mean two interfaces in general.
Also, thanks for your hard work; this project is great. I am going to be submitting some packages and perhaps applying to maintain some in the near future. As for now summer school is kicking my arse.