From: Julius Junghans Date: Tue, 15 Aug 2006 18:38:38 +0000 Subject: Re: [LARTC] howto reduce the ping? Message-Id: <200608152038.40023.julius.junghans@gmx.de> List-Id: References: <200608151717.17048.julius.junghans@gmx.de> In-Reply-To: <200608151717.17048.julius.junghans@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Am Dienstag 15 August 2006 17:43 schrieb Marek Kierdelewicz: > > Hi, > > Hi there > > > with the attached config my gaming ping is still +20ms, even if the > > line isn't saturated..can anybody give me a hint how to get a better > > response time? my line: 1024/128kbit > > Try using tc filters instead of CLASSIFY and see if that helps. I've > seen some strange shaping behavior with it... Ive found only one explanation for port ranges on the mailing list and the author wasn't sure if it was correct...so i ask here: #port range 27020:27039, protocol tcp #iptables -t mangle -A POSTROUTING -p tcp --dport 27020:27039 -j CLASSIFY --set-class 1:10 tc filter add dev ppp0 protocol ip parent 1: prio 1 u32 match ip dport 27020 0x13 match ip protocol 6 0xff flowid 1:10 #port range 27000:27015, protocol udp #iptables -t mangle -A POSTROUTING -p udp --dport 27000:27015 -j CLASSIFY --set-class 1:10 tc filter add dev ppp0 protocol ip parent 1: prio 1 u32 match ip dport 27000 0x21 match ip protocol 17 0xff flowid 1:10 are the tc filters correct for the port ranges and the protocol? > > Another thing is prioritizing some of the htb classes. You can > set priority 1 for class 1:10 (css) and priority 2 for 1:20, 1:90 > (lower is better). This way you're sure that css is getting max upload > speed if any other traffic is fighting his way out of your coputer. > > You can do the same thing for download, but with your connection I > think that upload will be the most likely bottleneck. > > cheers _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc