public inbox for xdp-newbies@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: "Ethy H. Brito" <ethy.brito@inexo.com.br>
Cc: brouer@redhat.com, Rich Brown <richb.hanover@gmail.com>,
	"xdp-newbies@vger.kernel.org" <xdp-newbies@vger.kernel.org>,
	Robert Chacon <robert.chacon@jackrabbitwireless.com>,
	Yoel Caspersen <yoel@kviknet.dk>
Subject: Re: Traffic shaping at 10~300mbps at a 10Gbps link
Date: Thu, 17 Jun 2021 18:17:03 +0200	[thread overview]
Message-ID: <20210617181703.585ac78e@carbon> (raw)
In-Reply-To: <20210617121839.39aefb12@babalu>


(Reply inlined below, please learn howto reply inline)

On Thu, 17 Jun 2021 12:20:32 -0300
"Ethy H. Brito" <ethy.brito@inexo.com.br> wrote:

> Hi. mr. Brouer
> 
> I read your comment at lists.bufferbloat.net about my issue shaping traffic.

 https://lists.bufferbloat.net/pipermail/bloat/2021-June/016441.html
 
> I don't know how it ended up there since I opened it at LARTC, I am
> not a subscriber to bufferbloat list.

Yes, Rich (cc) moved your email to the bufferbloat list.  I just
pointed out that your reported issue was a classical TC root-queue
locking issue (as someone else mis-interpreted this).

I'm Cc'ing XDP-newbies list, as we should share our finding with the
community on how this TC-lock problem can be solve with XDP.


> About your XDP-project solution, how can I test it? 

There a two solutions in XDP-project involving TC-BPF in combination
with XDP.  The one you are talking about is:

 [2] https://github.com/xdp-project/xdp-cpumap-tc


> I read the "tc_mq_htb_setup_example.sh" script and did not understand
> it completely.

 [3] https://github.com/xdp-project/xdp-cpumap-tc/blob/master/bin/tc_mq_htb_setup_example.sh

> Do you think it will sove my problem?

Well, yes, *but* notice there are some "home-work" in the bottom of the
script.  You need to code-up the redirecting to the appropriate CPUs
yourself... it will be specific to your use-case if you can partition
the traffic to avoid the TC root-lock.

Can you explain you use-case for us?

> Would you help with my doubts so I can implementing it?

Let help each-other. It doesn't scale that I help on an individual
level.  That is why I bring this to the mailing list
(xdp-newbies@vger.kernel.org).  Also Cc'ing Yoel and Robert, that have
related interests in this.

I do acknowledge that the documentation in [2] is lacking. Perhaps a
goal should be that we add documentation on howto use it?

A longer term goal is to add contents to this almost empty repo:
 https://github.com/xdp-project/BNG-router

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer


       reply	other threads:[~2021-06-17 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210617121839.39aefb12@babalu>
2021-06-17 16:17 ` Jesper Dangaard Brouer [this message]
2021-06-17 17:57 Traffic shaping at 10~300mbps at a 10Gbps link Ethy H. Brito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210617181703.585ac78e@carbon \
    --to=brouer@redhat.com \
    --cc=ethy.brito@inexo.com.br \
    --cc=richb.hanover@gmail.com \
    --cc=robert.chacon@jackrabbitwireless.com \
    --cc=xdp-newbies@vger.kernel.org \
    --cc=yoel@kviknet.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox