Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-07 Thread Andy Furniss
[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-07 Thread mjoachimiak


> [EMAIL PROTECTED] 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?
> 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-06 Thread Andreas Klauer
[EMAIL PROTECTED] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-06 Thread mjoachimiak
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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. 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 / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-06 Thread Andreas Klauer
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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/