[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Databases benchmark and problem
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] Databases benchmark and problem |
Date: |
Tue, 15 Apr 2003 12:30:07 -0500 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, the current use of 'diskquota' may need to be fixed (but there should be
a fixme in the code). If you specify a quota of 300 MB, that means that
GNUnet is allowed to store 300.000 of the 1k blocks. We assume that indexing
takes "no" space for the indices (32 byte + DB overhead) and that the 1k
blocks have no overhead (in fact they have 32 byte + DB overhead).
You should get some 'reaction' from the code once you insert more than 300.000
blocks. [and yes, we may want to fix the quota-check to take the overhead
into account; this will require some minor changes]
Christian
On Tuesday 15 April 2003 08:23 am, eric haumant wrote:
> Hello,
>
> I've just made some tests with the five database types of GNUnet. This
> results have been made with a 100Mo file (with random content) that have
> been inserted in the database. Here is the results :
>
> - MySQL :
> Upload Speed : 400 ko/s
> Download Speed : 300 ko/s
> Space used : 113 Mo.
>
>
> - GDBM :
> Upload Speed : 500 ko/s
> Download Speed : 400 ko/s
> Space used : 148 Mo.
>
> - TDB :
> Upload Speed : 27 ko/s
> Download Speed : 12 ko/s
> Space used : 118 Mo.
>
> - BDB :
> Upload Speed : 340 ko/s
> Download Speed : 260 ko/s
> Space used : 435 Mo (DISKQUOTA=300 !!).
>
> - DIRECTORY :
> Upload Speed : 100 ko/s
> Download Speed : 300 ko/s
> Space used : 450 Mo (DISKQUOTA=300 !!).
>
>
> While benchmarking, I had some problem with local file download. With most
> of the database types (except TDB) the download drops down at the beginning
> and at the end. I have to restart the download a few times to continue.
>
> As you can see, TDB is very slow and BDB uses lots of place (not as much as
> DIRECTORY). So, for the moment MySQL and GDBM are the most powerfull
> databases.
>
> I found another thing interesting. When inserting content, the "DISKQUOTA"
> that is specified has no importance. You can, then, use lots of space.
> GNUnet should stop the insertion and say that there is no more space left.
>
> Eric.
>
>
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+nEGf9tNtMeXQLkIRAhpCAJ9vdaKhGj1W5kbutjnsKqHtrkXlgACgoGJd
ZNAh6P53qWzzdnf9qAB+QK4=
=4Ip9
-----END PGP SIGNATURE-----
- [GNUnet-developers] Databases benchmark and problem, eric haumant, 2003/04/15
- Re: [GNUnet-developers] Databases benchmark and problem, Glenn McGrath, 2003/04/15
- Re: [GNUnet-developers] Databases benchmark and problem,
Christian Grothoff <=
- Re: [GNUnet-developers] Databases benchmark and problem, Christian Grothoff, 2003/04/15
- RE: [GNUnet-developers] Databases benchmark and problem, Jan Marco Alkema, 2003/04/16
- Re: [GNUnet-developers] Databases benchmark and problem, Kevin Atkinson, 2003/04/16
- Re: [GNUnet-developers] Databases benchmark and problem, Igor Wronsky, 2003/04/16