]> sourceware.org Git - systemtap.git/commitdiff
RHBZ1892179: double default UTRACE_TASK_WORKPOOL
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 13 Nov 2020 17:36:07 +0000 (12:36 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 13 Nov 2020 17:36:07 +0000 (12:36 -0500)
Some workloads were observed to exhaust the previous limit of 288.

runtime/stp_utrace.c

index 46ba489231329e2ff64c67e79ff5ef0286cf81d2..6022267fa3aede2883439005d99f993480c29bad 100644 (file)
@@ -141,7 +141,7 @@ struct __stp_utrace_task_work { /* NB: about 216 bytes, 18 per page: */
    TODO: UTRACE_TASK_WORK_POOL_SIZE can be specified on the Systemtap
    command line. Experiment to find the best default value. */
 #ifndef UTRACE_TASK_WORK_POOL_SIZE
-#define UTRACE_TASK_WORK_POOL_SIZE 288
+#define UTRACE_TASK_WORK_POOL_SIZE 576
 #endif
 static DECLARE_BITMAP(__stp_utrace_task_work_pool_bitmap, UTRACE_TASK_WORK_POOL_SIZE);
 static struct __stp_utrace_task_work __stp_utrace_task_work_pool[UTRACE_TASK_WORK_POOL_SIZE];
This page took 0.02873 seconds and 5 git commands to generate.