All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tbf latency problems!
@ 2005-04-06 15:04 Alaios
  2005-04-09 20:28 ` Andy Furniss
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alaios @ 2005-04-06 15:04 UTC (permalink / raw)
  To: lartc

Hi i have found a problem related with tbf and the
latency that the tbf calculates.. I have used the
following parameters for burst and limit
burst 100Kbit limit 500Kbit  lat81.8ms
burst 6Kbit   limit 6Kbit    lat 0us
burst 200Kbit limit 100Kbit  lat 4294.9s

As u can see in the 3rd column the latency for 100Kbit
burst and 500Kbit limit is 81.8ms but for 200Kbit and
limit 100Kbit is 4294.9s!!! How  could be possible???
I want to find a way to caclulate the latency for a
packet entering my tbf.. What do u suggest me to do?

Ah! I use the tc -s qdisc ls dev eth1 command for the
tbf statistics



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] tbf latency problems!
  2005-04-06 15:04 [LARTC] tbf latency problems! Alaios
@ 2005-04-09 20:28 ` Andy Furniss
  2005-04-13  9:17 ` Alaios
  2005-04-18 13:12 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-04-09 20:28 UTC (permalink / raw)
  To: lartc

Alaios wrote:
> Hi i have found a problem related with tbf and the
> latency that the tbf calculates.. I have used the
> following parameters for burst and limit
> burst 100Kbit limit 500Kbit  lat81.8ms
> burst 6Kbit   limit 6Kbit    lat 0us
> burst 200Kbit limit 100Kbit  lat 4294.9s

What is the full command you used to get those?

> 
> As u can see in the 3rd column the latency for 100Kbit
> burst and 500Kbit limit is 81.8ms but for 200Kbit and
> limit 100Kbit is 4294.9s!!! How  could be possible???
> I want to find a way to caclulate the latency for a
> packet entering my tbf.. What do u suggest me to do?

latency is worked out from rate and limit (you can also specify latency 
and let tbf work out limit (it approximates, though)).

> 
> Ah! I use the tc -s qdisc ls dev eth1 command for the
> tbf statistics

Could be a stats bug that is fixed now, what kernel/tc version do you use.

Andy.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] tbf latency problems!
  2005-04-06 15:04 [LARTC] tbf latency problems! Alaios
  2005-04-09 20:28 ` Andy Furniss
@ 2005-04-13  9:17 ` Alaios
  2005-04-18 13:12 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Alaios @ 2005-04-13  9:17 UTC (permalink / raw)
  To: lartc

thx for your answer... i use the 2.6.10 vanilla
kernel.. i have downloaded two weeks ago the latest
iproute2.

I have installed tbf with the following command

$tc qdisc add dev $DEV parent 2:1 tbf rate $EF_RATE
burst $EF_BURST mtu $EF_MTU limit $EF_LIMIT

and i have got the results using 
tc -s qdisc ls dev eth1

I dont really think that i have done something wrong
for taking such calculation errors for the latency...

I plan to measure  the latency  this week with the
appropriate scenario.. Tell me if u want to send you a
short description of my scenario and of  course of my
results about the limit and the latency.
Thx in advance... 
I would to contribute for the lartc... that's all

--- Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
> Alaios wrote:
> > Hi i have found a problem related with tbf and the
> > latency that the tbf calculates.. I have used the
> > following parameters for burst and limit
> > burst 100Kbit limit 500Kbit  lat81.8ms
> > burst 6Kbit   limit 6Kbit    lat 0us
> > burst 200Kbit limit 100Kbit  lat 4294.9s
> 
> What is the full command you used to get those?
> 
> > 
> > As u can see in the 3rd column the latency for
> 100Kbit
> > burst and 500Kbit limit is 81.8ms but for 200Kbit
> and
> > limit 100Kbit is 4294.9s!!! How  could be
> possible???
> > I want to find a way to caclulate the latency for
> a
> > packet entering my tbf.. What do u suggest me to
> do?
> 
> latency is worked out from rate and limit (you can
> also specify latency 
> and let tbf work out limit (it approximates,
> though)).
> 
> > 
> > Ah! I use the tc -s qdisc ls dev eth1 command for
> the
> > tbf statistics
> 
> Could be a stats bug that is fixed now, what
> kernel/tc version do you use.
> 
> Andy.
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] tbf latency problems!
  2005-04-06 15:04 [LARTC] tbf latency problems! Alaios
  2005-04-09 20:28 ` Andy Furniss
  2005-04-13  9:17 ` Alaios
@ 2005-04-18 13:12 ` Andy Furniss
  2 siblings, 0 replies; 4+ messages in thread
From: Andy Furniss @ 2005-04-18 13:12 UTC (permalink / raw)
  To: lartc

Alaios wrote:
> thx for your answer... i use the 2.6.10 vanilla
> kernel.. i have downloaded two weeks ago the latest
> iproute2.
> 
> I have installed tbf with the following command
> 
> $tc qdisc add dev $DEV parent 2:1 tbf rate $EF_RATE
> burst $EF_BURST mtu $EF_MTU limit $EF_LIMIT
> 
> and i have got the results using 
> tc -s qdisc ls dev eth1
> 

I will try if you give me all the numbers you used.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-18 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 15:04 [LARTC] tbf latency problems! Alaios
2005-04-09 20:28 ` Andy Furniss
2005-04-13  9:17 ` Alaios
2005-04-18 13:12 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.