-
Notifications
You must be signed in to change notification settings - Fork 21
/
.end-template.conf
84 lines (67 loc) · 1.98 KB
/
.end-template.conf
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
73
74
75
76
77
78
79
80
81
82
83
84
############### MOS configuration file ###############
#######################
# APPLICATION OPTIONS #
#######################
# application to run
application {
type = end
run = __app
core_mask = __coremask
}
#######################
# MOS-RELATED OPTIONS #
#######################
mos {
forward = 0
#######################
##### I/O OPTIONS #####
#######################
__num_memch
# devices used for MOS applications [mandatory]
netdev {__devicemask
}
#######################
### LOGGING OPTIONS ###
#######################
# NICs to print network statistics per second
# if enabled, mTCP will print xx Gbps and xx pps for RX and TX
stat_print =__devicelist
# A directory contains MOS system log files
mos_log = logs/
########################
## NETWORK PARAMETERS ##
########################
# This to configure static arp table
# (Destination IP address) (Destination MAC address)
arp_table {
}
# This is to configure static routing table
# (Destination address)/(Prefix) (Device name)
route_table {
}
##########################
## SINGLE/MULTI-PROCESS ##
##########################
# Leave this empty if you only want
# to run single-process mode
__multiprocess
### ADVANCED OPTIONS ###
########################
# if required, uncomment the following options and change them
# maximum concurrency per core [optional / default : 100000]
# (MOS-specific parameter for preallocation)
# max_concurrency = 100000
# disable the ring buffer [optional / default : 0]
# use disabled buffered managment only for standalone monitors.
# end host applications always need recv buffers for TCP!
# no_ring_buffers = 1
# receive buffer size of sockets [optional / default : 8192]
# rmem_size = 8192
# send buffer size of sockets [optional / default : 8192]
# wmem_size = 8192
# tcp timewait seconds [optional / default : 0]
# tcp_tw_interval = 30
# tcp timeout seconds [optional / default : 30]
# (set tcp_timeout = -1 to disable timeout checking)
# tcp_timeout = 30
}