[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180819.111140.2282097352981887816.davem@davemloft.net>
Date: Sun, 19 Aug 2018 11:11:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lirongqing@...du.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][net-next] vxlan: reduce dirty cache line in
vxlan_find_mac
From: Li RongQing <lirongqing@...du.com>
Date: Sun, 19 Aug 2018 11:36:08 +0800
> vxlan_find_mac() unconditionally set f->used for every packet,
> this cause a cache miss for every packet, since remote, hlist
> and used of vxlan_fdb share the same cacheline.
>
> With this change f->used is set only if not equal to jiffies
> This gives up to 5% speed-up with small packets.
>
> Signed-off-by: Zhang Yu <zhangyu31@...du.com>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
Please resubmit this when the net-next tree opens back up.
Thanks.
Powered by blists - more mailing lists