Traffic Shaper for gaming not working?
-
With a fresh beta4 install and running the shaping wizard, setting the P2P catchall, and high priority for games with only Counter Strike selected, my outbound game packets end up in the qWANdef queue.
I also notice that the p2p catch all gets entered twice. At the bottom of the rules list, there are double entries for both incoming and outgoing.
I checked the settings for outbound game port, 27015, and that is the port showing in states, but goes to wrong queue. Any ideas? -
There where many fixes after beta 4.
You need to run from a shell (if this is a full installation):
cvs_sync.sh releng_1
Then rerun the traffic shaper wizard.
-
Ok. Seems to work after that. Still have the double set of p2p rules though.
Thanks! -
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