- reverted last change partly, can't handle the template system

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2793 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 19 years ago
parent b5e40e2fa2
commit 98a84ddb12

@ -96,7 +96,7 @@
<td>Default Max</td> <td>Default Max</td>
<td>Best Max</td> <td>Best Max</td>
</tr> </tr>
#(useRWICache)#::
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">RWI Assortment Cluster</td> <td align="left">RWI Assortment Cluster</td>
<td align="right">#[slreqRWI]#</td> <td align="right">#[slreqRWI]#</td>
@ -116,7 +116,7 @@
<td align="left">The Assortment Cluster stores most of the page indexes. <td align="left">The Assortment Cluster stores most of the page indexes.
Flushing speed of the temporary RWI cache depends on the size of this file cache. Increasing the space of this Flushing speed of the temporary RWI cache depends on the size of this file cache. Increasing the space of this
cache will speed up crawls with a depth > 3.</td> cache will speed up crawls with a depth > 3.</td>
</tr>#(/useRWICache)# </tr>
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">HTTP Response Header</td> <td align="left">HTTP Response Header</td>
@ -158,7 +158,7 @@
<td align="left">This is the database that holds the hash/url - relation and properties regarding the url like load date and server date. <td align="left">This is the database that holds the hash/url - relation and properties regarding the url like load date and server date.
This cache is very important for a fast search process. Increasing the cache size will result in more search results and less IO during DHT transfer.</td> This cache is very important for a fast search process. Increasing the cache size will result in more search results and less IO during DHT transfer.</td>
</tr> </tr>
#(usePreNURLCache)#::
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">'pre-noticed' URLs</td> <td align="left">'pre-noticed' URLs</td>
<td align="right">#[slreqPreNURL]#</td> <td align="right">#[slreqPreNURL]#</td>
@ -176,7 +176,7 @@
<td align="right">#[dfltPreNURL]#</td> <td align="right">#[dfltPreNURL]#</td>
<td align="right">#[bestPreNURL]#</td> <td align="right">#[bestPreNURL]#</td>
<td align="left"></td> <td align="left"></td>
</tr>#(/usePreNURLCache)# </tr>
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">'noticed' URLs</td> <td align="left">'noticed' URLs</td>
@ -196,8 +196,8 @@
<td align="right">#[bestNURL]#</td> <td align="right">#[bestNURL]#</td>
<td align="left">A noticed URL is one that was discovered during crawling but was not loaded yet. <td align="left">A noticed URL is one that was discovered during crawling but was not loaded yet.
Increasing the cache size will result in faster double-check during URL recognition when doing crawls.</td> Increasing the cache size will result in faster double-check during URL recognition when doing crawls.</td>
</tr> </tr>
#(useEURLCache)#::
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">'error' URLs</td> <td align="left">'error' URLs</td>
<td align="right">#[slreqEURL]#</td> <td align="right">#[slreqEURL]#</td>
@ -216,7 +216,7 @@
<td align="right">#[bestEURL]#</td> <td align="right">#[bestEURL]#</td>
<td align="left">URLs that cannot be loaded are stored in this database. It is also used for double-checked during crawling. <td align="left">URLs that cannot be loaded are stored in this database. It is also used for double-checked during crawling.
Increasing the cache size will most probably speed up crawling slightly, but not significantly.</td> Increasing the cache size will most probably speed up crawling slightly, but not significantly.</td>
</tr>#(/useEURLCache)# </tr>
<tr class="TableCellDark"> <tr class="TableCellDark">
<td align="left">DHT Control</td> <td align="left">DHT Control</td>

@ -166,18 +166,14 @@ public class PerformanceMemory_p {
currTotal = 0; currTotal = 0;
dfltTotal = 0; dfltTotal = 0;
bestTotal = 0; bestTotal = 0;
if (sb.wordIndex.useCollectionIndex) { req = sb.wordIndex.size();
prop.put("useRWICache", 0); chk = sb.wordIndex.assortmentsCacheChunkSizeAvg();
} else { obj = sb.wordIndex.assortmentsCacheObjectSizeAvg();
req = sb.wordIndex.size(); slt = sb.wordIndex.assortmentsCacheNodeStatus();
chk = sb.wordIndex.assortmentsCacheChunkSizeAvg(); ost = sb.wordIndex.assortmentsCacheObjectStatus();
obj = sb.wordIndex.assortmentsCacheObjectSizeAvg(); putprop(prop, env, "RWI", set);
slt = sb.wordIndex.assortmentsCacheNodeStatus();
ost = sb.wordIndex.assortmentsCacheObjectStatus();
putprop(prop, env, "RWI", set);
}
req = sb.cacheManager.dbSize(); req = sb.cacheManager.dbSize();
chk = sb.cacheManager.cacheNodeChunkSize(); chk = sb.cacheManager.cacheNodeChunkSize();
obj = sb.cacheManager.cacheObjectChunkSize(); obj = sb.cacheManager.cacheObjectChunkSize();
@ -192,16 +188,12 @@ public class PerformanceMemory_p {
ost = sb.urlPool.loadedURL.cacheObjectStatus(); ost = sb.urlPool.loadedURL.cacheObjectStatus();
putprop(prop, env, "LURL", set); putprop(prop, env, "LURL", set);
if (sb.sbStackCrawlThread.getDBType() != de.anomic.plasma.plasmaCrawlStacker.QUEUE_DB_TYPE_TREE) { req = sb.sbStackCrawlThread.size();
prop.put("usePreNURLCache", 0); chk = sb.sbStackCrawlThread.cacheNodeChunkSize();
} else { obj = sb.sbStackCrawlThread.cacheObjectChunkSize();
req = sb.sbStackCrawlThread.size(); slt = sb.sbStackCrawlThread.cacheNodeStatus();
chk = sb.sbStackCrawlThread.cacheNodeChunkSize(); ost = sb.sbStackCrawlThread.cacheObjectStatus();
obj = sb.sbStackCrawlThread.cacheObjectChunkSize(); putprop(prop, env, "PreNURL", set);
slt = sb.sbStackCrawlThread.cacheNodeStatus();
ost = sb.sbStackCrawlThread.cacheObjectStatus();
putprop(prop, env, "PreNURL", set);
}
req = sb.urlPool.noticeURL.size(); req = sb.urlPool.noticeURL.size();
chk = sb.urlPool.noticeURL.cacheNodeChunkSize(); chk = sb.urlPool.noticeURL.cacheNodeChunkSize();
@ -210,16 +202,12 @@ public class PerformanceMemory_p {
ost = sb.urlPool.noticeURL.cacheObjectStatus(); ost = sb.urlPool.noticeURL.cacheObjectStatus();
putprop(prop, env, "NURL", set); putprop(prop, env, "NURL", set);
if (sb.urlPool.errorURL.getUseNewDB()) { req = sb.urlPool.errorURL.size();
prop.put("useEURLCache", 0); chk = sb.urlPool.errorURL.cacheNodeChunkSize();
} else { obj = sb.urlPool.errorURL.cacheObjectChunkSize();
req = sb.urlPool.errorURL.size(); slt = sb.urlPool.errorURL.cacheNodeStatus();
chk = sb.urlPool.errorURL.cacheNodeChunkSize(); ost = sb.urlPool.errorURL.cacheObjectStatus();
obj = sb.urlPool.errorURL.cacheObjectChunkSize(); putprop(prop, env, "EURL", set);
slt = sb.urlPool.errorURL.cacheNodeStatus();
ost = sb.urlPool.errorURL.cacheObjectStatus();
putprop(prop, env, "EURL", set);
}
req = yacyCore.seedDB.sizeConnected() + yacyCore.seedDB.sizeDisconnected() + yacyCore.seedDB.sizePotential(); req = yacyCore.seedDB.sizeConnected() + yacyCore.seedDB.sizeDisconnected() + yacyCore.seedDB.sizePotential();
chk = yacyCore.seedDB.cacheNodeChunkSize(); chk = yacyCore.seedDB.cacheNodeChunkSize();

Loading…
Cancel
Save