[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180424.111010.555462525376521518.davem@davemloft.net>
Date: Tue, 24 Apr 2018 11:10:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: laoar.shao@...il.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] Revert "net: init sk_cookie for inet
socket"
From: Yafang Shao <laoar.shao@...il.com>
Date: Tue, 24 Apr 2018 23:07:45 +0800
> This reverts commit <c6849a3ac17e> ("net: init sk_cookie for inet socket")
>
> Per discussion with Eric, when update sock_net(sk)->cookie_gen, the
> whole cache cache line will be invalidated, as this cache line is shared
> with all cpus, that may cause great performace hit.
>
> Bellow is the data form Eric.
> "Performance is reduced from ~5 Mpps to ~3.8 Mpps with 16 RX queues on
> my host" when running synflood test.
>
> Have to revert it to prevent from cache line false sharing.
>
> Signed-off-by: Yafang Shao <laoar.shao@...il.com>
Applied, thank you.
Powered by blists - more mailing lists