--On Wednesday, November 24, 2004 9:19 PM +0800 Daniel
<[EMAIL PROTECTED]> wrote:

TCP tweaks won't help much :)

OTOH, if you run TCP-based apps on your game server (such as web or email), you should prioritize your game packets by marking them with the MinimizeDelay value in the TOS field, and then set your traffic shaper to put those packets at the front of the queue. You can mark the packets by running these commands:

iptables -t mangle -A PREROUTING -p udp -j TOS --set-tos 0x10
iptables -t mangle -A OUTPUT -p udp -j TOS --set-tos 0x10
iptables -t mangle -A POSTROUTING -p udp -j TOS --set-tos 0x10

You can use the wondershaper available at http://lartc.org/ to set up a
shaper that prioritizes these packets.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to