lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54F0ED56.8040201@gmail.com>
Date:	Fri, 27 Feb 2015 14:19:02 -0800
From:	Florian Fainelli <f.fainelli@...il.com>
To:	David Miller <davem@...emloft.net>
CC:	jaedon.shin@...il.com, linux-kernel@...r.kernel.org,
	eric.dumazet@...il.com, pgynther@...gle.com
Subject: Re: [PATCH v2] net: bcmgenet: fix throughtput regression

On 27/02/15 14:10, David Miller wrote:
> From: Florian Fainelli <f.fainelli@...il.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@...il.com>
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ