On Sun, Nov 03, 2002 at 09:39:28AM -0500, Greg Wooledge wrote:
> John E. Mayorga (jmayorga5 at yahoo.com) wrote:
> 
> > During the installation, it was suggested that 2500kb
> > (or something like that), so I typed in 2500.
> 
> D'oh!  If a data store less than N bytes is unable to function
> correctly, then Freenet should check for that and refuse to run
> under those conditions.  Matthew, if you're reading, what's the
> magical value of N?
Well... we don't really know. We estimate that the maximum number of
simulataneous files "in flight", and therefore not deletable, is less
than 200, for the default settings (I think it is greater than
maxThreads though). Files in the datastore are limited to storeSize/200.
Even those "in flight". So... how big do you want to cache files? Or how
big do you want your circular buffer to be? If you just want to fetch,
you need storeSize to be 200 times the size of the buffer. If you want
to actually cache data, I recommend the default setting of 256MB as a
minimum, because it allows you to cache 1MB chunks, which are the largest
common size on the network (one meg plus some freenet metadata times 200
is not 200MB, so I chose the next round number - 256 is a round number
to a programmer :)).
> 
> -- 
> Greg Wooledge                  |   "Truth belongs to everybody."
> greg at wooledge.org              |    - The Red Hot Chili Peppers
> http://wooledge.org/~greg/     |



-- 
Matthew Toseland
toad at amphibian.dyndns.org
amphibian at users.sourceforge.net
Freenet/Coldstore open source hacker.
Employed full time by Freenet Project Inc. from 11/9/02 to 11/11/02.
http://freenetproject.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021104/c8e6a68e/attachment.pgp>

Reply via email to