diff options
author | Yafang Shao <[email protected]> | 2018-04-24 23:07:45 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-24 11:15:32 -0400 |
commit | a06ac0d67d9fda7c255476c6391032319030045d (patch) | |
tree | 8ed0839695d99367f1e75dc1968c422b91a340c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8399743a5a6796c8d5858ae3c5afc814201112d4 (diff) |
Revert "net: init sk_cookie for inet socket"
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions