All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] leaky bucket on bursty multicast
@ 2006-02-15 12:42 Oivind
  2006-03-01 21:03 ` Andy Furniss
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Oivind @ 2006-02-15 12:42 UTC (permalink / raw)
  To: lartc

Hi all,
I have an average 2mbit multicast stream that once in a while bursts
high (up to 20mbit/s) in short periods (about 200ms). Could anyone
please help me with directions using tc for configuing leaky bucket
shaping to this stream? I have a 5mbit/s ceiling.

My system is running gentoo linux 2.6.14, and I have compiled in all
QoS modules.


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

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

* Re: [LARTC] leaky bucket on bursty multicast
  2006-02-15 12:42 [LARTC] leaky bucket on bursty multicast Oivind
@ 2006-03-01 21:03 ` Andy Furniss
  2006-03-08 16:05 ` Oivind
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Furniss @ 2006-03-01 21:03 UTC (permalink / raw)
  To: lartc

Oivind wrote:
> Hi all,
> I have an average 2mbit multicast stream that once in a while bursts
> high (up to 20mbit/s) in short periods (about 200ms). Could anyone
> please help me with directions using tc for configuing leaky bucket
> shaping to this stream? I have a 5mbit/s ceiling.
> 
> My system is running gentoo linux 2.6.14, and I have compiled in all
> QoS modules.

I suppose it depends what you want to do with the burst ie. propogate it 
,smooth it without loss or drop packets to maintain  a rate.

Andy.

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

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

* Re: [LARTC] leaky bucket on bursty multicast
  2006-02-15 12:42 [LARTC] leaky bucket on bursty multicast Oivind
  2006-03-01 21:03 ` Andy Furniss
@ 2006-03-08 16:05 ` Oivind
  2006-04-07 22:03 ` Andy Furniss
  2006-05-24 11:18 ` Oivind
  3 siblings, 0 replies; 5+ messages in thread
From: Oivind @ 2006-03-08 16:05 UTC (permalink / raw)
  To: lartc

On 3/1/06, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
> Oivind wrote:
> > Hi all,
> > I have an average 2mbit multicast stream that once in a while bursts
> > high (up to 20mbit/s) in short periods (about 200ms). Could anyone
> > please help me with directions using tc for configuing leaky bucket
> > shaping to this stream? I have a 5mbit/s ceiling.
> >
> > My system is running gentoo linux 2.6.14, and I have compiled in all
> > QoS modules.
>
> I suppose it depends what you want to do with the burst ie. propogate it
> ,smooth it without loss or drop packets to maintain  a rate.

I would like to smooth the bursts out at the ceiling bandwidth without
any packet drops (unless an unacceptable lengthy burst of course).

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

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

* Re: [LARTC] leaky bucket on bursty multicast
  2006-02-15 12:42 [LARTC] leaky bucket on bursty multicast Oivind
  2006-03-01 21:03 ` Andy Furniss
  2006-03-08 16:05 ` Oivind
@ 2006-04-07 22:03 ` Andy Furniss
  2006-05-24 11:18 ` Oivind
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Furniss @ 2006-04-07 22:03 UTC (permalink / raw)
  To: lartc

Oivind wrote:
> On 3/1/06, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
> 
>>Oivind wrote:
>>
>>>Hi all,
>>>I have an average 2mbit multicast stream that once in a while bursts
>>>high (up to 20mbit/s) in short periods (about 200ms). Could anyone
>>>please help me with directions using tc for configuing leaky bucket
>>>shaping to this stream? I have a 5mbit/s ceiling.
>>>
>>>My system is running gentoo linux 2.6.14, and I have compiled in all
>>>QoS modules.
>>
>>I suppose it depends what you want to do with the burst ie. propogate it
>>,smooth it without loss or drop packets to maintain  a rate.
> 
> 
> I would like to smooth the bursts out at the ceiling bandwidth without
> any packet drops (unless an unacceptable lengthy burst of course).

Sorry for not replying earlier, I lost this one.

What you want should be OK with htb/tbf/hfsc ratelimiting at 5meg - just 
choose a leaf queue/buffer length that can absorb the burst.

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

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

* Re: [LARTC] leaky bucket on bursty multicast
  2006-02-15 12:42 [LARTC] leaky bucket on bursty multicast Oivind
                   ` (2 preceding siblings ...)
  2006-04-07 22:03 ` Andy Furniss
@ 2006-05-24 11:18 ` Oivind
  3 siblings, 0 replies; 5+ messages in thread
From: Oivind @ 2006-05-24 11:18 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 1784 bytes --]

Thanks for replying :)
I have been playing a bit with the following setup, but unfortunately I
am confused about how to specify the queue length of my multicast class
below, to absorb the small bursts seen. It would be great with an example,
for example with a megabyte buffer.

# QDISC
tc qdisc replace dev eth3 root handle 1: htb default 30

# CLASSES
# root class
tc class replace dev eth3 parent 1:  classid 1:1  htb rate 5mbit ceil 5mbit
burst 50Kb cburst 100Kb
# multicast class
tc class replace dev eth3 parent 1:1 classid 1:15 htb rate 5mbit ceil 5mbit
burst 50Kb cburst 100Kb
# other traffic
tc class replace dev eth3 parent 1:1 classid 1:30 htb rate 1mbit ceil 5mbit

#filters here (not shown)


Thanks,
Oivind



On 4/8/06, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
>
> Oivind wrote:
> > On 3/1/06, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:
> >
> >>Oivind wrote:
> >>
> >>>Hi all,
> >>>I have an average 2mbit multicast stream that once in a while bursts
> >>>high (up to 20mbit/s) in short periods (about 200ms). Could anyone
> >>>please help me with directions using tc for configuing leaky bucket
> >>>shaping to this stream? I have a 5mbit/s ceiling.
> >>>
> >>>My system is running gentoo linux 2.6.14, and I have compiled in all
> >>>QoS modules.
> >>
> >>I suppose it depends what you want to do with the burst ie. propogate it
> >>,smooth it without loss or drop packets to maintain  a rate.
> >
> >
> > I would like to smooth the bursts out at the ceiling bandwidth without
> > any packet drops (unless an unacceptable lengthy burst of course).
>
> Sorry for not replying earlier, I lost this one.
>
> What you want should be OK with htb/tbf/hfsc ratelimiting at 5meg - just
> choose a leaf queue/buffer length that can absorb the burst.
>
> Andy.
>

[-- Attachment #1.2: Type: text/html, Size: 2488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

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

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

end of thread, other threads:[~2006-05-24 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 12:42 [LARTC] leaky bucket on bursty multicast Oivind
2006-03-01 21:03 ` Andy Furniss
2006-03-08 16:05 ` Oivind
2006-04-07 22:03 ` Andy Furniss
2006-05-24 11:18 ` Oivind

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.