From: Frank Ch. Eigler Date: Fri, 13 Nov 2020 17:36:07 +0000 (-0500) Subject: RHBZ1892179: double default UTRACE_TASK_WORKPOOL X-Git-Tag: release-4.5~151 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=83cb271b390a1b36abd4c3aa69f89c466e99e253;p=systemtap.git RHBZ1892179: double default UTRACE_TASK_WORKPOOL Some workloads were observed to exhaust the previous limit of 288. --- diff --git a/runtime/stp_utrace.c b/runtime/stp_utrace.c index 46ba48923..6022267fa 100644 --- a/runtime/stp_utrace.c +++ b/runtime/stp_utrace.c @@ -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];