Hi group, first of all: I am new to this group and hope to bring in some value later. At the moment I am such a beginner that I will probably of no use to anyone and only be asking stupid questions... I am running a little private linux server with kernel 2.4.21. It serves as a gameserver, webserver and mailserver, mainly. It also does the pppoe connect via a DSL modem to my provider and the NAT and forwarding for my local net (3 PCs). I would like to ensure perfect game server latency since its interactive (Quake 3 Arena), even while people are surfing my website or I am sending a large mail from within my local net. I read a little about QoS and are using a modified WonderShaper script. I am using 3 htb classes from which one is the interactive game server class - it gets 80% of the upload bandwidth guaranteed. tc -s class ls dev ppp0 shows me the classes and i see that traffic gets put into the right classes. So far - so good! But there are still bad lags when gaming and some other person surfs my web pages... :( Any Ideas? I can post my script if there is an interest in it... Thanks in advance, Tom. -- Word Perfect isn''t, Excel doesn''t, Works won''t. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Am Tuesday 05 August 2003 19:22 schrieb Tom Verbeek:> I am using 3 htb classes from which one is the interactive > game server class - it gets 80% of the upload bandwidth > guaranteed.You need to shape in both directions... so, if you don''t guarantee the server some download bandwith, you''ll encounter lags pretty much all the time.> I can post my script if there is an interest in it...You should definitely put it somewhere so that people can have a look at it. Regards, Andreas _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
AK> You need to shape in both directions... so, if you don''t AK> guarantee the server some download bandwith, you''ll encounter AK> lags pretty much all the time. I thought I could only shape upload traffic?? BTW: download bandwidth is not the issue: I''ve got an ADSL connection of 2MBit/s down and 192Kbit/s up.>> I can post my script if there is an interest in it...AK> You should definitely put it somewhere so that people AK> can have a look at it. Its here now: http://www.designobjekt.de/test/rc.trafficshaper Any comments strongly appreciated! Thanks, Tom. -- Word Perfect isn''t, Excel doesn''t, Works won''t. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 05 August 2003 20:51, Tom Verbeek wrote:> Its here now: > http://www.designobjekt.de/test/rc.trafficshaper > > Any comments strongly appreciated!You used the wondershaper. And I don''t want to say the wondershaper is not good, but it only shows you what''s possible with tc. The problem is that shaping is much more difficult. One of the problems is different prio''s for classes. It can be the solution for some problems, but it can cause extra delays in certain situation. I can aonly point you to www.docum.org for more information and some shaping rules. Good luck. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/