"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "36a8372b2884c40cc5b86f6f859b012dc8125b80"
Commit 09e293da authored by Hejing Li's avatar Hejing Li
Browse files

Dctcp_i40e node tso on

parent d605bacb
......@@ -215,7 +215,7 @@ class I40eDCTCPNode(NodeConfig):
return super().prepare_post_cp() + [
'modprobe i40e',
'ethtool -G eth0 rx 4096 tx 4096',
'ethtool -K eth0 tso off',
'ethtool -K eth0 tso on',
'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',
......@@ -265,6 +265,12 @@ class DctcpClient(AppConfig):
'sleep 20'
]
class PingClient(AppConfig):
server_ip = '192.168.64.1'
def run_cmds(self, node):
return [f'ping {self.server_ip} -c 100']
class IperfTCPServer(AppConfig):
def run_cmds(self, node):
return ['iperf -s -l 32M -w 32M']
......
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