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
02dce731
Commit
02dce731
authored
Sep 01, 2021
by
Antoine Kaufmann
Browse files
experiments: dctcp node-cfgs use ip prefix param
parent
f776d407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
experiments/simbricks/nodeconfig.py
experiments/simbricks/nodeconfig.py
+3
-3
No files found.
experiments/simbricks/nodeconfig.py
View file @
02dce731
...
...
@@ -253,7 +253,7 @@ class I40eDCTCPNode(NodeConfig):
'ethtool -K eth0 tso off'
,
'ip link set eth0 txqueuelen 13888'
,
f
'ip link set dev eth0 mtu
{
self
.
mtu
}
up'
,
f
'ip addr add
{
self
.
ip
}
/
24
dev eth0'
,
f
'ip addr add
{
self
.
ip
}
/
{
self
.
prefix
}
dev eth0'
,
]
class
CorundumDCTCPNode
(
NodeConfig
):
...
...
@@ -278,7 +278,7 @@ class CorundumDCTCPNode(NodeConfig):
return
super
().
prepare_post_cp
()
+
[
'insmod mqnic.ko'
,
'ip link set dev eth0 up'
,
f
'ip addr add
{
self
.
ip
}
/
24
dev eth0'
,
f
'ip addr add
{
self
.
ip
}
/
{
self
.
prefix
}
dev eth0'
,
]
class
DctcpServer
(
AppConfig
):
...
...
@@ -539,4 +539,4 @@ class MemcachedClient(AppConfig):
def
run_cmds
(
self
,
node
):
servers
=
[
ip
+
':11211'
for
ip
in
self
.
server_ips
]
servers
=
','
.
join
(
servers
)
return
[
f
'memaslap --binary --time 10s --server=
{
servers
}
--thread=
{
self
.
threads
}
--concurrency=
{
self
.
concurrency
}
--tps=
{
self
.
throughput
}
'
]
\ No newline at end of file
return
[
f
'memaslap --binary --time 10s --server=
{
servers
}
--thread=
{
self
.
threads
}
--concurrency=
{
self
.
concurrency
}
--tps=
{
self
.
throughput
}
--verbose'
]
\ No newline at end of file
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