* [PATCH 0/5] bonding: Patchset for rcu use in bonding
@ 2013-08-28 4:20 Ding Tianhong
2013-08-29 14:28 ` Nikolay Aleksandrov
0 siblings, 1 reply; 3+ messages in thread
From: Ding Tianhong @ 2013-08-28 4:20 UTC (permalink / raw)
To: Jay Vosburgh, Andy Gospodarek, David S. Miller,
Nikolay Aleksandrov, Veaceslav Falico, Netdev
Hi:
The Patch Set convert the xmit of 3ad and alb mode to use rcu lock.
replace and add more rcu list function.
fix a bug to protect bonding_store_xmit_hash().
I test well and no problems found till now.
Ding Tianhong (3):
Wang Yufen (1):
Yang Yingliang (1):
bonding: simplify and use RCU protection for 3ad xmit path
bonding: replace read_lock to rcu_read_lock for
bond_3ad_get_active_agg_info()
bonding: add rtnl lock for bonding_store_xmit_hash
bonding: restructure and simplify bond_for_each_slave_next()
bonding: use RCU protection for alb xmit path
drivers/net/bonding/bond_3ad.c | 35 +++++++++++++++-------------------
drivers/net/bonding/bond_alb.c | 23 ++++++++++------------
drivers/net/bonding/bond_main.c | 6 ++----
drivers/net/bonding/bond_sysfs.c | 4 ++++
drivers/net/bonding/bonding.h | 41 ++++++++++++++++++++++++++++++++++++----
5 files changed, 68 insertions(+), 41 deletions(-)
--
1.8.2.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/5] bonding: Patchset for rcu use in bonding
2013-08-28 4:20 [PATCH 0/5] bonding: Patchset for rcu use in bonding Ding Tianhong
@ 2013-08-29 14:28 ` Nikolay Aleksandrov
2013-08-30 1:37 ` Ding Tianhong
0 siblings, 1 reply; 3+ messages in thread
From: Nikolay Aleksandrov @ 2013-08-29 14:28 UTC (permalink / raw)
To: Ding Tianhong
Cc: Jay Vosburgh, Andy Gospodarek, David S. Miller, Veaceslav Falico,
Netdev
On 08/28/2013 06:20 AM, Ding Tianhong wrote:
> Hi:
>
> The Patch Set convert the xmit of 3ad and alb mode to use rcu lock.
> replace and add more rcu list function.
> fix a bug to protect bonding_store_xmit_hash().
>
> I test well and no problems found till now.
>
> Ding Tianhong (3):
> Wang Yufen (1):
> Yang Yingliang (1):
> bonding: simplify and use RCU protection for 3ad xmit path
> bonding: replace read_lock to rcu_read_lock for
> bond_3ad_get_active_agg_info()
> bonding: add rtnl lock for bonding_store_xmit_hash
> bonding: restructure and simplify bond_for_each_slave_next()
> bonding: use RCU protection for alb xmit path
>
> drivers/net/bonding/bond_3ad.c | 35 +++++++++++++++-------------------
> drivers/net/bonding/bond_alb.c | 23 ++++++++++------------
> drivers/net/bonding/bond_main.c | 6 ++----
> drivers/net/bonding/bond_sysfs.c | 4 ++++
> drivers/net/bonding/bonding.h | 41 ++++++++++++++++++++++++++++++++++++----
> 5 files changed, 68 insertions(+), 41 deletions(-)
>
Thanks for the work, I was on vacation and travelling after my initial RCU
conversion so I got a little behind with these conversions, my idea was quite
different :-)
Anyway, I'd also appreciate some benchmarks, also some more information on what
type of testing did you run ?
I've given some preliminary comments to the patches, I'll have to think more
about them in this form.
Cheers,
Nik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/5] bonding: Patchset for rcu use in bonding
2013-08-29 14:28 ` Nikolay Aleksandrov
@ 2013-08-30 1:37 ` Ding Tianhong
0 siblings, 0 replies; 3+ messages in thread
From: Ding Tianhong @ 2013-08-30 1:37 UTC (permalink / raw)
To: Nikolay Aleksandrov
Cc: Jay Vosburgh, Andy Gospodarek, David S. Miller, Veaceslav Falico,
Netdev
On 2013/8/29 22:28, Nikolay Aleksandrov wrote:
> On 08/28/2013 06:20 AM, Ding Tianhong wrote:
>> Hi:
>>
>> The Patch Set convert the xmit of 3ad and alb mode to use rcu lock.
>> replace and add more rcu list function.
>> fix a bug to protect bonding_store_xmit_hash().
>>
>> I test well and no problems found till now.
>>
>> Ding Tianhong (3):
>> Wang Yufen (1):
>> Yang Yingliang (1):
>> bonding: simplify and use RCU protection for 3ad xmit path
>> bonding: replace read_lock to rcu_read_lock for
>> bond_3ad_get_active_agg_info()
>> bonding: add rtnl lock for bonding_store_xmit_hash
>> bonding: restructure and simplify bond_for_each_slave_next()
>> bonding: use RCU protection for alb xmit path
>>
>> drivers/net/bonding/bond_3ad.c | 35 +++++++++++++++-------------------
>> drivers/net/bonding/bond_alb.c | 23 ++++++++++------------
>> drivers/net/bonding/bond_main.c | 6 ++----
>> drivers/net/bonding/bond_sysfs.c | 4 ++++
>> drivers/net/bonding/bonding.h | 41 ++++++++++++++++++++++++++++++++++++----
>> 5 files changed, 68 insertions(+), 41 deletions(-)
>>
> Thanks for the work, I was on vacation and travelling after my initial RCU
> conversion so I got a little behind with these conversions, my idea was quite
> different :-)
> Anyway, I'd also appreciate some benchmarks, also some more information on what
> type of testing did you run ?
> I've given some preliminary comments to the patches, I'll have to think more
> about them in this form.
>
> Cheers,
> Nik
>
> .
It looks like a wonderful vocation :).
I focus on the 3ad and alb mode, because the modify was manly for xmit, so my test environment was consist of 4 Intel82599 10G card, and use mode lacp ,alb.
I use iperf to test, after the patch, the performance was a little better and no problem
occurs.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-30 1:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28 4:20 [PATCH 0/5] bonding: Patchset for rcu use in bonding Ding Tianhong
2013-08-29 14:28 ` Nikolay Aleksandrov
2013-08-30 1:37 ` Ding Tianhong
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).