Commit 02dce731 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: dctcp node-cfgs use ip prefix param

parent f776d407
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment