1*76404edcSAsim Jamshed############### MOS configuration file ############### 2*76404edcSAsim Jamshed 3*76404edcSAsim Jamshed####################### 4*76404edcSAsim Jamshed# MOS-RELATED OPTIONS # 5*76404edcSAsim Jamshed####################### 6*76404edcSAsim Jamshedmos { 7*76404edcSAsim Jamshed forward = __forward 8*76404edcSAsim Jamshed 9*76404edcSAsim Jamshed ####################### 10*76404edcSAsim Jamshed ##### I/O OPTIONS ##### 11*76404edcSAsim Jamshed ####################### 12*76404edcSAsim Jamshed __num_memch 13*76404edcSAsim Jamshed # devices used for MOS applications [mandatory] 14*76404edcSAsim Jamshed netdev {__devicemask 15*76404edcSAsim Jamshed } 16*76404edcSAsim Jamshed 17*76404edcSAsim Jamshed ####################### 18*76404edcSAsim Jamshed ### LOGGING OPTIONS ### 19*76404edcSAsim Jamshed ####################### 20*76404edcSAsim Jamshed # NICs to print network statistics per second 21*76404edcSAsim Jamshed # if enabled, mTCP will print xx Gbps and xx pps for RX and TX 22*76404edcSAsim Jamshed stat_print =__devicelist 23*76404edcSAsim Jamshed 24*76404edcSAsim Jamshed # A directory contains MOS system log files 25*76404edcSAsim Jamshed mos_log = logs/ 26*76404edcSAsim Jamshed 27*76404edcSAsim Jamshed ######################## 28*76404edcSAsim Jamshed ## NETWORK PARAMETERS ## 29*76404edcSAsim Jamshed ######################## 30*76404edcSAsim Jamshed # This to configure static arp table 31*76404edcSAsim Jamshed # (Destination IP address) (Destination MAC address) 32*76404edcSAsim Jamshed arp_table { 33*76404edcSAsim Jamshed } 34*76404edcSAsim Jamshed 35*76404edcSAsim Jamshed # This is to configure static routing table 36*76404edcSAsim Jamshed # (Destination address)/(Prefix) (Device name) 37*76404edcSAsim Jamshed route_table { 38*76404edcSAsim Jamshed } 39*76404edcSAsim Jamshed 40*76404edcSAsim Jamshed # This is to configure static bump-in-the-wire NIC forwarding table 41*76404edcSAsim Jamshed # DEVNIC_A DEVNIC_B ## (e.g. dpdk0 dpdk1) 42*76404edcSAsim Jamshed nic_forward_table { 43*76404edcSAsim Jamshed } 44*76404edcSAsim Jamshed 45*76404edcSAsim Jamshed ######################## 46*76404edcSAsim Jamshed ### ADVANCED OPTIONS ### 47*76404edcSAsim Jamshed ######################## 48*76404edcSAsim Jamshed # if required, uncomment the following options and change them 49*76404edcSAsim Jamshed 50*76404edcSAsim Jamshed # maximum concurrency per core [optional / default : 100000] 51*76404edcSAsim Jamshed # (MOS-specific parameter for preallocation) 52*76404edcSAsim Jamshed # max_concurrency = 100000 53*76404edcSAsim Jamshed 54*76404edcSAsim Jamshed # disable the ring buffer [optional / default : 0] 55*76404edcSAsim Jamshed # use disabled buffered managment only for standalone monitors. 56*76404edcSAsim Jamshed # end host applications always need recv buffers for TCP! 57*76404edcSAsim Jamshed # no_ring_buffers = 1 58*76404edcSAsim Jamshed 59*76404edcSAsim Jamshed # receive buffer size of sockets [optional / default : 8192] 60*76404edcSAsim Jamshed # rmem_size = 8192 61*76404edcSAsim Jamshed 62*76404edcSAsim Jamshed # send buffer size of sockets [optional / default : 8192] 63*76404edcSAsim Jamshed # wmem_size = 8192 64*76404edcSAsim Jamshed 65*76404edcSAsim Jamshed # tcp timewait seconds [optional / default : 0] 66*76404edcSAsim Jamshed # tcp_tw_interval = 30 67*76404edcSAsim Jamshed 68*76404edcSAsim Jamshed # tcp timeout seconds [optional / default : 30] 69*76404edcSAsim Jamshed # (set tcp_timeout = -1 to disable timeout checking) 70*76404edcSAsim Jamshed # tcp_timeout = 30 71*76404edcSAsim Jamshed} 72