]> sourceware.org Git - systemtap.git/commit
PR28449: runtime/transport: bump up _stp_subbuf_size to 64K
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 15 Nov 2021 02:59:05 +0000 (21:59 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 15 Nov 2021 02:59:05 +0000 (21:59 -0500)
commit193da50838ce7e4e115d79dfcb120cddd50e98fa
tree7c747ebd8f3e66fea787eddc6252a5cc51e5b206
parent0425c60d7eed27437c5f83d79612786e50aed8ba
PR28449: runtime/transport: bump up _stp_subbuf_size to 64K

After commit cd48874296, it was reported that the kernel-side I/O
buffers could be exhausted more easily by the some tests in the
testsuite.  This resulted in "bufhdr corrupted ..." type messages
coming from the syscall.exp test case for example.

We bump up the $subject variable, so without "stap -s XYZ", the
default kernel->user transport will consist of 256 subbufs of 64K
each, per cpu.  (When a user does supply -s XYZ, the number gets
overridden, and the subbuf size may be quite a bit larger.)  With the
new default, the syscall.exp suite runs bufhdr-clean on an 8cpu box.
runtime/transport/transport.c
This page took 0.026509 seconds and 5 git commands to generate.