"tests/vscode:/vscode.git/clone" did not exist on "e27142ac644b1ed77d9d60c55432fe74659520db"
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): ...@@ -253,7 +253,7 @@ class I40eDCTCPNode(NodeConfig):
'ethtool -K eth0 tso off', 'ethtool -K eth0 tso off',
'ip link set eth0 txqueuelen 13888', 'ip link set eth0 txqueuelen 13888',
f'ip link set dev eth0 mtu {self.mtu} up', 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): class CorundumDCTCPNode(NodeConfig):
...@@ -278,7 +278,7 @@ class CorundumDCTCPNode(NodeConfig): ...@@ -278,7 +278,7 @@ class CorundumDCTCPNode(NodeConfig):
return super().prepare_post_cp() + [ return super().prepare_post_cp() + [
'insmod mqnic.ko', 'insmod mqnic.ko',
'ip link set dev eth0 up', '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): class DctcpServer(AppConfig):
...@@ -539,4 +539,4 @@ class MemcachedClient(AppConfig): ...@@ -539,4 +539,4 @@ class MemcachedClient(AppConfig):
def run_cmds(self, node): def run_cmds(self, node):
servers = [ip + ':11211' for ip in self.server_ips] servers = [ip + ':11211' for ip in self.server_ips]
servers = ','.join(servers) servers = ','.join(servers)
return [f'memaslap --binary --time 10s --server={servers} --thread={self.threads} --concurrency={self.concurrency} --tps={self.throughput}'] return [f'memaslap --binary --time 10s --server={servers} --thread={self.threads} --concurrency={self.concurrency} --tps={self.throughput} --verbose']
\ No newline at end of file \ 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