gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated (79c72a891 -> 258520769)


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated (79c72a891 -> 258520769)
Date: Wed, 28 Nov 2018 11:30:12 +0100

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a change to branch master
in repository gnunet.

    from 79c72a891 RPS test/profiler: Check success of opening file
     new fa70626ca RPS test/profiler: Separate configs
     new 258520769 RPS test/profiler: Open file with right flags

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/rps/{test_rps.conf => profiler_rps.conf} | 16 +++++++++-------
 src/rps/rps-test_util.c                      |  4 +++-
 src/rps/test_rps.conf                        |  2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)
 copy src/rps/{test_rps.conf => profiler_rps.conf} (89%)

diff --git a/src/rps/test_rps.conf b/src/rps/profiler_rps.conf
similarity index 89%
copy from src/rps/test_rps.conf
copy to src/rps/profiler_rps.conf
index c7ac1f3b8..c624556d3 100644
--- a/src/rps/test_rps.conf
+++ b/src/rps/profiler_rps.conf
@@ -12,7 +12,7 @@ NOARMBIND = YES
 #OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log
 
 # This is the timeinterval between the rounds
-ROUNDINTERVAL = 1 s
+ROUNDINTERVAL = 2 s
 FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
 
 # This is the 'estimate' in the beginning.
@@ -31,17 +31,19 @@ HOSTNAME = localhost
 
 #OVERLAY_TOPOLOGY = CLIQUE
 
-OVERLAY_TOPOLOGY = SCALE_FREE
-SCALE_FREE_TOPOLOGY_CAP = 100
-SCALE_FREE_TOPOLOGY_M = 2
+#OVERLAY_TOPOLOGY = SCALE_FREE
+#SCALE_FREE_TOPOLOGY_CAP = 100
+#SCALE_FREE_TOPOLOGY_M = 2
 
-#OVERLAY_TOPOLOGY = RANDOM
-#OVERLAY_RANDOM_LINKS = 25
+OVERLAY_TOPOLOGY = RANDOM
+## We take half of the links a complete graph would have, so (n * n-1)/4
+## for n = 128, this would be
+OVERLAY_RANDOM_LINKS = 4064
 
 #OVERLAY_TOPOLOGY = SMALL_WORLD
 #OVERLAY_RANDOM_LINKS = 25
 
-SETUP_TIMEOUT = 2 m
+SETUP_TIMEOUT = 1 h
 
 [nse]
 WORKBITS = 0
diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c
index 4383c7149..6644a1c20 100644
--- a/src/rps/rps-test_util.c
+++ b/src/rps/rps-test_util.c
@@ -88,6 +88,8 @@ get_file_handle (const char *name)
                                                            &hash))
   {
     fh = GNUNET_DISK_file_open (name,
+                                GNUNET_DISK_OPEN_WRITE |
+                                GNUNET_DISK_OPEN_CREATE |
                                 GNUNET_DISK_OPEN_APPEND,
                                 GNUNET_DISK_PERM_USER_READ |
                                 GNUNET_DISK_PERM_USER_WRITE |
@@ -95,7 +97,7 @@ get_file_handle (const char *name)
     if (NULL == fh)
     {
       LOG (GNUNET_ERROR_TYPE_ERROR,
-           "Openning file `%s' failed.\n",
+           "Opening file `%s' failed.\n",
            name);
       GNUNET_assert (0);
     }
diff --git a/src/rps/test_rps.conf b/src/rps/test_rps.conf
index c7ac1f3b8..1555a71a5 100644
--- a/src/rps/test_rps.conf
+++ b/src/rps/test_rps.conf
@@ -12,7 +12,7 @@ NOARMBIND = YES
 #OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log
 
 # This is the timeinterval between the rounds
-ROUNDINTERVAL = 1 s
+ROUNDINTERVAL = 100 ms
 FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
 
 # This is the 'estimate' in the beginning.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]