On Sun, Oct 20, 2002 at 06:58:15PM -0700, Ian Clarke wrote:
> On Mon, Oct 21, 2002 at 02:00:07AM +0100, Matthew Toseland wrote:
> > > I am pretty uncomfortable at the idea that Freenet won't work with files 
> > > above a certain size. It is likely that there are many people who blame 
> > > Freenet for not storing their 4 meg file.  This effective file-size 
> > > limit is not common knowledge.
> > Then increase the default storeSize to 1GB.
> 
> Actually, I think the real problem, or one of them, was the rather 
> arbitrary decision to limit file sizes to 1% or whatever it is of the 
> size of the datastore.
It's not particularly arbitrary, as I explained, we count the files that
are in progress against the store size limit, but we can't remove them
until they are finished. This means that we must limit the size of the
files currently in transit, hence the maxSize of 1/200th the datastore
size (note that the denominator should probably be higher for a higher 
maxThreads).
> 
> Previously we had a mechanism which avoided large files dominating the
> datastore and didn't require an arbitrary limit - but unfortunately it
> was quietly replaced with the current rather crude mechanism the 1,346th
> time the datastore was reimplemented.
> 
> I really don't like arbitrary thresholds when they can be avoided.
> 
> Ian.
> 
> -- 
> Ian Clarke                ian@[freenetproject.org|locut.us|cematics.com]
> Latest Project                                 http://cematics.com/kanzi
> Personal Homepage                                     http://locut.us/



-- 
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/20021021/65f12fb3/attachment.pgp>

Reply via email to