All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bandwidth control on htb
@ 2005-05-28 15:37 Fatih Düzova
  2005-05-30 15:08 ` Andy Furniss
  2005-06-10  0:07 ` Andy Furniss
  0 siblings, 2 replies; 3+ messages in thread
From: Fatih Düzova @ 2005-05-28 15:37 UTC (permalink / raw)
  To: lartc

Hi,
I implemented queues on some ports with htb by filtering. and to have
a constant bw, i defined rate and ceil the same. But while watching
the bw's, I ve realized they may sometimes exceed the defined value
for short periods. How could I avoid this situation? I thought that
implementing a leaky bucket'd be fine but i m not sure about this and
how to do it on tc.
I would be glad if anyone could help me. Thanks,

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

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

* Re: [LARTC] bandwidth control on htb
  2005-05-28 15:37 [LARTC] bandwidth control on htb Fatih Düzova
@ 2005-05-30 15:08 ` Andy Furniss
  2005-06-10  0:07 ` Andy Furniss
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2005-05-30 15:08 UTC (permalink / raw)
  To: lartc

Fatih Düzova wrote:
> Hi,
> I implemented queues on some ports with htb by filtering. and to have
> a constant bw, i defined rate and ceil the same. But while watching
> the bw's, I ve realized they may sometimes exceed the defined value
> for short periods.

How are you measuring this and what rates do you use?

> How could I avoid this situation? I thought that
> implementing a leaky bucket'd be fine but i m not sure about this and
> how to do it on tc.
> I would be glad if anyone could help me. Thanks,

There are a few things you can do - I don't know if you really need to.

You could specify burst 10b cburst 10b quantum 1500 on the leaf classes.

There is also a setting - HYSTERESIS in the defines in 
net/sched/sch_htb.c that when changed to 0 (need to recompile 
kernel/module) makes htb a bit more accurate - though I never noticed it 
affecting rates as such.

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

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

* Re: [LARTC] bandwidth control on htb
  2005-05-28 15:37 [LARTC] bandwidth control on htb Fatih Düzova
  2005-05-30 15:08 ` Andy Furniss
@ 2005-06-10  0:07 ` Andy Furniss
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2005-06-10  0:07 UTC (permalink / raw)
  To: lartc

Andy Furniss wrote:
> Fatih Düzova wrote:
> 
>> Hi,
>> I implemented queues on some ports with htb by filtering. and to have
>> a constant bw, i defined rate and ceil the same. But while watching
>> the bw's, I ve realized they may sometimes exceed the defined value
>> for short periods.
> 
> 
> How are you measuring this and what rates do you use?

If you are looking at the tc counters then it will look bursty as they 
report the enque packets/bytes not dequeue - use tcpdump to see dequeue.

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

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

end of thread, other threads:[~2005-06-10  0:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-28 15:37 [LARTC] bandwidth control on htb Fatih Düzova
2005-05-30 15:08 ` Andy Furniss
2005-06-10  0:07 ` 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.