Reorganize source tree to use single autotools instance
[vpp.git] / src / vpp / conf / startup.conf
1
2 unix {
3   nodaemon
4   log /tmp/vpp.log
5   full-coredump
6 }
7
8 api-trace {
9   on
10 }
11
12 api-segment {
13   gid vpp
14 }
15
16 cpu {
17         ## In the VPP there is one main thread and optionally the user can create worker(s)
18         ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
19
20         ## Manual pinning of thread(s) to CPU core(s)
21
22         ## Set logical CPU core where main thread runs
23         # main-core 1
24
25         ## Set logical CPU core(s) where worker threads are running
26         # corelist-workers 2-3,18-19
27
28         ## Automatic pinning of thread(s) to CPU core(s)
29
30         ## Sets number of CPU core(s) to be skipped (1 ... N-1)
31         ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
32         ## The main thread is automatically pinned to the first available CPU core and worker(s)
33         ## are pinned to next free CPU core(s) after core assigned to main thread
34         # skip-cores 4
35
36         ## Specify a number of workers to be created
37         ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
38         ## and main thread's CPU core
39         # workers 2
40
41         ## Set scheduling policy and priority of main and worker threads
42
43         ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
44         ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
45         # scheduler-policy fifo
46
47         ## Scheduling priority is used only for "real-time policies (fifo and rr),
48         ## and has to be in the range of priorities supported for a particular policy
49         # scheduler-priority 50
50 }
51
52 dpdk {
53         ## Change default settings for all intefaces
54         # dev default {
55                 ## Number of receive queues, enables RSS
56                 ## Default is 1
57                 # num-rx-queues 3
58
59                 ## Number of transmit queues, Default is equal
60                 ## to number of worker threads or 1 if no workers treads
61                 # num-tx-queues 3
62
63                 ## Number of descriptors in transmit and receive rings
64                 ## increasing or reducing number can impact performance
65                 ## Default is 1024 for both rx and tx
66                 # num-rx-desc 512
67                 # num-tx-desc 512
68
69                 ## VLAN strip offload mode for interface
70                 ## Default is off
71                 # vlan-strip-offload on
72         # }
73
74         ## Whitelist specific interface by specifying PCI address
75         # dev 0000:02:00.0
76
77         ## Whitelist specific interface by specifying PCI address and in
78         ## addition specify custom parameters for this interface
79         # dev 0000:02:00.1 {
80         #       num-rx-queues 2
81         # }
82
83         ## Change UIO driver used by VPP, Options are: uio_pci_generic, vfio-pci
84         ## and igb_uio (default)
85         # uio-driver uio_pci_generic
86
87         ## Disable mutli-segment buffers, improves performance but
88         ## disables Jumbo MTU support
89         # no-multi-seg
90
91         ## Increase number of buffers allocated, needed only in scenarios with
92         ## large number of interfaces and worker threads. Value is per CPU socket.
93         ## Default is 32768
94         # num-mbufs 128000
95
96         ## Change hugepages allocation per-socket, needed only if there is need for
97         ## larger number of mbufs. Default is 256M on each detected CPU socket
98         # socket-mem 2048,2048
99 }