Commit ce0d1366 authored by Hejing Li's avatar Hejing Li
Browse files

simple fix

parent 6ad98ddb
......@@ -201,12 +201,12 @@ class I40eDCTCPNode(NodeConfig):
'sysctl -w net.core.rmem_default=31457280',
'sysctl -w net.core.rmem_max=31457280',
'sysctl -w net.core.wmem_default=31457280',
'sysctl -w net.core.wmem_max = 31457280',
'sysctl -w net.core.optmem_max = 25165824',
'sysctl -w net.ipv4.tcp_mem = "786432 1048576 26777216"',
'sysctl -w net.ipv4.tcp_rmem = "8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_wmem = "8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_congestion_control = dctcp',
'sysctl -w net.core.wmem_max=31457280',
'sysctl -w net.core.optmem_max=25165824',
'sysctl -w net.ipv4.tcp_mem="786432 1048576 26777216"',
'sysctl -w net.ipv4.tcp_rmem="8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_wmem="8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_congestion_control=dctcp',
'sysctl -w net.ipv4.tcp_ecn=1'
]
......@@ -229,12 +229,12 @@ class CorundumDCTCPNode(NodeConfig):
'sysctl -w net.core.rmem_default=31457280',
'sysctl -w net.core.rmem_max=31457280',
'sysctl -w net.core.wmem_default=31457280',
'sysctl -w net.core.wmem_max = 31457280',
'sysctl -w net.core.optmem_max = 25165824',
'sysctl -w net.ipv4.tcp_mem = "786432 1048576 26777216"',
'sysctl -w net.ipv4.tcp_rmem = "8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_wmem = "8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_congestion_control = dctcp',
'sysctl -w net.core.wmem_max=31457280',
'sysctl -w net.core.optmem_max=25165824',
'sysctl -w net.ipv4.tcp_mem="786432 1048576 26777216"',
'sysctl -w net.ipv4.tcp_rmem="8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_wmem="8192 87380 33554432"',
'sysctl -w net.ipv4.tcp_congestion_control=dctcp',
'sysctl -w net.ipv4.tcp_ecn=1'
]
......
......@@ -249,7 +249,7 @@ def create_dctcp_hosts(e, num, name_prefix, net, nic_class, host_class,
host = host_class()
host.name = '%s.%d' % (name_prefix, i)
host.freq = cpu_freq
host.cpu_freq = cpu_freq
node_config = nc_class()
node_config.mtu = mtu
......
......@@ -17,11 +17,12 @@ types_of_app = ['DCTCPm']
num_pairs = 2
max_k = 199680
k_step = 8320
#k_step = 8320
k_step = 16640
link_rate_opt = '--LinkRate=10Gb/s ' # don't forget space at the end
link_latency_opt = '--LinkLatency=0 '
cpu_freq = '5GHz' #GHz
mtu = 9000
mtu = 4000
ip_start = '192.168.64.1'
......@@ -38,7 +39,7 @@ for h in types_of_host:
net = net_class()
net.opt = link_rate_opt + link_latency_opt + f'--EcnTh={k_val}'
e = exp.Experiment( h + '-' + c + '-' + 'dumbbell' + '-' + 'DCTCPm' + f'{k_val}')
e = exp.Experiment( h + '-' + c + '-' + 'dumbbell' + '-' + 'DCTCPm' + f'{k_val}' + f'-{mtu}')
e.add_network(net)
e.checkpoint = True
......
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