orbiter 18 years ago
parent ba525ebf52
commit eeb5d62bff

@ -76,19 +76,15 @@
<tr class="TableHeader" valign="bottom"> <tr class="TableHeader" valign="bottom">
<td>Table</td> <td>Table</td>
<td>Chunk Size</td> <td>Chunk Size</td>
<td>RO Count</td> <td>Count</td>
<td>RO Used Memory</td> <td>Used Memory</td>
<td>RW Count</td>
<td>RW Used Memory</td>
</tr> </tr>
#{TableList}# #{TableList}#
<tr class="TableCellLight"> <tr class="TableCellLight">
<td align="left" class="TableCellDark">#[tableIndexPath]#</td> <td align="left" class="TableCellDark">#[tableIndexPath]#</td>
<td align="right">#[tableIndexChunkSize]#</td> <td align="right">#[tableIndexChunkSize]#</td>
<td align="right">#[tableROIndexCount]#</td> <td align="right">#[tableIndexCount]#</td>
<td align="right">#[tableROIndexMem]# MB</td> <td align="right">#[tableIndexMem]# MB</td>
<td align="right">#[tableRWIndexCount]#</td>
<td align="right">#[tableRWIndexMem]# MB</td>
</tr> </tr>
#{/TableList}# #{/TableList}#
<tr class="TableCellDark"> <tr class="TableCellDark">

@ -116,20 +116,16 @@ public class PerformanceMemory_p {
String filename; String filename;
Map map; Map map;
int p, c = 0; int p, c = 0;
long ROmem, RWmem, totalmem = 0; long mem, totalmem = 0;
while (i.hasNext()) { while (i.hasNext()) {
filename = (String) i.next(); filename = (String) i.next();
map = (Map) kelondroFlexTable.memoryStats(filename); map = (Map) kelondroFlexTable.memoryStats(filename);
ROmem = Long.parseLong((String) map.get("tableROIndexMem")); mem = Long.parseLong((String) map.get("tableIndexMem"));
RWmem = Long.parseLong((String) map.get("tableRWIndexMem")); totalmem += mem;
totalmem += ROmem;
totalmem += RWmem;
prop.put("TableList_" + c + "_tableIndexPath", ((p = filename.indexOf("DATA")) < 0) ? filename : filename.substring(p)); prop.put("TableList_" + c + "_tableIndexPath", ((p = filename.indexOf("DATA")) < 0) ? filename : filename.substring(p));
prop.put("TableList_" + c + "_tableIndexChunkSize", map.get("tableIndexChunkSize")); prop.put("TableList_" + c + "_tableIndexChunkSize", map.get("tableIndexChunkSize"));
prop.put("TableList_" + c + "_tableROIndexCount", map.get("tableROIndexCount")); prop.put("TableList_" + c + "_tableIndexCount", map.get("tableIndexCount"));
prop.put("TableList_" + c + "_tableROIndexMem", ROmem / (1024 * 1024)); prop.put("TableList_" + c + "_tableIndexMem", map.get("tableIndexCount"));
prop.put("TableList_" + c + "_tableRWIndexCount", map.get("tableRWIndexCount"));
prop.put("TableList_" + c + "_tableRWIndexMem", RWmem / (1024 * 1024));
c++; c++;
} }
prop.put("TableList", c); prop.put("TableList", c);
@ -139,7 +135,6 @@ public class PerformanceMemory_p {
i = kelondroRecords.filenames(); i = kelondroRecords.filenames();
c = 0; c = 0;
totalmem = 0; totalmem = 0;
long mem;
while (i.hasNext()) { while (i.hasNext()) {
filename = (String) i.next(); filename = (String) i.next();
map = (Map) kelondroRecords.memoryStats(filename); map = (Map) kelondroRecords.memoryStats(filename);

@ -5,7 +5,6 @@ http://home.arcor.de/hermens/yacy/seed.txt
http://low.audioattack.de/yacy/seed.txt http://low.audioattack.de/yacy/seed.txt
http://sam-daheim.de/seed.txt http://sam-daheim.de/seed.txt
http://thq.homeip.net/share/seed.txt http://thq.homeip.net/share/seed.txt
http://www.anomic.de/yacy/seed.txt
http://www.dortmund.homelinux.org/~samba/yacy/seed.txt http://www.dortmund.homelinux.org/~samba/yacy/seed.txt
http://www.lulabad.de/seed.txt http://www.lulabad.de/seed.txt
http://www.suma-lab.de/yacy/seed.txt http://www.suma-lab.de/yacy/seed.txt

@ -83,6 +83,24 @@ pkcs12ImportPwd =
superseedFile=superseed.txt superseedFile=superseed.txt
superseedLocation=http://www.yacy.net/superseed.txt superseedLocation=http://www.yacy.net/superseed.txt
# network definition
# we distiguish local and global networks. Each network type can have different user groups
# groups can be uncontrolled, moderated or controlled
# Each group has a group master, but in case the group is uncontrolled the only task of the
# group master is to provide a bootstrap file which contains peer addresses of peers that
# are member of the group. All attributes are given in a single network description string
# of the form:
# network = <group-name>:<network-name>:<network-domain>:{'uncontrolled'|'moderated'|'controlled'}:<bootstrap-uri>
# in case that the network is the uncontrolled global dht-managed community for everybody,
# the details defaults to:
# network = all:world:global:uncontrolled:http://yacy.net/
# the network-uri must have a sub-path yacy/seed.txt containing a list of urls pointing to the
# peer-address of peers within the group of that network
# several network definition strings can be listed in a single
# bootstrapLoadTimeout # bootstrapLoadTimeout
# this is the time-out for loading of the seedlist files during bootstraping # this is the time-out for loading of the seedlist files during bootstraping
# the time should not be too long, since loading of the seedlist is not parallelized # the time should not be too long, since loading of the seedlist is not parallelized

Loading…
Cancel
Save