higher dht distribution speed by default

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6168 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 16 years ago
parent 995da28c73
commit ec2970cc76

@ -12,24 +12,21 @@
# and another idlesleep is performed # and another idlesleep is performed
20_dhtdistribution_idlesleep=5000 20_dhtdistribution_idlesleep=5000
20_dhtdistribution_busysleep=2000 20_dhtdistribution_busysleep=500
20_dhtdistribution_memprereq=12582912 20_dhtdistribution_memprereq=12582912
50_localcrawl_idlesleep=4000 50_localcrawl_idlesleep=2000
50_localcrawl_busysleep=50 50_localcrawl_busysleep=60
50_localcrawl_memprereq=12582912 50_localcrawl_memprereq=12582912
50_localcrawl_isPaused=false 50_localcrawl_isPaused=false
60_remotecrawlloader_idlesleep=120000 60_remotecrawlloader_idlesleep=60000
60_remotecrawlloader_busysleep=60000 60_remotecrawlloader_busysleep=10000
60_remotecrawlloader_memprereq=12582912 60_remotecrawlloader_memprereq=12582912
60_remotecrawlloader_isPaused=false 60_remotecrawlloader_isPaused=false
62_remotetriggeredcrawl_idlesleep=60000 62_remotetriggeredcrawl_idlesleep=10000
62_remotetriggeredcrawl_busysleep=10000 62_remotetriggeredcrawl_busysleep=2000
62_remotetriggeredcrawl_memprereq=12582912 62_remotetriggeredcrawl_memprereq=12582912
62_remotetriggeredcrawl_isPaused=false 62_remotetriggeredcrawl_isPaused=false
80_indexing_idlesleep=1000 80_indexing_idlesleep=1000
80_indexing_busysleep=10 80_indexing_busysleep=0
80_indexing_memprereq=12582912 80_indexing_memprereq=12582912
82_crawlstack_idlesleep=5000
82_crawlstack_busysleep=1
82_crawlstack_memprereq=1048576

@ -570,8 +570,8 @@ filterOutStopwordsFromTopwords=true
# the prereq-value is a memory pre-requisite: that much bytes must # the prereq-value is a memory pre-requisite: that much bytes must
# be available/free in the heap; othervise the loop is not executed # be available/free in the heap; othervise the loop is not executed
# and another idlesleep is performed # and another idlesleep is performed
20_dhtdistribution_idlesleep=30000 20_dhtdistribution_idlesleep=15000
20_dhtdistribution_busysleep=10000 20_dhtdistribution_busysleep=2000
20_dhtdistribution_memprereq=12582912 20_dhtdistribution_memprereq=12582912
30_peerping_idlesleep=120000 30_peerping_idlesleep=120000
30_peerping_busysleep=120000 30_peerping_busysleep=120000

@ -188,7 +188,7 @@ public class PerformanceQueues_p {
// check values to prevent short-cut loops // check values to prevent short-cut loops
if (idlesleep < 1000) idlesleep = 1000; if (idlesleep < 1000) idlesleep = 1000;
if (threadName.equals("10_httpd")) { idlesleep = 0; busysleep = 0; memprereq = 0; } 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); onTheFlyReconfiguration(switchboard, threadName, idlesleep, busysleep, memprereq);
} }

@ -13,7 +13,7 @@ For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X
REM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced" REM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced"
set jmx= set jmx=
set jms= set jms=
set javacmd=-Xmx120m -Xms120m set javacmd=-Xmx180m -Xms180m
set priolvl=10 set priolvl=10
set priority=/BELOWNORMAL set priority=/BELOWNORMAL
set port=8080 set port=8080

Loading…
Cancel
Save