[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnunet] system requirements
From: |
Christian Grothoff |
Subject: |
Re: [Help-gnunet] system requirements |
Date: |
Wed, 11 Feb 2004 12:59:41 -0500 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 10 February 2004 12:07 am, dot wrote:
> Hi
>
> I am considering buying a new machine to use as a gnunet peer.
>
> Is the suggestion in the AFS docs of 250k per indexed gig referring to RAM
> or disk?
250k memory. But the value is a bit dated. I should recompute it at some
point. A rough guess is that it is probably more 500k these days.
> I also see about 148MB used by gdbm for a 100MB file.
>
> Does that mean I need (excluding OS requirements):
>
> ~148 MB of disk per MB of inserted data (gdbm)
> ~250k of RAM per GB of inserted data
>
> So 10G inserted data needs ~14.8G disk space + 2.5M RAM
>
> That doesn't seem like enough memory. Have I misunderstood something
> here?
Well, there are other memory costs that are not taken into account, namely the
database itself does some caching, so there is a per-GB cost in memory
depending on which database you are using (and that cost can dwarf the
250/500k mentioned above). And of course there is some 'basic' footprint of
the system (which depends a bit on how much bandwidth you have). I'd suggest
to run some experiments for the desired configuration. For the memory
consumption, you don't actually have to have the DB full, just specify the
intended size and GNUnet should pretty much instantly take up the necessary
amount of memory (of course, there are also going to be some fluctuations at
runtime, so don't take that number as the absolute maximum, more as a lower
approximation).
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFAKm2O9tNtMeXQLkIRAmriAJ0YXpF+bKhYRJLr4VlgwJeqVzxL5gCfetKs
v5Dm9GtyhuMwd4BAzC3UobI=
=U7GR
-----END PGP SIGNATURE-----