-
Notifications
You must be signed in to change notification settings - Fork 1
/
loopback_run.toml
26 lines (22 loc) · 1.75 KB
/
loopback_run.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[netbricks]
name = "TcpGenerator"
master_core = 5
pool_size = 2048 # default 2048
cache_size = 128 # default 32
mbuf_cnt = 65535 # default 65535, should be 2**N -1
cores = [ 1, 2, 3, ]
ports = [
{ name="7:00.0", rxd=4096, txd= 4096, cores = [1, 2, 3, ], checksum = false, loopback = true, kni="virtio:virtio_user0", fdir = { pballoc="RteFdirPballoc256k", mode="RteFdirModePerfect", ipv4_mask= {src_ip="0.0.0.0", dst_ip="FFFFFFFF"}, src_port_mask="0", dst_port_mask="E000"}, flow_steering = "Port" },
{ name="kni:1", rxd=64, txd=64, cores = [1], k_cores = [0], namespace="nskni", mac="a0:36:9f:82:9c:fc", ipnet="192.168.222.2/24" },
{ name="virtio:virtio_user0,path=/dev/vhost-net,iface=tap00,queues={},queue_size=1024", rxd=64, txd=64, cores = [1], namespace="nsvirtio00", mac="a0:36:9f:82:9c:fc", ipnet="192.168.222.2/24" }
]
vdev = [ "net_kni0" ] # for use of vdev with KNI PMD, see https://dpdk.org/doc/guides/nics/kni.html
[engine]
engine = { port=20001, timeouts= { established= 4000 }, cps_limit=380000, max_open= 3000, detailed_records= false, fin_by_client= 100, fin_by_server= 1 }
targets = [ { id = "tcpgen_0", ip = "192.168.222.2", mac="a0:36:9f:82:9c:fc" , port = 65535 },
{ id = "tcpgen_1", ip = "192.168.222.2", mac="a0:36:9f:82:9c:fc" , port = 57343 },
{ id = "tcpgen_2", ip = "192.168.222.2", mac="a0:36:9f:82:9c:fc" , port = 49151 },
# { id = "tcpgen_3", ip = "192.168.222.2", mac="a0:36:9f:82:9c:fc" , port = 40959 },
# { id = "tcpgen_4", ip = "192.168.222.2", mac="a0:36:9f:82:9c:fc" , port = 32767 },
]
test_size = 2000000