diff options
author | Coco Li <[email protected]> | 2023-12-04 20:12:31 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-05 20:16:05 -0800 |
commit | d5fed5addb2b6bc13035de4338b7ea2052a2e006 (patch) | |
tree | d8eff8b24b9e07bdc177d6a2f08684b3f0425b31 /tools/perf/scripts/python/gecko.py | |
parent | 43a71cd66b9c0a4af3d15d8644359fde35bdbed0 (diff) |
tcp: reorganize tcp_sock fast path variables
The variables are organized according in the following way:
- TX read-mostly hotpath cache lines
- TXRX read-mostly hotpath cache lines
- RX read-mostly hotpath cache lines
- TX read-write hotpath cache line
- TXRX read-write hotpath cache line
- RX read-write hotpath cache line
Fastpath cachelines end after rcvq_space.
Cache line boundaries are enforced only between read-mostly and
read-write. That is, if read-mostly tx cachelines bleed into
read-mostly txrx cachelines, we do not care. We care about the
boundaries between read and write cachelines because we want
to prevent false sharing.
Fast path variables span cache lines before change: 12
Fast path variables span cache lines after change: 8
Suggested-by: Eric Dumazet <[email protected]>
Reviewed-by: Wei Wang <[email protected]>
Signed-off-by: Coco Li <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions