Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
higher dht distribution speed by default
lotusec2970cc7680
diff --git a/defaults/performance_dht.profile b/defaults/performance_dht.profileindex 8aa6d42cc..b24e6197e 100644--- a/defaults/performance_dht.profile+++ b/defaults/performance_dht.profile@@ -12,24 +12,21 @@# and another idlesleep is performed20_dhtdistribution_idlesleep=5000-20_dhtdistribution_busysleep=2000+20_dhtdistribution_busysleep=50020_dhtdistribution_memprereq=12582912-50_localcrawl_idlesleep=4000-50_localcrawl_busysleep=50+50_localcrawl_idlesleep=2000+50_localcrawl_busysleep=6050_localcrawl_memprereq=1258291250_localcrawl_isPaused=false-60_remotecrawlloader_idlesleep=120000-60_remotecrawlloader_busysleep=60000+60_remotecrawlloader_idlesleep=60000+60_remotecrawlloader_busysleep=1000060_remotecrawlloader_memprereq=1258291260_remotecrawlloader_isPaused=false-62_remotetriggeredcrawl_idlesleep=60000-62_remotetriggeredcrawl_busysleep=10000+62_remotetriggeredcrawl_idlesleep=10000+62_remotetriggeredcrawl_busysleep=200062_remotetriggeredcrawl_memprereq=1258291262_remotetriggeredcrawl_isPaused=false80_indexing_idlesleep=1000-80_indexing_busysleep=10+80_indexing_busysleep=080_indexing_memprereq=12582912-82_crawlstack_idlesleep=5000-82_crawlstack_busysleep=1-82_crawlstack_memprereq=1048576diff --git a/defaults/yacy.init b/defaults/yacy.initindex 69d6e3263..a2ca90d95 100644--- a/defaults/yacy.init+++ b/defaults/yacy.init@@ -570,8 +570,8 @@ filterOutStopwordsFromTopwords=true# the prereq-value is a memory pre-requisite: that much bytes must# be available/free in the heap; othervise the loop is not executed# and another idlesleep is performed-20_dhtdistribution_idlesleep=30000-20_dhtdistribution_busysleep=10000+20_dhtdistribution_idlesleep=15000+20_dhtdistribution_busysleep=200020_dhtdistribution_memprereq=1258291230_peerping_idlesleep=12000030_peerping_busysleep=120000diff --git a/htroot/PerformanceQueues_p.java b/htroot/PerformanceQueues_p.javaindex 30770a555..7106f656f 100644--- a/htroot/PerformanceQueues_p.java+++ b/htroot/PerformanceQueues_p.java@@ -188,7 +188,7 @@ public class PerformanceQueues_p {// check values to prevent short-cut loopsif (idlesleep < 1000) idlesleep = 1000;if (threadName.equals("10_httpd")) { idlesleep = 0; busysleep = 0; memprereq = 0; }- if (threadName.equals(plasmaSwitchboardConstants.CRAWLJOB_LOCAL_CRAWL) && (busysleep < 50)) busysleep = 50;+ //if (threadName.equals(plasmaSwitchboardConstants.CRAWLJOB_LOCAL_CRAWL) && (busysleep < 50)) busysleep = 50;onTheFlyReconfiguration(switchboard, threadName, idlesleep, busysleep, memprereq);}diff --git a/startYACY_debug.bat b/startYACY_debug.batindex 41157e6e8..ba8b50954 100644--- a/startYACY_debug.bat+++ b/startYACY_debug.bat@@ -13,7 +13,7 @@ For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%XREM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced"set jmx=set jms=-set javacmd=-Xmx120m -Xms120m+set javacmd=-Xmx180m -Xms180mset priolvl=10set priority=/BELOWNORMALset port=8080