* [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc [not found] ` <20171101222425.293b80ce@shemminger-XPS-13-9360> @ 2017-11-01 21:41 ` Dave Taht 2017-11-02 7:07 ` Jonathan Morton 0 siblings, 1 reply; 5+ messages in thread From: Dave Taht @ 2017-11-01 21:41 UTC (permalink / raw) To: Cake List cbs shaper... ---------- Forwarded message ---------- From: Stephen Hemminger <stephen@networkplumber.org> Date: Wed, Nov 1, 2017 at 2:24 PM Subject: Re: [iproute2 1/2] tc: Add support for the CBS qdisc To: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: davem@davemloft.net, Vinicius Costa Gomes <vinicius.gomes@intel.com>, netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com, jogreene@redhat.com On Thu, 26 Oct 2017 10:17:48 -0700 Jeff Kirsher <jeffrey.t.kirsher@intel.com> wrote: > From: Vinicius Costa Gomes <vinicius.gomes@intel.com> > > The Credit Based Shaper (CBS) queueing discipline allows bandwidth > reservation with sub-milisecond precision. It is defined by the > 802.1Q-2014 specification (section 8.6.8.2 and Annex L). > > The syntax is: > > tc qdisc add dev DEV parent NODE cbs locredit <LOCREDIT> > hicredit <HICREDIT> sendslope <SENDSLOPE> > idleslope <IDLESLOPE> > > (The order is not important) > > Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> > Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Applied to net-next branch (now that CBS is upstream in kernel). -- Dave Täht CEO, TekLibre, LLC http://www.teklibre.com Tel: 1-669-226-2619 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc 2017-11-01 21:41 ` [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc Dave Taht @ 2017-11-02 7:07 ` Jonathan Morton 2017-11-02 17:51 ` Dave Taht 0 siblings, 1 reply; 5+ messages in thread From: Jonathan Morton @ 2017-11-02 7:07 UTC (permalink / raw) To: Dave Taht; +Cc: Cake List [-- Attachment #1: Type: text/plain, Size: 125 bytes --] The name is certainly intriguing, but just look at all those parameters! Cake's shaper doesn't need them. - Jonathan Morton [-- Attachment #2: Type: text/html, Size: 177 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc 2017-11-02 7:07 ` Jonathan Morton @ 2017-11-02 17:51 ` Dave Taht 2017-11-02 18:17 ` Jonathan Morton 0 siblings, 1 reply; 5+ messages in thread From: Dave Taht @ 2017-11-02 17:51 UTC (permalink / raw) To: Jonathan Morton; +Cc: Dave Taht, Cake List Jonathan Morton <chromatix99@gmail.com> writes: > The name is certainly intriguing, but just look at all those parameters! Cake's > shaper doesn't need them. It's a "standard". I'd rather like to benchmark that vs cake in terms of cpu and effectiveness. > > - Jonathan Morton > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc 2017-11-02 17:51 ` Dave Taht @ 2017-11-02 18:17 ` Jonathan Morton 2017-11-02 20:25 ` Dave Taht 0 siblings, 1 reply; 5+ messages in thread From: Jonathan Morton @ 2017-11-02 18:17 UTC (permalink / raw) To: Dave Täht; +Cc: Dave Taht, Cake List [-- Attachment #1: Type: text/plain, Size: 415 bytes --] I looked up how it's supposed to work. Seems like it relies on a fixed bandwidth underlying link, and piggybacks on its clocks to maintain the associated state in realtime. Obviously designed to be implemented in hardware using an adder and an accumulator, rather than on a CPU. The parameters required are a direct reflection of what such hardware requires, and are not at all user friendly. - Jonathan Morton [-- Attachment #2: Type: text/html, Size: 496 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc 2017-11-02 18:17 ` Jonathan Morton @ 2017-11-02 20:25 ` Dave Taht 0 siblings, 0 replies; 5+ messages in thread From: Dave Taht @ 2017-11-02 20:25 UTC (permalink / raw) To: Jonathan Morton; +Cc: Dave Taht, Cake List Jonathan Morton <chromatix99@gmail.com> writes: > I looked up how it's supposed to work. > > Seems like it relies on a fixed bandwidth underlying link, and piggybacks on its > clocks to maintain the associated state in realtime. Obviously designed to be > implemented in hardware using an adder and an accumulator, rather than > on a CPU. > > The parameters required are a direct reflection of what such hardware requires, > and are not at all user friendly. Well, having just heard of it, I'm building it as part of my next build of net-next. I would certainly like to be able to pour much of cake into hardware. We've got billions of spare transistors nowadays.... > - Jonathan Morton ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-11-02 20:25 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20171026171749.45134-1-jeffrey.t.kirsher@intel.com> [not found] ` <20171026171749.45134-2-jeffrey.t.kirsher@intel.com> [not found] ` <20171101222425.293b80ce@shemminger-XPS-13-9360> 2017-11-01 21:41 ` [Cake] Fwd: [iproute2 1/2] tc: Add support for the CBS qdisc Dave Taht 2017-11-02 7:07 ` Jonathan Morton 2017-11-02 17:51 ` Dave Taht 2017-11-02 18:17 ` Jonathan Morton 2017-11-02 20:25 ` Dave Taht
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox