diff options
| author | Eric Dumazet <[email protected]> | 2021-01-28 08:21:45 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-29 20:59:53 -0800 |
| commit | 0d6cd689f9ba47deffffe9dfd204843ce8f1a51e (patch) | |
| tree | 3e5c70083f679eb9054fa4f4d8ff2aa026ea278b /tools/perf/scripts/python | |
| parent | df610cd9163b90adc3b5c23868089a0349580551 (diff) | |
net: proc: speedup /proc/net/netstat
Use cache friendly helpers to better use cpu caches
while reading /proc/net/netstat
Tested on a platform with 256 threads (AMD Rome)
Before: 305 usec spent in netstat_seq_show()
After: 130 usec spent in netstat_seq_show()
Signed-off-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions