On Fri, Sep 27, 2002 at 01:48:36PM +0000, degs wrote:
> On Friday 27 September 2002 12:06, Matthew Toseland wrote:
> > On Fri, Sep 27, 2002 at 10:26:32AM +0000, Degory Wilkinson wrote:
> > > Hi,
> > >
> > > This might be a dumb question but is the native store encypted?
> >
> > Nope, not currently. I am not sure whether it is appropriate to encrypt
> > it; please discuss. Anyway, it's more important to get the current set
> > of bugs out.
> No problem - I'll put it on an encrypted file system.
> 
> Next question: is it size limited like the old datastore? If so does it use 
> the same config file setting (storeSize) or something else?
It uses storeSize. It guesstimates file space usage by using
storeBlockSize, which is usually 4096 bytes. It does not try to
calculate the space used by the directory, so you need to give it some
leeway especially if your FS block size is in fact 4kB.
> 
> thanks,
> -- degs
> >
> > > -- degs
> > >
> > > On Thursday 26 September 2002 12:59, Matthew Toseland wrote:
> > > > Hi. storeType=native has advanced to the point where wider testing
> > > > would be useful. Caveats:
> > > > a) It logs _TONS_ of stuff. Hawk, for example, has a 1GB logfile at
> > > > this instant, having run for a day (it will be reset before it
> > > > overflows). b) It still uses a single very large directory for all the
> > > > keys in the datastore, meaning that large stores and certain
> > > > filesystems (FAT, ext2, etc) won't get on well with it (especially with
> > > > limited RAM).
> > > > c) Very large datastores have proportionately high memory usage, and
> > > > start-up time.
> > > > d) There are bugs, and I want help in finding them. Two that I have
> > > > seen are "Network Error", without it saying RNF or DNF, and corruption
> > > > of data while it is being streamed (after it has downloaded it is fine
> > > > though).
> > > > e) I may impose incompatible format changes in the near future, so
> > > > don't expect to keep your datastore forever.
> > > >
> > > > HOWTO:
> > > > Stop node.
> > > > Remove the monolithic datastore file store_<portnumber> or whatever
> > > > Set storeType=native in your freenet.conf
> > > > Start node.
> > > >
> > > > It will create a directory named after the datastore file, and populate
> > > > that. Talk to me at mtoseland at blueyonder.co.uk or #freenet if you 
> > > > have
> > > > any problems, bug reports etc. It is most useful if you use
> > > > logLevel=debug (but will produce huge logfiles and run a bit slow).
> 
> 

-- 
Matthew Toseland
mtoseland at blueyonder.co.uk
amphibian at sourceforge.net
Freenet/Coldstore open source hacker.
Employed full time by Freenet Project Inc. from 11/9/02 to 11/11/02.
-------------- 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/20020927/ea8f0c15/attachment.pgp>

Reply via email to