All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: questiona about CBQ algorithm in Linux
@ 2002-09-06 18:31 kuznet
  2002-09-09 18:05 ` yuxiao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kuznet @ 2002-09-06 18:31 UTC (permalink / raw)
  To: lartc

Hello!

> average), how about  Linux implemenatation about estimator? 
> also do you have link for this algorithm? I canot find it.

The questions are answered in papers, references are in comments
in sch_cbq.c, look at http://www.icir.org/floyd/cbq.html


> 3. In linux how CBQ measure used bandwidth per class? does it measure
> bandwith bits/sec?

No, it does not measure bandwdith at all. Read papers, please.


> 7. Can HTB do the same job as CBQ right now, can HTB do borrow ? 

Yes, it does. And does it better than CBQ.

Alexey
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* [LARTC] Re: questiona about CBQ algorithm in Linux
  2002-09-06 18:31 [LARTC] Re: questiona about CBQ algorithm in Linux kuznet
@ 2002-09-09 18:05 ` yuxiao
  2002-09-09 18:28 ` kuznet
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: yuxiao @ 2002-09-09 18:05 UTC (permalink / raw)
  To: lartc

Hello Alex

Sorry for my stubborn question. I read the S.Floyd paer "Link-sharing and
resource mamagement...." On page 5, they said" The estimator estimates the
bandwidth used byeach class over the appropriate time interval, to determine
whether or not each class has been receiveing its link -sharing
bandwidth..."

Also as I know CBQ building block, they have general scheduler, link-sharing
scheduler, estimater, classifier etc. complonents.

This is why I ask you how about its implementation in linux. I read the
sch_cbq.c comments, not quite sure one line" Linux has no EOI event, so that
we ca not estimater true idle class idle time..."
what's EOI event, This is why in Linux, CBQ canot measure bandwidth?

regards

yuxiao
----- Original Message -----
From: <kuznet@ms2.inr.ac.ru>
To: "yuxiao" <yxjia@site.uottawa.ca>
Cc: <lartc@mailman.ds9a.nl>; <stef.coene@docum.org>
Sent: Friday, September 06, 2002 11:31 AM
Subject: Re: questiona about CBQ algorithm in Linux


> Hello!
>
> > average), how about  Linux implemenatation about estimator? 
> > also do you have link for this algorithm? I canot find it.
>
> The questions are answered in papers, references are in comments
> in sch_cbq.c, look at http://www.icir.org/floyd/cbq.html
>
>
> > 3. In linux how CBQ measure used bandwidth per class? does it measure
> > bandwith bits/sec?
>
> No, it does not measure bandwdith at all. Read papers, please.
>
>
> > 7. Can HTB do the same job as CBQ right now, can HTB do borrow ? 
>
> Yes, it does. And does it better than CBQ.
>
> Alexey

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* [LARTC] Re: questiona about CBQ algorithm in Linux
  2002-09-06 18:31 [LARTC] Re: questiona about CBQ algorithm in Linux kuznet
  2002-09-09 18:05 ` yuxiao
@ 2002-09-09 18:28 ` kuznet
  2002-09-09 21:52 ` Martin Devera
  2002-09-09 21:53 ` Martin Devera
  3 siblings, 0 replies; 5+ messages in thread
From: kuznet @ 2002-09-09 18:28 UTC (permalink / raw)
  To: lartc

Hello!

> Sorry for my stubborn question. I read the S.Floyd paer "Link-sharing and
> resource mamagement...." On page 5, they said" The estimator estimates the
> bandwidth used byeach class over the appropriate time interval, to determine
> whether or not each class has been receiveing its link -sharing
> bandwidth..."

Appendix A.


> sch_cbq.c comments, not quite sure one line" Linux has no EOI event, so that
> we ca not estimater true idle class idle time..."
> what's EOI event, This is why in Linux, CBQ canot measure bandwidth?

No. No OSes have "EOI event". :-)

CBQ does not measure bandwidth because it does not need it. Period.
Listen, please, do not waste your time for useless phylosophical meditations,
read the paper instead.

Alexey
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Re: questiona about CBQ algorithm in Linux
  2002-09-06 18:31 [LARTC] Re: questiona about CBQ algorithm in Linux kuznet
  2002-09-09 18:05 ` yuxiao
  2002-09-09 18:28 ` kuznet
@ 2002-09-09 21:52 ` Martin Devera
  2002-09-09 21:53 ` Martin Devera
  3 siblings, 0 replies; 5+ messages in thread
From: Martin Devera @ 2002-09-09 21:52 UTC (permalink / raw)
  To: lartc

Hi yuxiao,

On Mon, 9 Sep 2002, yuxiao wrote:

> Hello Alex
>
> Sorry for my stubborn question. I read the S.Floyd paer "Link-sharing and
> resource mamagement...." On page 5, they said" The estimator estimates the
> bandwidth used byeach class over the appropriate time interval, to determine
> whether or not each class has been receiveing its link -sharing
> bandwidth..."
>
> Also as I know CBQ building block, they have general scheduler, link-sharing
> scheduler, estimater, classifier etc. complonents.
>
> This is why I ask you how about its implementation in linux. I read the
> sch_cbq.c comments, not quite sure one line" Linux has no EOI event, so that
> we ca not estimater true idle class idle time..."
> what's EOI event, This is why in Linux, CBQ canot measure bandwidth?

Alexey meant EndOfInterrupt probably - the timepoint when
a packet finally leaved NIC. It is needed to compute and
measure inderpacket times - these are used as guide whether
are we over/underlimit.
When I started to write first HTB version I spent one YEAR
of thinking - so that don't expect to understand all nuances
so fast :)
The main problems when implementing CBQ as described in Floyd
paper (Appendix A - interpacked delay measure) is that you
don;t have precise time reference. Alexey used trick in sch_cbq
- used NIC as time source ;)
HTB is direct implementation of Floyd's formal sharing and
uses leaky buckets as estimators - they are not so sensitive
to less precise timing.
Also you should note that original CBQ really didn't measure
bw, it rather tries to correct deviations from expected interpacket
delay.

regards, devik

> regards
>
> yuxiao
> ----- Original Message -----
> From: <kuznet@ms2.inr.ac.ru>
> To: "yuxiao" <yxjia@site.uottawa.ca>
> Cc: <lartc@mailman.ds9a.nl>; <stef.coene@docum.org>
> Sent: Friday, September 06, 2002 11:31 AM
> Subject: Re: questiona about CBQ algorithm in Linux
>
>
> > Hello!
> >
> > > average), how about  Linux implemenatation about estimator? 
> > > also do you have link for this algorithm? I canot find it.
> >
> > The questions are answered in papers, references are in comments
> > in sch_cbq.c, look at http://www.icir.org/floyd/cbq.html
> >
> >
> > > 3. In linux how CBQ measure used bandwidth per class? does it measure
> > > bandwith bits/sec?
> >
> > No, it does not measure bandwdith at all. Read papers, please.
> >
> >
> > > 7. Can HTB do the same job as CBQ right now, can HTB do borrow ? 
> >
> > Yes, it does. And does it better than CBQ.
> >
> > Alexey
>
> _______________________________________________
> 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/

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

* Re: [LARTC] Re: questiona about CBQ algorithm in Linux
  2002-09-06 18:31 [LARTC] Re: questiona about CBQ algorithm in Linux kuznet
                   ` (2 preceding siblings ...)
  2002-09-09 21:52 ` Martin Devera
@ 2002-09-09 21:53 ` Martin Devera
  3 siblings, 0 replies; 5+ messages in thread
From: Martin Devera @ 2002-09-09 21:53 UTC (permalink / raw)
  To: lartc

heh you was a bit faster Alexey ;-)

On Mon, 9 Sep 2002 kuznet@ms2.inr.ac.ru wrote:

> Hello!
>
> > Sorry for my stubborn question. I read the S.Floyd paer "Link-sharing and
> > resource mamagement...." On page 5, they said" The estimator estimates the
> > bandwidth used byeach class over the appropriate time interval, to determine
> > whether or not each class has been receiveing its link -sharing
> > bandwidth..."
>
> Appendix A.
>
>
> > sch_cbq.c comments, not quite sure one line" Linux has no EOI event, so that
> > we ca not estimater true idle class idle time..."
> > what's EOI event, This is why in Linux, CBQ canot measure bandwidth?
>
> No. No OSes have "EOI event". :-)
>
> CBQ does not measure bandwidth because it does not need it. Period.
> Listen, please, do not waste your time for useless phylosophical meditations,
> read the paper instead.
>
> Alexey
> _______________________________________________
> 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/

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

end of thread, other threads:[~2002-09-09 21:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 18:31 [LARTC] Re: questiona about CBQ algorithm in Linux kuznet
2002-09-09 18:05 ` yuxiao
2002-09-09 18:28 ` kuznet
2002-09-09 21:52 ` Martin Devera
2002-09-09 21:53 ` Martin Devera

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.