netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: Yunsheng Lin <linyunsheng@huawei.com>
Cc: davem@davemloft.net, kuba@kernel.org, a.fatoum@pengutronix.de,
	vladimir.oltean@nxp.com, ast@kernel.org, daniel@iogearbox.net,
	andriin@fb.com, edumazet@google.com, weiwan@google.com,
	cong.wang@bytedance.com, ap420073@gmail.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linuxarm@openeuler.org, mkl@pengutronix.de,
	linux-can@vger.kernel.org, jhs@mojatatu.com,
	xiyou.wangcong@gmail.com, jiri@resnulli.us, andrii@kernel.org,
	kafai@fb.com, songliubraving@fb.com, yhs@fb.com,
	john.fastabend@gmail.com, kpsingh@kernel.org,
	bpf@vger.kernel.org, jonas.bonn@netrounds.com, pabeni@redhat.com,
	mzhivich@akamai.com, johunt@akamai.com, albcamus@gmail.com,
	kehuan.feng@gmail.com, atenart@kernel.org,
	alexander.duyck@gmail.com, hdanton@sina.com, jgross@suse.com,
	JKosina@suse.com, mkubecek@suse.cz, bjorn@kernel.org,
	alobakin@pm.me
Subject: Re: [Linuxarm] [PATCH RFC v4 0/3] Some optimization for lockless qdisc
Date: Fri, 21 May 2021 17:14:06 +0300	[thread overview]
Message-ID: <20210521141406.mmxv4ikfp4zfkcwo@skbuf> (raw)
In-Reply-To: <20210520134652.2sw6gzfdzsqeedzz@skbuf>

On Thu, May 20, 2021 at 04:46:52PM +0300, Vladimir Oltean wrote:
> Hi Yunsheng,
> 
> On Thu, May 20, 2021 at 05:45:14PM +0800, Yunsheng Lin wrote:
> > On 2021/5/20 17:27, Yunsheng Lin wrote:
> > > Patch 1: remove unnecessary seqcount operation.
> > > Patch 2: implement TCQ_F_CAN_BYPASS.
> > > Patch 3: remove qdisc->empty.
> > > 
> > > RFC v4: Use STATE_MISSED and STATE_DRAINING to indicate non-empty
> > >         qdisc, and add patch 1 and 3.
> > 
> > @Vladimir, Ahmad
> > It would be good to run your testcase to see if there are any
> > out of order for this version, because this version has used
> > STATE_MISSED and STATE_DRAINING to indicate non-empty qdisc,
> > thanks.
> > 
> > It is based on newest net branch with qdisc stuck patchset.
> > 
> > Some performance data as below:
> > 
> > pktgen + dummy netdev:
> >  threads  without+this_patch   with+this_patch      delta
> >     1       2.60Mpps            3.18Mpps             +22%
> >     2       3.84Mpps            5.72Mpps             +48%
> >     4       5.52Mpps            5.52Mpps             +0.0%
> >     8       2.77Mpps            2.81Mpps             +1.4%
> >    16       2.24Mpps            2.29Mpps             +2.2%
> > 
> > IP forward testing: 1.05Mpps increases to 1.15Mpps
> 
> I will start the regression test with the flexcan driver on LS1028A and
> let you know tomorrow or so if there is any TX reordering issue.

14 million CAN frames later, I did not observe any TX reordering at all.

      reply	other threads:[~2021-05-21 14:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  9:27 [PATCH RFC v4 0/3] Some optimization for lockless qdisc Yunsheng Lin
2021-05-20  9:27 ` [PATCH RFC v4 1/3] net: sched: avoid unnecessary seqcount operation " Yunsheng Lin
2021-05-20  9:27 ` [PATCH RFC v4 2/3] net: sched: implement TCQ_F_CAN_BYPASS " Yunsheng Lin
2021-05-20  9:27 ` [PATCH RFC v4 3/3] net: sched: remove qdisc->empty " Yunsheng Lin
2021-05-20  9:45 ` [Linuxarm] [PATCH RFC v4 0/3] Some optimization " Yunsheng Lin
2021-05-20 13:46   ` Vladimir Oltean
2021-05-21 14:14     ` Vladimir Oltean [this message]

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=20210521141406.mmxv4ikfp4zfkcwo@skbuf \
    --to=olteanv@gmail.com \
    --cc=JKosina@suse.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=albcamus@gmail.com \
    --cc=alexander.duyck@gmail.com \
    --cc=alobakin@pm.me \
    --cc=andrii@kernel.org \
    --cc=andriin@fb.com \
    --cc=ap420073@gmail.com \
    --cc=ast@kernel.org \
    --cc=atenart@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=cong.wang@bytedance.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hdanton@sina.com \
    --cc=jgross@suse.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=john.fastabend@gmail.com \
    --cc=johunt@akamai.com \
    --cc=jonas.bonn@netrounds.com \
    --cc=kafai@fb.com \
    --cc=kehuan.feng@gmail.com \
    --cc=kpsingh@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@openeuler.org \
    --cc=linyunsheng@huawei.com \
    --cc=mkl@pengutronix.de \
    --cc=mkubecek@suse.cz \
    --cc=mzhivich@akamai.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=songliubraving@fb.com \
    --cc=vladimir.oltean@nxp.com \
    --cc=weiwan@google.com \
    --cc=xiyou.wangcong@gmail.com \
    --cc=yhs@fb.com \
    /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;
as well as URLs for NNTP newsgroup(s).