|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>YaCy: Performace</title>
|
|
|
|
#[metas]#
|
|
|
|
</head>
|
|
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
|
|
#[header]#
|
|
|
|
<br><br>
|
|
|
|
<h2>Performance</h2>
|
|
|
|
<p>
|
|
|
|
<div class=small><b>Scheduled tasks overview and waiting time settings:</b></div>
|
|
|
|
<form action="Performance_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
|
|
<tr class="TableHeader" valign="bottom">
|
|
|
|
<td class="small">Thread</td>
|
|
|
|
<td class="small">Queue Size</td>
|
|
|
|
<td class="small" colspan="2">Total<br>Block Time</td>
|
|
|
|
<td class="small" colspan="2">Total<br>Sleep Time</td>
|
|
|
|
<td class="small" colspan="2">Total<br>Exec Time</td>
|
|
|
|
<td class="small">Total<br>Cycles</td>
|
|
|
|
<td class="small">Idle<br>Cycles</td>
|
|
|
|
<td class="small">Busy<br>Cycles</td>
|
|
|
|
<td class="small">Short Mem<br>Cycles</td>
|
|
|
|
<td class="small">Sleep Time<br>per Cycle<br>(milliseconds)</td>
|
|
|
|
<td class="small">Exec Time<br>per Busy-Cycle<br>(milliseconds)</td>
|
|
|
|
<td class="small">Delay between<br>idle loops</td>
|
|
|
|
<td class="small">Delay between<br>busy loops</td>
|
|
|
|
<td class="small">Minimum of<br>Required Memory</td>
|
|
|
|
<td class="small">Full Description</td>
|
|
|
|
</tr>
|
|
|
|
#{table}#
|
|
|
|
<tr class="TableCellDark">
|
|
|
|
<td class="small" align="left">#[shortdescr]#</td>
|
|
|
|
<td class="small" align="right">#[queuesize]#</td>
|
|
|
|
<td class="small" align="right">#[blocktime]# sec</td>
|
|
|
|
<td class="small" align="right">#[blockpercent]#%</td>
|
|
|
|
<td class="small" align="right">#[sleeptime]# sec</td>
|
|
|
|
<td class="small" align="right">#[sleeppercent]#%</td>
|
|
|
|
<td class="small" align="right">#[exectime]# sec</td>
|
|
|
|
<td class="small" align="right">#[execpercent]#%</td>
|
|
|
|
<td class="small" align="right">#[totalcycles]#</td>
|
|
|
|
<td class="small" align="right">#[idlecycles]#</td>
|
|
|
|
<td class="small" align="right">#[busycycles]#</td>
|
|
|
|
<td class="small" align="right">#[memscycles]#</td>
|
|
|
|
<td class="small" align="right">#[sleeppercycle]#</td>
|
|
|
|
<td class="small" align="right">#[execpercycle]#</td>
|
|
|
|
<td class="small" align="right"><input name="#[threadname]#_idlesleep" type="text" align="right" size="7" maxlength="7" value="#[idlesleep]#"> milliseconds</td>
|
|
|
|
<td class="small" align="right"><input name="#[threadname]#_busysleep" type="text" align="right" size="7" maxlength="7" value="#[busysleep]#"> milliseconds</td>
|
|
|
|
<td class="small" align="right"><input name="#[threadname]#_memprereq" type="text" align="right" size="8" maxlength="8" value="#[memprereq]#"> bytes</td>
|
|
|
|
<td class="small" align="left">#[longdescr]#</td>
|
|
|
|
</tr>
|
|
|
|
#{/table}#
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td class="small" align="left" colspan="16">
|
|
|
|
<input type="submit" name="delaysubmit" value="Submit New Delay Values">
|
|
|
|
Changes take effect immediately</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</p></form>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<div class=small><b>Indexing Cache Settings:</b></div>
|
|
|
|
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
|
|
|
<form action="Performance_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td width="120"></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td class=small>Words in RAM Cache:</td>
|
|
|
|
<td class=small>#[wordCacheRAMSize]#</td>
|
|
|
|
<td class=small>
|
|
|
|
This is the current size of the word cache.
|
|
|
|
The smaller this number, the faster will be the shut-down procedure.
|
|
|
|
The maximum of this cache can be set below.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td class=small>Maximum URLs currently assigned<br>to one cached word:</td>
|
|
|
|
<td class=small>#[maxURLinWordCache]#</td>
|
|
|
|
<td class=small>
|
|
|
|
This is the maximum size of URLs assigned to a single word cache entry.
|
|
|
|
If this is a big number, it shows that the caching works efficiently.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
#{assortmentCluster}#
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td class=small>Assortment #[assortmentSlot]#:</td>
|
|
|
|
<td class=small>#[assortmentSize]#</td>
|
|
|
|
<td class=small>Buffer for words appearing exactly on #[assortmentSlot]# different pages.</td>
|
|
|
|
</tr>
|
|
|
|
#{/assortmentCluster}#
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td class=small>Maximum number of Word Caches:</td>
|
|
|
|
<td class=small><input name="wordCacheMax" type="text" size="20" maxlength="100" value="#[wordCacheMax]#"></td>
|
|
|
|
<td class=small>
|
|
|
|
This is is the number of word indexes that shall be held in the
|
|
|
|
ram cache during indexing. When YaCy is shut down, this cache must be
|
|
|
|
flushed to disc; this may last some minutes.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<!--
|
|
|
|
<tr valign="top" class="TableCellDark">
|
|
|
|
<td class=small>Maximum waitingtime to flush word cache<br>during shut-down (seconds):</td>
|
|
|
|
<td class=small><input name="maxWaitingWordFlush" type="text" size="6" maxlength="6" value="#[maxWaitingWordFlush]#"></td>
|
|
|
|
<td class=small>
|
|
|
|
This gives the number of seconds that the shutdown
|
|
|
|
may last for the final word flush. Words that cannot be flushed within this
|
|
|
|
time are lost.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
-->
|
|
|
|
<tr valign="top" class="TableCellLight">
|
|
|
|
<td class=small colspan="3"><input type="submit" name="cacheSizeSubmit" value="Enter New Cache Size">
|
|
|
|
Changes take effect immediately</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</table>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class=small><b>Thread pool settings:</b></div>
|
|
|
|
<form action="Performance_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1" width="100%">
|
|
|
|
<tr class="TableHeader" valign="bottom">
|
|
|
|
<td class="small" width="150">Thread Pool</td>
|
|
|
|
<td class="small" width="80">maximum Active</td>
|
|
|
|
<td class="small" width="80">maximum Idle</td>
|
|
|
|
<td class="small" width="80">minimum Idle</td>
|
|
|
|
<td class="small">Full Description</td>
|
|
|
|
</tr>
|
|
|
|
#{pool}#
|
|
|
|
<tr class="TableCellDark">
|
|
|
|
<td class="small" align="left">#[name]#</td>
|
|
|
|
<td class="small" align="right"><input name="#[name]#_maxActive" type="text" size="8" maxlength="8" value="#[maxActive]#"></td>
|
|
|
|
<td class="small" align="right"><input name="#[name]#_maxIdle" type="text" size="8" maxlength="8" value="#[maxIdle]#"></td>
|
|
|
|
<td class="small" align="right"><input name="#[name]#_minIdle" type="text" size="8" maxlength="8" value="#[minIdle]#"></td>
|
|
|
|
<td class="small" align="left"></td>
|
|
|
|
</tr>
|
|
|
|
#{/pool}#
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td class="small" align="left" colspan="5">
|
|
|
|
<input type="submit" name="poolConfig" value="Enter new Threadpool Configuration">
|
|
|
|
Changes take effect immediately</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</p></form>
|
|
|
|
|
|
|
|
|
|
|
|
#[footer]#
|
|
|
|
</body>
|
|
|
|
</html>
|