Angelo Rajadurai
2010-Apr-27 20:28 UTC
[dtrace-discuss] dtrace_dof_maxsize parameter and its effects
Hi All: Need some advice on the dtrace_dof_maxsize parameter. I have a script that is hitting the DOF size limits. Changing the "dtrace_dof_maxsize" from 256K to 512K in /etc/system fixes my immediate problem. We are planing to extensively use my D-script. So just want to make sure that it is reasonably safe to increasing dtrace_dof_maxsize system wide. My gut feel is that this should be okay as dtrace_dof_maxsize is just used as a check to see if the DOF size is reasonable. http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/dtrace/dtrace.c#11005 Also does anyone see a problem modifying this using mdb -k. I''m just concerned about the ominous warning about it in dtrace.c http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/dtrace/dtrace.c#96 Finally does it make sense to increase the default for dtrace_dof_mazsize from 256K to 512K. We are now seeing larger and larger D-scripts. I can file an RFE if this sounds reasonable. Thanks Angelo