From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Klauer Date: Thu, 02 Mar 2006 15:07:44 +0000 Subject: Re: [LARTC] counter-strike Message-Id: <20060302150744.GA12637@EIS> List-Id: References: <4406DABD.8050700@gmail.com> In-Reply-To: <4406DABD.8050700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Thu, Mar 02, 2006 at 01:45:01PM +0200, Sorin Panca wrote: > _______________________________________________________________________ >=20 >=20 > 1:--+----1:1 - [ counter-strike & icmp ] rate=3D1Mbit; ceil=3D1Mbit; > | prio 0; (u32 filter by ports) > | > |----1:2 - [ Internet ] rate=3D1.5Mbit; ceil=3Drate; prio 1; > | | (RNR=3Drate) RNR =3D Root iNet Rate > | | > | |---1:20 - [ normal traffic ] rate=90% of $RNR; ceil=3D$RNR; > | | prio 0; (u32 filter by ports) > | | > | \---1:21 - [ p2p traffic ] (default class) rate=3D1kbit; > | ceil=90% of $RNR; prio 1 > | > |----1:3 - [ MAN ] rate=3D1Mbit; ceil=10Mbit-$RNR; prio 1 > | | (RMC=CEil) RMC =3D Root MAN Ceil > | | MAN destinations are marked with 0x1 Marker > | | > | |---1:30 - [ normal traffic ] > | | rateP0kbit;ceil=3D($RMC-$RNR-1)kbit; > | | prio 0; (u32 filter by ports AND fw mark) > | | > | \---1:31 - [ p2p traffic ] rate=3D1kbit; ceil=3D($RMC-$RNR-1)kb= it; > | prio 1; (u32 filter by fw mark) > | > \----1:4 - [ LAN ] rate=89Mbit; ceil=89Mbit >=20 > ________________________________________________________________________ I assume that CS actually goes out to Internet and/or MAN, depending on=20 the location of the server. I would make one CS class for each. Otherwise=20 you may have 1MBit CS (which goes out to Internet) plus 1.5MBit Internet,=20 which will work only if you got 2.5MBit Internet guaranteed in total.=20 Likewise with MAN. Unless you really got that much bandwidth, this setup=20 will not give you any good results at all. You could also use PRIO qdisc as a child to the HTB Internet / MAN classes = to give CS absolute priority over HTTP over P2P. This approach worked very = well for me and my flatmates, also for gaming. But that's on a way slower=20 line and without Internet/MAN distinction, so we've been happy with 200ms=20 (versus 1000-5000ms when unshaped) pings. Regards Andreas Klauer _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc