diff options
| author | lotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-12-03 14:10:01 +0000 |
|---|---|---|
| committer | lotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2008-12-03 14:10:01 +0000 |
| commit | 5280ad638d97cfd0e225e53ff9e6074a0d05b4d4 (patch) | |
| tree | ed58d669a44721633fe57a098a71638306a164d2 /htroot/Performance_p.html | |
| parent | 1a51d9fcfdba3f922efdba4082bee6b3dc5ee05e (diff) | |
added basic performance page
other performance settings can be found on advanced settings
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5375 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/Performance_p.html')
| -rw-r--r-- | htroot/Performance_p.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/htroot/Performance_p.html b/htroot/Performance_p.html new file mode 100644 index 000000000..48476495c --- /dev/null +++ b/htroot/Performance_p.html @@ -0,0 +1,109 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>YaCy '#[clientname]#': Performance Settings</title>
+ #%env/templates/metas.template%#
+ <script type="text/javascript" src="js/html.js"></script>
+ </head>
+ <body id="PerformanceQueues">
+ <script type="text/javascript"><!--
+ function reloadGraph() {
+ if(document.forms["optionreloadGraph"].option.checked)
+ document.images["graph"].src="PerformanceGraph.png?time="+(new Date()).getTime();
+ window.status="";
+ }
+ window.setInterval("reloadGraph()", 1000);
+ //--></script>
+ #%env/templates/header.template%#
+ #%env/templates/submenuConfig.template%#
+ <h2>Performance Settings</h2>
+
+ <p><img src="PerformanceGraph.png" name="graph" alt="PerformanceGraph"/></p>
+ <p><form name="optionreloadGraph" action="" method="get"><input type="checkbox" name="option" id="autoreload"/> <label for="autoreload">refresh graph</label></form></p>
+
+
+ <form action="Performance_p.html" method="post" enctype="multipart/form-data">
+ <fieldset>
+ <legend>Memory Settings</legend>
+ <dl>
+ <dt><label for="Xmx">Memory reserved for JVM</label></dt>
+ <dd><input name="Xmx" id="Xmx" type="text" size="4" maxlength="4" value="#[Xmx]#" /> MByte
+ <input type="submit" name="setStartup" value="Set" />
+ #(setStartupCommit)#::<div class="commit">Accepted change. This will take effect after <strong>restart</strong> of YaCy</div>::<div class="error"></div>#(/setStartupCommit)#
+ </dd>
+ </dl>
+ </fieldset>
+ </form>
+
+ <form action="Performance_p.html" method="post" enctype="multipart/form-data">
+ <fieldset><legend>Use Default Profile:</legend>
+ <p>
+ <select name="defaultFile">
+ #{profile}#
+ <option value="#[filename]#"#(used)#:: selected="selected"#(/used)#>#[description]#</option>
+ #{/profile}#
+ </select>
+ and use
+ <select name="profileSpeed">
+ #{speed}#
+ <option value="#[value]#"#(used)#:: selected="selected"#(/used)#>#[label]#</option>
+ #{/speed}#
+ </select>
+ of the defined performance.
+ </p>
+ <p><input type="submit" name="submitdefault" value="Save" /> Changes take effect immediately</p>
+ </fieldset>
+ </form>
+
+ <form action="Performance_p.html" method="post" enctype="multipart/form-data">
+ <fieldset><legend>YaCy Priority Settings</legend>
+ <dl>
+ <dt><label for="priority">YaCy Process Priority</label>:</dt>
+ <dd><select id="priority" name="YaCyPriority">
+ <option value="0"#(priority_normal)#:: selected="selected"#(/priority_normal)#>Normal</option>
+ <option value="10"#(priority_below)#:: selected="selected"#(/priority_below)#>Below normal</option>
+ <option value="20"#(priority_low)#:: selected="selected"#(/priority_low)#>Idle</option>
+ </select></dd>
+ <dt><input type="submit" name="PrioritySubmit" value="Set new Priority" /></dt>
+ <dd>Changes take effect after <strong>restart</strong> of YaCy</dd>
+ </dl>
+ </fieldset>
+ </form>
+
+ <form action="Performance_p.html" method="post" enctype="multipart/form-data">
+ <fieldset><legend>Online Caution Settings:</legend>
+ <p>
+ This is the time that the crawler idles when the proxy is accessed, or a local or remote search is done.
+ The delay is extended by this time each time the proxy is accessed afterwards.
+ This shall improve performance of the affected process (proxy or search).
+ (current delta is #[crawlPauseProxyCurrent]#/#[crawlPauseLocalsearchCurrent]#/#[crawlPauseRemotesearchCurrent]#
+ seconds since last proxy/local-search/remote-search access.)
+ </p>
+ <table border="0" cellpadding="2" cellspacing="1">
+ <tr class="TableHeader" valign="bottom">
+ <td>Online Caution Case</td>
+ <td>indexer delay (milliseconds) after case occurency</td>
+ </tr>
+ <tr class="TableCellDark">
+ <td>Proxy:</td>
+ <td align="right"><input id="crawlPauseProxy" name="crawlPauseProxy" type="text" size="20" maxlength="100" value="#[crawlPauseProxy]#" /></td>
+ </tr>
+ <tr class="TableCellDark">
+ <td>Local Search:</td>
+ <td align="right"><input id="crawlPauseLocalsearch" name="crawlPauseLocalsearch" type="text" size="20" maxlength="100" value="#[crawlPauseLocalsearch]#" /></td>
+ </tr>
+ <tr class="TableCellDark">
+ <td>Remote Search:</td>
+ <td align="right"><input id="crawlPauseRemotesearch" name="crawlPauseRemotesearch" type="text" size="20" maxlength="100" value="#[crawlPauseRemotesearch]#" /></td>
+ </tr>
+ <tr class="TableCellLight">
+ <td align="left" colspan="2"><input type="submit" name="onlineCautionSubmit" value="Enter New Parameters" />
+ Changes take effect immediately</td>
+ </tr>
+ </table>
+ </fieldset>
+ </form>
+
+ #%env/templates/footer.template%#
+ </body>
+</html>
|
