diff options
author | 2022-01-25 11:25:22 +0000 | |
---|---|---|
committer | 2022-01-25 11:25:22 +0000 | |
commit | 51d555cfdcc60436850f75daa6e379ba08e7a68c (patch) | |
tree | f989ea5f702b3dadd7d38739768d443129534913 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'ionic-fw-recovery' (diff) | |
parent | ipv4/tcp: do not use per netns ctl sockets (diff) | |
download | linux-dev-51d555cfdcc60436850f75daa6e379ba08e7a68c.tar.xz linux-dev-51d555cfdcc60436850f75daa6e379ba08e7a68c.zip |
Merge branch 'netns-speedup-dismantle'
Eric Dumazet says:
====================
netns: speedup netns dismantles
netns are dismantled by a single thread, from cleanup_net()
On hosts with many TCP sockets, and/or many cpus, this thread
is spending too many cpu cycles, and can not keep up with some
workloads.
- Removing 3*num_possible_cpus() sockets per netns, for icmp and tcp protocols.
- Iterating over all TCP sockets to remove stale timewait sockets.
This patch series removes ~50% of cleanup_net() cpu costs on
hosts with 256 cpus. It also reduces per netns memory footprint.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions