Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\ratug\dbr_replay014.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Calibrating Replay Clients</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1.1 Build 005" /> <meta name="date" content="2009-06-04T10:50:31Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Calibrating Replay Clients" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E12254-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="dbr_replay013.htm" title="Previous" type="text/html" /> <link rel="next" href="dbr_replay015.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="dbr_replay013.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="dbr_replay015.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDFDGBD" name="CHDFDGBD"></a><a id="RATUG144" name="RATUG144"></a></p> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h1>Calibrating Replay Clients</h1> <a name="BEGIN" id="BEGIN"></a> <p>Since one replay client can initiate multiple sessions with the database, it is not necessary to start a replay client for each session that was captured. The number of replay clients that need to be started depends on the number of workload streams, the number of hosts, and the number of replay clients for each host.</p> <p>To estimate the number of replay clients and hosts that are required to replay a particular workload, run the wrc executable in calibrate mode.</p> <p>In calibration mode, the wrc executable accepts the following keywords:</p> <ul> <li> <p><code>replaydir</code> specifies the directory that contains the preprocessed workload capture you want to replay. If unspecified, it defaults to the current directory.</p> </li> <li> <p><code>process_per_cpu</code> specifies the maximum number of client processes that can run per CPU. The default value is 4.</p> </li> <li> <p><code>threads_per_process</code> specifies the maximum number of thread that can run within a client process. The default value is 50.</p> </li> </ul> <p>The following example shows how to run the wrc executable in calibrate mode:</p> <pre xml:space="preserve" class="oac_no_warn"> %> wrc mode=calibrate replaydir=./replay </pre> <p>In this example, the wrc executable is executed to estimate the number of replay clients and hosts that are required to replay the workload capture stored in a subdirectory named <code>replay</code> under the current directory. In the following sample output, the recommendation is to use at least 21 replay clients divided among 6 CPUs:</p> <pre xml:space="preserve" class="oac_no_warn"> Workload Replay Client: Release 11.2.0.0.2 - Production on Fri May 1 13:06:33 2009 Copyright (c) 1982, 2009, Oracle. All rights reserved. Report for Workload in: /oracle/replay/ ----------------------- Recommendation: Consider using at least 21 clients divided among 6 CPU(s). Workload Characteristics: - max concurrency: 1004 sessions - total number of sessions: 1013 Assumptions: - 1 client process per 50 concurrent sessions - 4 client process per CPU - think time scale = 100 - connect time scale = 100 - synchronization = TRUE </pre> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="dbr_replay013.htm#CHDICJHE">Setting Up Replay Clients</a></p> </div> </div> <!-- class="sect3" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2008, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="dbr_replay013.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="dbr_replay015.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de