28.11.2014 Views

Performance Tuning Guide - EMC Community Network

Performance Tuning Guide - EMC Community Network

Performance Tuning Guide - EMC Community Network

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Measuring <strong>Performance</strong><br />

Execute the business transaction — After the log file (specified as dam_prefix in the preceding<br />

dfc.properties file) shows up in the logs directory, run your transaction. After completion of the<br />

transaction, turn off DFC tracing and make a copy of the trace file.<br />

Turn off DFC tracing — Turn off DFC tracing by disabling tracing, as shown in the following in<br />

dfc.properties file:<br />

# tracing<br />

dfc.tracing.enable=false<br />

dfc.tracing.file_prefix=dam_prefix<br />

dfc.tracing.include_rpcs=true<br />

dfc.tracing.include_session_id=true<br />

dfc.tracing.max_stack_depth=0<br />

dfc.tracing.mode=compact<br />

dfc.tracing.timing_style=seconds<br />

dfc.tracing.verbose=true<br />

dfc.tracing.verbosity=verbose<br />

Determining RPC call source<br />

To determine the location of RPC calls, configure your \WEB-<br />

INF\classes\log4j.properties and dfc.properties files to have the stack trace of the call<br />

sent to the $DOCUMENTUM\log4j.log file as follows:<br />

1. Turn on debugging in your log4.properties file as follows:<br />

Note: You can use the following listing for all your log4j settings.<br />

log4j.rootCategory=DEBUG, Console, File<br />

log4j.category.MUTE=OFF<br />

log4j.additivity.tracing=false<br />

log4j.appender.Console=org.apache.log4j.ConsoleAppender<br />

log4j.appender.Console.threshold=WARN<br />

log4j.appender.Console.layout=org.apache.log4j.PatternLayout<br />

log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %m%n<br />

log4j.appender.File=org.apache.log4j.RollingFileAppender<br />

log4j.appender.File.File=C:/documentum/logs/log4j.log<br />

log4j.appender.File.MaxFileSize=100MB<br />

log4j.appender.File.layout=org.apache.log4j.PatternLayout<br />

log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %m%n<br />

2. Modify your dfc.properties file as follows:<br />

Note: A large max_stack_depth is not necessary.<br />

a. Update the application server dfc.properties file to enable tracing.<br />

b. Set the method_name_filter to match the method calls to be captured.<br />

c. Disable DEBUG messaging for the filter of interest by setting the log category to a string not<br />

configured for debugging in the log4j.properties file.<br />

For example:<br />

dfc.tracing.enable=true<br />

dfc.tracing.verbose=true<br />

<strong>EMC</strong> Documentum xCP 1.0 <strong>Performance</strong> <strong>Tuning</strong> <strong>Guide</strong> 73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!