On Thu, Jan 30, 2003 at 10:38:32PM -0500, Greg Wooledge wrote:
> Sascha W�stemann ([EMAIL PROTECTED]) wrote:
> 
> > I haven't reniced it, because I think it consumes it's cpu time it
> > needs, so if fiddling with it, I would loose contact, right? Would using
> > a different freenet file system decrease cpu usage leading to less load?
> 
> If you only have a 350 MB data store, it seems unlikely that you could
> have a large enough number of files in any given subdirectory to cause
> O(n^2) directory-search issues with ext2 file systems.  But this is
> largely a guess on my part -- if you want to benchmark reiserfs vs. ext2
> and document your results, I'm sure many people would find them quite
> interesting.
> 
> For larger data stores on Linux, reiserfs is the recommended choice
> of host file systems.  *BSD file systems are generally good for this
> as well (but the lack of a top-quality Java runtime for BSD systems
> hurts immensely).
> 
> > The linux box has an AMD-3D cpu at 300 MHz and the new box will
> > have a similar one, when finished.
You may want to look into getting a second hand K6-2/450 or 550 chip. 
It will probably run on your motherboard (it is "super socket 7", 
right?), and it will significantly improve its ability to handle 
Freenet... if you can find it cheap, second-hand.
> 
> This is a slow CPU by Freenet standards.  The Freenet node performs
> massively heavy math/crypto work.  I have a K6-2 333 MHz CPU in the
> box on which I run a transient node (and my web browser).  If I load
> The Freedom Engine on this machine, the load average easily reaches
> 25-30, and the system isn't usable for much else until it settles down.
> (This box also runs Linux 2.2.21, which is not known to handle massively
> multithreaded Java applications particularly well; it might do better
> under Linux 2.4.)
> 
> If you're going to run a permanent node on such an old machine,
> either let the machine be dedicated to Freenet and nothing else,
> or use "nice" and lower the maximumThreads value to something that
> will keep the system usable for other jobs.  You'll have to experiment
> to find what works best for you.
> 
> > Is there a floppy distribution which
> > can do java to run freenet/frost? I'd like to save using a harddisk to
> > run the second linux box, if possible.
> 
> -rw-rw-r--    1 freenet  1007     22839295 Oct 30 21:58 
>/freenet/j2re-1_4_1_01-linux-i586.bin
> 
> You'd need a very large floppy disk to hold a Java runtime!  (LS-120....)
> Maybe a bootable Linux+Java+Freenet CD, using RAM disk for the data store,
> would be a feasible project.  With ARKs and a sufficiently clever boot
> script, I really do believe it's possible to roll out "cookie cutter"
> Freenet nodes in this manner.  (You could even fit it all on one of those
> miniature CDs.)

You should consider a boot floppy or a boot CD _plus_ networking the two
machines to share the large or changing files. My workstation boots off
a CD and has no disk. This is probably the most practical, fastest and
cheapest solution.
> 
> The obvious problem with this (diskless nodes) is that if one of
> them crashes, it loses the whole data store.  Freenet is designed
> to work best with permanent nodes that retain their data for as
> long as it remains popular.  I don't know how big an impact the
> loss of a single permanent node's data store makes, but obviously
> it can't be a good thing.
This is a very interesting idea. It would be _possible_ to write the
node privkey onto a custom written CD, and have it automatically
reacquire its ARK index... or maybe store it in CMOS or Flash or
something? It is a question of whether you'd want to do this (and put
in the effort involved). Anyway, the most practical way to do it is 
probably to set up etherboot with a boot CD, the node file (at least)
shared across the network, and the datastore either in RAM or also 
shared across the network.
> 
> On the other hand, the ability to erase your data store completely,
> simply by hitting the power button, may be a useful feature in some
> environments (running a node in a country like China, etc.).
Indeed. That's one reason why such things are interesting. Although it
will be a long time before freenet or anything descended from freenet is
ready for such a potentially hostile environment.
> 
> -- 
> Greg Wooledge                  |   "Truth belongs to everybody."
> [EMAIL PROTECTED]              |    - The Red Hot Chili Peppers
> http://wooledge.org/~greg/     |

-- 
Matthew Toseland
[EMAIL PROTECTED][EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://amphibian.dyndns.org:8889/it8bAyd1fdw/
ICTHUS.

Attachment: msg02748/pgp00000.pgp
Description: PGP signature

Reply via email to