[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 11/12: add num deposits
From: |
gnunet |
Subject: |
[taler-grid5k] 11/12: add num deposits |
Date: |
Fri, 10 Jun 2022 11:54:42 +0200 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit 596f1acb0dc294ac4cdb61361c74825182b81fd9
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Fri Jun 10 11:53:29 2022 +0200
add num deposits
---
experiment/env | 9 +++++++++
experiment/scripts/benchmark.sh | 4 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/experiment/env b/experiment/env
index b05e9be..fdf256e 100644
--- a/experiment/env
+++ b/experiment/env
@@ -118,6 +118,15 @@ TALER_WALLET_INSECURE_TRUST_EXCHANGE=1
# Do batch withdrawals of a reserve rather than single coins
TALER_WALLET_BATCH_WITHDRAWAL=1
+# Number of deposits per wallet iteration (withdraw)
+# Amount to withdraw is caluclated as follows:
+# (num_deposits + 1) * 10
+# This must also be configured in WITHDRAW ONLY
+NUM_DEPOSITS=20
+# If the number of deposits should be selected randomly
+# from 1 to NUM_DEPOSITS
+RAND_DEPOSITS=true
+
# Initial number of exchange processes to run.
# default = 10
# Start another bunch with `taler-perf start exchange <N>`
diff --git a/experiment/scripts/benchmark.sh b/experiment/scripts/benchmark.sh
index f5a2f5a..1861aeb 100755
--- a/experiment/scripts/benchmark.sh
+++ b/experiment/scripts/benchmark.sh
@@ -27,7 +27,9 @@ function start_wallet_bench() {
LOG_LEVEL=INFO
fi
- NUM_DEPOSITS=$(($RANDOM % 21))
+ if [[ "${RAND_DEPOSITS}" == "true" ]]; then
+ NUM_DEPOSITS=$(($RANDOM % ${NUM_DEPOSITS} + 1))
+ fi
if [[ "${WALLET_BENCHMARK}" == bench3 ]] && \
[[ "${WALLET_MERCHANT_SELECTION}" =~ zipf|rand ]]; then
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] branch master updated (0c6cce0 -> fce059e), gnunet, 2022/06/10
- [taler-grid5k] 02/12: fix benchmark, gnunet, 2022/06/10
- [taler-grid5k] 01/12: double denominations, gnunet, 2022/06/10
- [taler-grid5k] 08/12: remove custom rsyslog, gnunet, 2022/06/10
- [taler-grid5k] 06/12: fix template, gnunet, 2022/06/10
- [taler-grid5k] 11/12: add num deposits,
gnunet <=
- [taler-grid5k] 03/12: remove additional coins, gnunet, 2022/06/10
- [taler-grid5k] 04/12: no fees, gnunet, 2022/06/10
- [taler-grid5k] 10/12: minor changes, gnunet, 2022/06/10
- [taler-grid5k] 05/12: fix, gnunet, 2022/06/10
- [taler-grid5k] 09/12: nginx log, gnunet, 2022/06/10
- [taler-grid5k] 07/12: tets nginx local logs, gnunet, 2022/06/10
- [taler-grid5k] 12/12: integrate final changes, gnunet, 2022/06/10