gnunet-svn
[Top][All Lists]
Advanced

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

[taler-grid5k] 75/141: add benchmark run for wallet


From: gnunet
Subject: [taler-grid5k] 75/141: add benchmark run for wallet
Date: Thu, 18 Nov 2021 14:50:16 +0100

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

marco-boss pushed a commit to branch master
in repository grid5k.

commit 2db485140fadfd17bbb9b2c87b41541739d198c1
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Wed Oct 27 15:58:51 2021 +0200

    add benchmark run for wallet
---
 .../usr/lib/systemd/system/taler-fakebank.service  |  2 +-
 experiment/scripts/test1.sh                        | 15 +++++++
 experiment/scripts/wallet.sh                       |  2 +-
 experiment/taler-perf-minimal.rspec                | 51 ++++++++++++++++++++++
 4 files changed, 68 insertions(+), 2 deletions(-)

diff --git a/configs/usr/lib/systemd/system/taler-fakebank.service 
b/configs/usr/lib/systemd/system/taler-fakebank.service
index a0c83c3..77d2fc4 100644
--- a/configs/usr/lib/systemd/system/taler-fakebank.service
+++ b/configs/usr/lib/systemd/system/taler-fakebank.service
@@ -3,7 +3,7 @@ Description=GNU Taler fake bank
 
 [Service]
 Type=simple
-ExecStart=/usr/bin/taler-fakebank-run -c /etc/taler/taler.conf -L DEBUG
+ExecStart=/usr/bin/taler-fakebank-run -c /etc/taler/taler.conf -L DEBUG -n 100
 StandardOutput=journal
 StandardError=journal
 
diff --git a/experiment/scripts/test1.sh b/experiment/scripts/test1.sh
new file mode 100755
index 0000000..6e29edc
--- /dev/null
+++ b/experiment/scripts/test1.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+FAKE_PID=$1
+
+taler-wallet-cli \
+    advanced bench1 \
+      --config-json "
+{
+  \"exchange\": \"http://${PROXY_DOMAIN}/\";, 
+  \"bank\": \"http://${BANK_DOMAIN}/\";,
+  \"currency\": \"KUDOS\",
+  \"payto\": \"payto://x-taler-bank/${BANK_DOMAIN}/foo\",
+  \"iterations\": 10000,
+  \"deposits\": 10
+}"
diff --git a/experiment/scripts/wallet.sh b/experiment/scripts/wallet.sh
index 355b1e0..d0e3335 100755
--- a/experiment/scripts/wallet.sh
+++ b/experiment/scripts/wallet.sh
@@ -12,4 +12,4 @@ wait_for_keys "${PROXY_DOMAIN}"
 
 NUM_PROCESSES=${NUM_WALLET_PROCESSES:-$(lscpu | grep "^CPU(s):" | awk '{print 
$2}')}
 
-parallel --ungroup ~/scripts/test.sh ::: $(seq ${NUM_PROCESSES})
+parallel --ungroup -j ${NUM_PROCESSES} ~/scripts/test1.sh ::: $(seq 
${NUM_PROCESSES})
diff --git a/experiment/taler-perf-minimal.rspec 
b/experiment/taler-perf-minimal.rspec
new file mode 100644
index 0000000..54d3ad3
--- /dev/null
+++ b/experiment/taler-perf-minimal.rspec
@@ -0,0 +1,51 @@
+<?xml version='1.0'?>
+<rspec xmlns="http://www.geni.net/resources/rspec/3"; type="request" 
generated_by="jFed RSpec Editor" generated="2021-10-27T14:07:31.511+02:00" 
xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"; 
xmlns:delay="http://www.protogeni.net/resources/rspec/ext/delay/1"; 
xmlns:jfed-command="http://jfed.iminds.be/rspec/ext/jfed-command/1"; 
xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1"; 
xmlns:jfed-ssh-keys="http://jfed.iminds.be/rspec/ext/jfed-ssh-keys/1"; xmlns: 
[...]
+  <node client_id="DB" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; 
x="155.12048192771084" y="35.85234899328859"/>
+  </node>
+  <node client_id="Exchange" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; 
x="300.18072289156623" y="202.25503355704694"/>
+  </node>
+  <node client_id="Wallet-0" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; x="176.5" 
y="479.5"/>
+  </node>
+  <node client_id="Bank" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; x="424.0" 
y="43.5"/>
+  </node>
+  <node client_id="Proxy" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; 
x="304.3975903614458" y="278.2214765100671"/>
+  </node>
+  <node client_id="Monitor" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; x="915.0" 
y="316.2046979865771"/>
+  </node>
+  <node client_id="Wallet-1" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; x="432.5" 
y="474.5"/>
+  </node>
+  <node client_id="Merchant" exclusive="true" 
component_manager_id="urn:publicid:IDN+am.grid5000.fr+authority+am">
+    <sliver_type name="raw-pc">
+      <disk_image 
name="http://public.lille.grid5000.fr/~bfhch01/taler-debian11.dsc"/>
+    </sliver_type>
+    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1"; 
x="646.8072289156626" y="126.28859060402684"/>
+  </node>
+</rspec>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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