All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: jaedon.shin@gmail.com, linux-kernel@vger.kernel.org,
	eric.dumazet@gmail.com, pgynther@google.com
Subject: Re: [PATCH v2] net: bcmgenet: fix throughtput regression
Date: Fri, 27 Feb 2015 14:19:02 -0800	[thread overview]
Message-ID: <54F0ED56.8040201@gmail.com> (raw)
In-Reply-To: <20150227.171043.1173553752636358034.davem@davemloft.net>

On 27/02/15 14:10, David Miller wrote:
> From: Florian Fainelli <f.fainelli@gmail.com>
> Date: Fri, 27 Feb 2015 09:38:12 -0800
> 
>> On 27/02/15 06:27, Jaedon Shin wrote:
>>> This patch adds bcmgenet_tx_poll for all active tx_rings. It can reduce
>>> the interrupt load and send xmit in upper network stack on time.
>>>
>>> The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] process only under 18
>>> descriptors is to late reclaiming transmitted skb. Therefore,
>>> performance degradation of xmit after 605ad7f ("tcp: refine TSO
>>> autosizing").
>>
>> This looks very similar to my previous attempts at using NAPI for TX
>> completion, thanks for doing this.
>>
>> One thing you are not mentioning in your commit message is that ring16
>> used to be reclaimed/cleaned as part of the shared RX/TX NAPI context
>> (bcmgenet_poll), while you are now dedicating one and using
>> bcmgenet_tx_poll() for reclaim. This is a big enough change in the
>> driver structure that deserves to be reflected in the commit message.
>>
>>>
>>> Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> Besides needing an updated commit message, this overlaps with a
> cleanup patch in my queue from Petri Gynther that touches the same
> exact code.
> 
> 	http://patchwork.ozlabs.org/patch/443604/
> 
> How would you guys like me to sort this all out?  Drop Petri's
> change for now?

If you can take Petri's change now and Jaedon then resubmits on top of
that change, would that be acceptable?
-- 
Florian

  reply	other threads:[~2015-02-27 22:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 14:27 [PATCH v2] net: bcmgenet: fix throughtput regression Jaedon Shin
2015-02-27 17:22 ` Eric Dumazet
2015-02-27 17:38 ` Florian Fainelli
2015-02-27 22:10   ` David Miller
2015-02-27 22:19     ` Florian Fainelli [this message]
2015-02-27 22:38       ` David Miller
2015-02-27 22:41         ` Florian Fainelli

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=54F0ED56.8040201@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=jaedon.shin@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pgynther@google.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 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.