Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2012 18:49:15 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237817 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace
Message-ID:  <201206291849.q5TInFL3064347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206291849.q5TInFL3064347>