-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdpdk_client.conf
More file actions
72 lines (58 loc) · 1.67 KB
/
dpdk_client.conf
File metadata and controls
72 lines (58 loc) · 1.67 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
############### mtcp configuration file ###############
# The underlying I/O module you want to use. Please
# enable only one out of the two.
#io = psio
io = dpdk
# No. of cores setting (enabling this option will override
# the `cpu' config for those applications that accept
# num_cores as command line arguments)
#
# e.g. in case ./epwget is executed with `-N 4', the
# mtcp core will still invoke 8 mTCP threads if the
# following line is uncommented.
#num_cores = 8
# Number of memory channels per processor socket (dpdk-only)
num_mem_ch = 1
# Used port (please adjust accordingly)
#------ PSIO ports -------#
#port = xge0 xge1
#port = xge
#------ DPDK ports -------#
port = dpdk0
#port = dpdk0:0
#port = dpdk0:1
# Enable multi-process support (under development)
#multiprocess = 0 master
#multiprocess = 1
# Congestion control algorithm
# (only available when configured with --enable-ccp)
# cc = reno
# cc = cubic
# Receive buffer size of sockets
rcvbuf = 524288
#rcvbuf = 16384
# Send buffer size of sockets
#sndbuf = 2048
sndbuf = 524288
#sndbuf = 41943040
#sndbuf = 146000
# Maximum concurrency per core
max_concurrency = 100
# Maximum number of socket buffers per core
# Set this to small value if there are many idle connections
max_num_buffers = 100
# TCO timeout seconds
# (tcp_timeout = -1 can disable the timeout check)
tcp_timeout = 30
# TCP timewait seconds
tcp_timewait = 0
# Interface to print stats (please adjust accordingly)
# You can enable multiple ports in a line
#------ PSIO ports -------#
#stat_print = xge0
#stat_print = xge1
#------ DPDK ports -------#
#stat_print = dpdk0
#stat_print = p2p1
#stat_print = 10gp1
#######################################################