Andreas Klauer
2004-Oct-06 10:00 UTC
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
Zviad O. Giorgadze wrote:> My ISP provides guarantied 115kbit bandwidth for GLOBAL TRAFFIC. During the low load period (early morning, evening, night) customers can get up to 1mbit traffic.That''s download traffic we''re talking about, since you seem to be shaping on your local LAN interface? Variable rate ISPs are tough to shape right, I guess... Does this 115kbit vs. 1mbit thing solely depend on ISP load, or does it depend on day of time? In the latter case, I''d let a cron job replace the HTB class structure, so that you have 115kbit ceil during the day when you really only get 115kbit and 1mbit ceil during the night when you actually get 1mbit. But I guess it''s not that easy, huh?> According to PRIO settings I try to give all available bandwidth (above the guarantied rate) to IP address. I think that all other IP-s get it''s guarantied rate or may be I''m wrong?You have a 100mbit line, of which you only allow 1mbit to be used (Why make a 100mbit class then?). Unknown traffic (LAN, most likely) goes to class 1:22 (Why? Shouldn''t only ISP traffic go there?). There is no distinction between ISP and LAN traffic at all... does that mean that there is no other traffic than ISP from/to your HTB box? Does anyone know how HTB performs on such a line? My guess would be that HTB doesn''t have a clue that there are actually only 115kbit, and thus will allow classes to borrow too much, letting other classes starve. Andreas _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
<mjoachimiak@poczta.onet.pl>
2004-Oct-06 10:54 UTC
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
Your gues is right. To get HTB work correctly you must know rate parameter for your connection also known as CIR. Coud you tell what minimum rate your clients have? ----- Original Message ----- From: "Andreas Klauer" <Andreas.Klauer@metamorpher.de> To: <zgiorgadze@gol.ge> Cc: <lartc@mailman.ds9a.nl> Sent: Wednesday, October 06, 2004 12:00 PM Subject: Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?> Zviad O. Giorgadze wrote: > > My ISP provides guarantied 115kbit bandwidth for GLOBAL TRAFFIC. Duringthe low load period (early morning, evening, night) customers can get up to 1mbit traffic.> > That''s download traffic we''re talking about, since you seem to be > shaping on your local LAN interface? Variable rate ISPs are tough > to shape right, I guess... > > Does this 115kbit vs. 1mbit thing solely depend on ISP load, or does it > depend on day of time? In the latter case, I''d let a cron job replace > the HTB class structure, so that you have 115kbit ceil during the day > when you really only get 115kbit and 1mbit ceil during the night when > you actually get 1mbit. > > But I guess it''s not that easy, huh? > > > According to PRIO settings I try to give all available bandwidth (abovethe guarantied rate) to IP address. I think that all other IP-s get it''s guarantied rate or may be I''m wrong?> > You have a 100mbit line, of which you only allow 1mbit to be used (Why > make a 100mbit class then?). Unknown traffic (LAN, most likely) goes to > class 1:22 (Why? Shouldn''t only ISP traffic go there?). There is no > distinction between ISP and LAN traffic at all... does that mean that > there is no other traffic than ISP from/to your HTB box? > > Does anyone know how HTB performs on such a line? My guess would be that > HTB doesn''t have a clue that there are actually only 115kbit, and thus > will allow classes to borrow too much, letting other classes starve. > > Andreas > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Andreas Klauer
2004-Oct-06 11:01 UTC
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
mjoachimiak@poczta.onet.pl wrote:> Your gues is right. To get HTB work correctly you must know rate parameter > for your connection also known as CIR. > Coud you tell what minimum rate your clients have?My worst HTB class has rate&ceil 778bps. I guess the lower the rate, the less accurate the result. It can''t be accurate, because the class already exceeds it''s limit by sending just one single packet. Maybe it''s more accurate in the long run, but I don''t have any statistics to prove that. Anyway, the traffic for that class is damn slow, and that''s all I need to know. ;-) Andreas _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
<mjoachimiak@poczta.onet.pl>
2004-Oct-07 07:53 UTC
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
> mjoachimiak@poczta.onet.pl wrote: > > Your gues is right. To get HTB work correctly you must know rateparameter> > for your connection also known as CIR. > > Coud you tell what minimum rate your clients have? > > My worst HTB class has rate&ceil 778bps. > > I guess the lower the rate, the less accurate the result. It can''t be > accurate, because the class already exceeds it''s limit by sending just > one single packet.I agree. As far as I know average MTU is 1500bytes. I have rate 13kbit/8=1625bytes so the limit should not be reached. Maybe there is overhead on ppp link and with this overhead clients gets congested? What do you think? Any ideas?> Maybe it''s more accurate in the long run, but I don''t have any > statistics to prove that. Anyway, the traffic for that class is damn > slow, and that''s all I need to know. ;-) > > Andreas >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Andy Furniss
2004-Oct-07 14:29 UTC
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
mjoachimiak@poczta.onet.pl wrote:> >>mjoachimiak@poczta.onet.pl wrote: >> >>>Your gues is right. To get HTB work correctly you must know rate > > parameter > >>>for your connection also known as CIR. >>>Coud you tell what minimum rate your clients have? >> >>My worst HTB class has rate&ceil 778bps. >> >>I guess the lower the rate, the less accurate the result. It can''t be >>accurate, because the class already exceeds it''s limit by sending just >>one single packet. > > I agree. As far as I know average MTU is 1500bytes. I have rate > 13kbit/8=1625bytes so the limit should not be reached. Maybe there is > overhead on ppp link and with this overhead clients gets congested? > What do you think? > Any ideas?Low rates seem OK for me. I don''t think relating packet size to rate in kbit/sec is the right way to think about things. A class with a low rate will send a packet and then not be able to send again for an amount of time which is (pre)calculated from packet size and rate. The time may be > 1 second, so things work out in the end. Andy.> >>Maybe it''s more accurate in the long run, but I don''t have any >>statistics to prove that. Anyway, the traffic for that class is damn >>slow, and that''s all I need to know. ;-) >> >>Andreas_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Apparently Analagous Threads
- What is the reccomended minimum rate for leaf htb class for accurate operation?
- Is it possible to shape variable bandwidth?
- shaping passive ftp traffic
- Re: Re: What is the reccomended minimum rate for leaf htb class foraccurate operation?
- Re: Re: HTB 3.13 please help