gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r32753 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32753 - gnunet/src/mesh
Date: Sat, 22 Mar 2014 03:58:18 +0100

Author: bartpolot
Date: 2014-03-22 03:58:17 +0100 (Sat, 22 Mar 2014)
New Revision: 32753

Modified:
   gnunet/src/mesh/profiler.conf
   gnunet/src/mesh/run_profiler.sh
Log:
- adjust nse on the fly

Modified: gnunet/src/mesh/profiler.conf
===================================================================
--- gnunet/src/mesh/profiler.conf       2014-03-22 02:58:15 UTC (rev 32752)
+++ gnunet/src/mesh/profiler.conf       2014-03-22 02:58:17 UTC (rev 32753)
@@ -9,3 +9,6 @@
 
 [mesh]
 REFRESH_CONNECTION_TIME = 60 s
+
+[dht]
+FORCE_NSE = %NSE%

Modified: gnunet/src/mesh/run_profiler.sh
===================================================================
--- gnunet/src/mesh/run_profiler.sh     2014-03-22 02:58:15 UTC (rev 32752)
+++ gnunet/src/mesh/run_profiler.sh     2014-03-22 02:58:17 UTC (rev 32753)
@@ -17,8 +17,9 @@
 
 LINKS=`echo "l($PEERS) * $PEERS" | bc -l`
 LINKS=`printf "%.0f" $LINKS`
+NSE=`echo "l($PEERS)/l(10)" | bc -l`
 echo "using $PEERS peers, $LINKS links";
     
-sed -e "s/%LINKS%/$LINKS/g" profiler.conf > .profiler.conf
+sed -e "s/%LINKS%/$LINKS/;s/%NSE%/$NSE/" profiler.conf > .profiler.conf
 
 ./gnunet-mesh-profiler $ROUNDTIME $PEERS $PINGS |& tee log | grep -v DEBUG




reply via email to

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