Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
10702670
Commit
10702670
authored
Nov 10, 2020
by
Jialin Li
Browse files
experiments: add nopaxos replica and client
parent
e41360ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
experiments/modes/nodeconfig.py
experiments/modes/nodeconfig.py
+11
-0
No files found.
experiments/modes/nodeconfig.py
View file @
10702670
...
...
@@ -201,3 +201,14 @@ class IperfUDPClient(AppConfig):
rate
=
'150m'
def
run_cmds
(
self
,
node
):
return
[
'iperf -c '
+
self
.
server_ip
+
' -u -b '
+
self
.
rate
]
class
NOPaxosReplica
(
AppConfig
):
index
=
0
def
run_cmds
(
self
,
node
):
return
[
'/root/nopaxos/bench/replica -c /root/nopaxos.config -i '
+
str
(
self
.
index
)
+
' -m nopaxos'
]
class
NOPaxosClient
(
AppConfig
):
def
run_cmds
(
self
,
node
):
return
[
'/root/nopaxos/bench/client -c /root/nopaxos.config '
+
'-m nopaxos -n 2000'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment