[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r914 - GNUnet-docs/WWW/test
From: |
durner |
Subject: |
[GNUnet-SVN] r914 - GNUnet-docs/WWW/test |
Date: |
Mon, 13 Jun 2005 12:59:20 -0700 (PDT) |
Author: durner
Date: 2005-06-13 12:59:17 -0700 (Mon, 13 Jun 2005)
New Revision: 914
Modified:
GNUnet-docs/WWW/test/faq.php3
Log:
Format <pre>
Modified: GNUnet-docs/WWW/test/faq.php3
===================================================================
--- GNUnet-docs/WWW/test/faq.php3 2005-06-13 19:48:19 UTC (rev 913)
+++ GNUnet-docs/WWW/test/faq.php3 2005-06-13 19:59:17 UTC (rev 914)
@@ -69,26 +69,26 @@
P();
W("If you prefer the shell for everything, that’s easy, too.");
W("First, use <tt>gnunet-search</tt> to search for content:");
-EP();
+P();
PRE("# gnunet-search GPL\n" .
"gnunet-download -o "COPYING" --
gnunet://afs/N8RCF3TETLRU9CV1PAS7M2H9QDB36AE3.K9JO8IP7KTNFO23S3VB4TFUKLD7SO5AS.0466DC92.17992\n"
.
"=> The GNU Public License <= (mimetype: text/plain)");
-BP();
+P();
W("The output above is the result of searching for the keyword
“GPL”.");
W("<tt>gnunet-search</tt> will immediately start searching GNUnet and print
new results (no duplicates) to the screen.");
W("The first line is the information that is required to retrieve the file
(query-hash, key-hash, crc (in hex) and the size of the file, here 17992
bytes.");
P();
W("The second line contains a description of the file.");
W("In order to download the file, use");
-EP();
+P();
PRE("# gnunet-download -o "COPYING" --
gnunet://afs/N8RCF3TETLRU9CV1PAS7M2H9QDB36AE3.K9JO8IP7KTNFO23S3VB4TFUKLD7SO5AS.0466DC92.17992");
-BP();
+P();
W("where <tt>COPYING</tt> is the suggested filename.");
P();
W("If you want to add content to GNUnet, use");
EP();
PRE("# gnunet-insert -f COPYING -D "The GNU Public License" -k GPL
-k COPYING -k Gnu -k GNU -k Public -k License -m text/plain -k FSF");
-BP();
+P();
W("where <tt>COPYING</tt> is the filename and the arguments are the
description of the file (in quotation marks) followed by a list of keywords.");
EP();
@@ -121,10 +121,10 @@
BP();
W("For a test of slightly larger scale, you can try to download another
“official” test content by searching for keyword <tt>alien</tt> or
go directly for the content using:");
-EP();
+P();
PRE("# gnunet-download -o "Aliensong.mpeg" --
gnunet://afs/UFOO2C84BUC11HMHBKVJOI9380DKGBQL.EGT78G1J9CR74PCK16EQ2BIFPL0ERISN.7A1AC901.3201028");
-BP();
+P();
W("Still not satisfied?");
W("Use your imagination for guessing keywords, or try common mime-types as
keywords (such as <tt>application/pdf</tt>, <tt>application/x-zip</tt>,
<tt>image/jpeg</tt> or <tt>audio/mp3</tt>).");
EP();
@@ -329,9 +329,13 @@
P();
W("The economic model is designed in a way that the damage that a malicious
node can do is bounded by the formula");
+EP();
echo "<center>";
+BP();
W("damage - contribution < capacity + epsilon");
+EP();
echo "</center>";
+BP();
W("where contribution is the amount of resources the node has given to GNUnet,
capacity is the network capacity of the malicious node (it is impossible to
keep a node from causing as much traffic as its own connection can support;
yet, unlike other networks, that traffic is <em>not</em> multiplied by other
nodes).");
W("Epsilon is a number smaller than the excess capacity of the network,
whereas the excess capacity of the network are wasted resources (idle CPUs,
idle network connections).");
EP();
@@ -363,18 +367,18 @@
W("The best illustration for this is the following timing results obtained by
inserting and downloading a 3 MB binary from the local host (no real networking
involved, only loopback).");
W("Insertion takes (on a Celeron 667, 400 MB RAM):");
-EP();
+P();
PRE("real 3m38.954s\n" .
"user 0m2.450s\n" .
"sys 0m0.410s");
-BP();
+P();
W("For the download, it takes:");
-EP();
+P();
PRE("real 0m13.796s\n" .
"user 0m2.150s\n" .
"sys 0m0.660s");
-BP();
+P();
W("As you can see, the <em>user</em> CPU usage (how much is actually used) is
miniscule compared to the <em>real</em> time that it took to download the
file.");
W("The real time is longer because the harddrive could not perform the random
accesses to the GNUnet databases any faster.");
W("The good news is, that as long as there is a difference between
<em>real</em> and <em>user</em>, increasing the load on the network will not
slow GNUnet down (in fact, it may make it faster because anonymity requires us
to delay messages if the amount of traffic on the network is low).");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r914 - GNUnet-docs/WWW/test,
durner <=