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
09e293da
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "36a8372b2884c40cc5b86f6f859b012dc8125b80"
Commit
09e293da
authored
Nov 29, 2020
by
Hejing Li
Browse files
Dctcp_i40e node tso on
parent
d605bacb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
experiments/modes/nodeconfig.py
experiments/modes/nodeconfig.py
+7
-1
No files found.
experiments/modes/nodeconfig.py
View file @
09e293da
...
...
@@ -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 o
ff
'
,
'ethtool -K eth0 tso o
n
'
,
'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'
]
...
...
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