Created
September 12, 2012 17:20
-
-
Save chrisa/3708327 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * DTrace Tunable Variables | |
| * | |
| * The following variables may be tuned by adding a line to /etc/system that | |
| * includes both the name of the DTrace module ("dtrace") and the name of the | |
| * variable. For example: | |
| * | |
| * set dtrace:dtrace_destructive_disallow = 1 | |
| * | |
| * In general, the only variables that one should be tuning this way are those | |
| * that affect system-wide DTrace behavior, and for which the default behavior | |
| * is undesirable. Most of these variables are tunable on a per-consumer | |
| * basis using DTrace options, and need not be tuned on a system-wide basis. | |
| * When tuning these variables, avoid pathological values; while some attempt | |
| * is made to verify the integrity of these variables, they are not considered | |
| * part of the supported interface to DTrace, and they are therefore not | |
| * checked comprehensively. Further, these variables should not be tuned | |
| * dynamically via "mdb -kw" or other means; they should only be tuned via | |
| * /etc/system. | |
| */ | |
| int dtrace_destructive_disallow = 0; | |
| dtrace_optval_t dtrace_nonroot_maxsize = (16 * 1024 * 1024); | |
| size_t dtrace_difo_maxsize = (256 * 1024); | |
| dtrace_optval_t dtrace_dof_maxsize = (256 * 1024); | |
| 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 = 1024; | |
| dtrace_optval_t dtrace_helper_providers_max = 32; | |
| dtrace_optval_t dtrace_dstate_defsize = (1 * 1024 * 1024); | |
| size_t dtrace_strsize_default = 256; | |
| dtrace_optval_t dtrace_cleanrate_default = 9900990; /* 101 hz */ | |
| dtrace_optval_t dtrace_cleanrate_min = 200000; /* 5000 hz */ | |
| dtrace_optval_t dtrace_cleanrate_max = (uint64_t)60 * NANOSEC; /* 1/minute */ | |
| dtrace_optval_t dtrace_aggrate_default = NANOSEC; /* 1 hz */ | |
| dtrace_optval_t dtrace_statusrate_default = NANOSEC; /* 1 hz */ | |
| dtrace_optval_t dtrace_statusrate_max = (hrtime_t)10 * NANOSEC; /* 6/minute */ | |
| dtrace_optval_t dtrace_switchrate_default = NANOSEC; /* 1 hz */ | |
| dtrace_optval_t dtrace_nspec_default = 1; | |
| dtrace_optval_t dtrace_specsize_default = 32 * 1024; | |
| dtrace_optval_t dtrace_stackframes_default = 20; | |
| dtrace_optval_t dtrace_ustackframes_default = 20; | |
| dtrace_optval_t dtrace_jstackframes_default = 50; | |
| dtrace_optval_t dtrace_jstackstrsize_default = 512; | |
| int dtrace_msgdsize_max = 128; | |
| hrtime_t dtrace_chill_max = 500 * (NANOSEC / MILLISEC); /* 500 ms */ | |
| hrtime_t dtrace_chill_interval = NANOSEC; /* 1000 ms */ | |
| int dtrace_devdepth_max = 32; | |
| int dtrace_err_verbose; | |
| hrtime_t dtrace_deadman_interval = NANOSEC; | |
| hrtime_t dtrace_deadman_timeout = (hrtime_t)10 * NANOSEC; | |
| hrtime_t dtrace_deadman_user = (hrtime_t)30 * NANOSEC; | |
| hrtime_t dtrace_unregister_defunct_reap = (hrtime_t)60 * NANOSEC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment