summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2026-07-08 12:29:04 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-07-21 12:11:06 +0200
commit30c82aa0a8b116989bc4d8f75e1936bd83c0134e (patch)
tree6e04e3757ae07cf956ea76087a163b6988d576a0 /tools/perf/scripts/python/stackcollapse.py
parent2a12c05aef213ff304ecc9e2f351de20731946b8 (diff)
vsock/test: add test for small packets under pressure
Add a test that sends 2 MB of data using randomly sized small packets (129-512 bytes) over a SOCK_STREAM connection. Packets above GOOD_COPY_LEN (128) bypass the in-place coalescing in recv_enqueue(), forcing each one into its own skb. Without receive queue collapsing, the per-skb overhead eventually exceeds buf_alloc and the connection is reset. The test verifies that all data arrives and that content integrity is preserved. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Bobby Eshleman <bobbyeshleman@meta.com> Link: https://patch.msgid.link/20260708102904.50732-3-sgarzare@redhat.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions