svn commit: r237817 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

Pedro F. Giffuni pfg at FreeBSD.org
Fri Jun 29 18:49:15 UTC 2012


Author: pfg
Date: Fri Jun 29 18:49:14 2012
New Revision: 237817
URL: http://svn.freebsd.org/changeset/base/237817

Log:
  Bump dtrace_helper_actions_max from 32 to 128
  
  Dave Pacheco from Joyent (and Dtrace.org) bumped the cap to 1024 but,
  according to his blog, 128 is the recommended minimum.
  
  For now bump it safely to 128 although we may have to bump it further
  if there is demand in the future.
  
  Reference:
  
  http://www.illumos.org/issues/2558
  http://dtrace.org/blogs/dap/2012/01/50/where-does-your-node-program-spend-its-time/

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jun 29 18:39:31 2012	(r237816)
+++ head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jun 29 18:49:14 2012	(r237817)
@@ -157,7 +157,7 @@ dtrace_optval_t	dtrace_dof_maxsize = (25
 size_t		dtrace_global_maxsize = (16 * 1024);
 size_t		dtrace_actions_max = (16 * 1024);
 size_t		dtrace_retain_max = 1024;
-dtrace_optval_t	dtrace_helper_actions_max = 32;
+dtrace_optval_t	dtrace_helper_actions_max = 128;
 dtrace_optval_t	dtrace_helper_providers_max = 32;
 dtrace_optval_t	dtrace_dstate_defsize = (1 * 1024 * 1024);
 size_t		dtrace_strsize_default = 256;


More information about the svn-src-all mailing list