Re: howto reduce the ping?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux