]> sourceware.org Git - systemtap.git/commit
PR28804: tune default stap -s ## buffer size on small RAM machines
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 26 Jan 2022 19:10:38 +0000 (14:10 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 26 Jan 2022 19:10:38 +0000 (14:10 -0500)
commit7d46a51f0045df26ec8e0527173b3376066d6318
tree205450f8095dc260aa527a2989062285b7f8f581
parent195be1b52651cf4a736bb7fe671ca7070f95fe55
PR28804: tune default stap -s ## buffer size on small RAM machines

Insert a forgotten division by num_online_cpu() to adjust downward the
calculated bufsize.  Tweak normal defaults back to 128 * 2 * 64K
(16MB) per CPU, as the stap man page indicates.  This may need further
tweaking when balancing against staprun consumption performance, but
at least we have the docs lined up with the code at the moment.
runtime/transport/transport.c
This page took 0.028436 seconds and 5 git commands to generate.