[freenet-dev] Increasing the default memory limit?
Matthew Toseland
toad at amphibian.dyndns.org
Fri Aug 31 16:37:52 UTC 2007
What should the default memory limit be on install? We can provide a means to
override it in the first-time wizard, but it's not clear what the default
should be.
If it's too low, once the user has some stuff queued and a large datastore,
the node will spend a lot of its time garbage collecting, and the datastore
code will cause a lot of system usage (time spent doing I/O) on larger stores
because it won't have cached much of the index (the kernel might have, but
that's debatable, and still very slow compared to caching it in the database,
this apparently causes high system usage - higher than user - on heavily used
nodes).
On the other hand if it's too high, it will cause swapping and major problems.
Either way we can get serious performance degradation and users uninstalling.
Ideas? Java doesn't provide any way to get the total memory available to the
system afaik.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070831/56a9b3ea/attachment.pgp
More information about the Devl
mailing list