xenserver: Renice netback process to priority 0 by default.
[sliver-openvswitch.git] / xenserver / etc_sysconfig_vswitch.example
1 ### Configuration options for vswitch
2
3 # Copyright (C) 2009 Nicira Networks, Inc.
4 #
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved.  This file is offered as-is,
8 # without warranty of any kind.
9
10 # VSWITCH_BASE: Root directory where vswitch binaries are installed
11 # VSWITCH_BASE=/root/vswitch/openvswitch/build
12
13 # ENABLE_BRCOMPAT: If 'y' than emulate linux bridging interfaces
14 #    using the brcompat kernel module and ovs-brcompatd daemon
15 # ENABLE_BRCOMPAT=y
16
17 # ENABLE_FAKE_PROC_NET: If 'y' then emulate linux bonding and vlan
18 #    files in /proc as if the bonding and vlan demultiplexing done in
19 #    ovs-vswitchd were being implemented using existing Linux mechanisms.
20 #    This is useful in some cases when replacing existing solutions.
21 # ENABLE_FAKE_PROC_NET=y
22
23 # FORCE_COREFILES: If 'y' then core files will be enabled.
24 # FORCE_COREFILES=y
25
26 # COREFILE_PATTERN: Pattern used to determine path and filename for
27 #     core files when FORCE_COREFILES is 'y'.  This is Linux specific.
28 #     See the manpage for "core".
29 # COREFILE_PATTERN="/var/log/%e-%t"
30
31 # VSWITCHD_CONF: File in which ovs-vswitchd stores its configuration.
32 # VSWITCHD_CONF=/etc/ovs-vswitchd.conf
33
34 # VSWITCHD_PIDFILE: File in which to store the pid of the running
35 #     ovs-vswitchd.
36 # VSWITCHD_PIDFILE=/var/run/ovs-vswitchd.pid
37
38 # VSWITCHD_RUN_DIR: Set the directory in which ovs-vswitchd should be
39 #     run.  This mainly affects where core files will be placed.
40 # VSWITCHD_RUN_DIR=/var/xen/vswitch
41
42 # VSWITCHD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
43 #     processes.
44 # VSWITCHD_PRIORITY=-5
45
46 # VSWITCHD_NETBACK_PRIORITY: "nice" priority at which to run netback.
47 #     It is a good idea to run ovs-vswitchd at a higher priority than
48 #     netback to ensure that it gets enough CPU time to set up flows
49 #     (bug #1656).  Set this to 'default' to avoid changing netback's
50 #     priority.
51 # VSWITCHD_NETBACK_PRIORITY=0
52
53 # VSWITCHD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
54 # VSWITCHD_LOGFILE=/var/log/ovs-vswitchd.log
55
56 # VSWITCHD_FILE_LOGLEVEL: Log level at which to log into the
57 #     VSWITCHD_LOG file.  If this is null or not set the logfile will
58 #     not be created and nothing will be sent to it.  This is the
59 #     default.  The available options are: EMER, WARN, INFO and DBG.
60 # VSWITCHD_FILE_LOGLEVEL=""
61
62 # VSWITCHD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
63 #     this is null or not set the default is to log to syslog
64 #     emergency and warning level messages only.
65 # VSWITCHD_SYSLOG_LOGLEVEL="WARN"
66
67 # BRCOMPATD_PIDFILE: File in which to store the pid of the running
68 #     ovs-brcompatd (the Linux bridge compatibility daemon for ovs-vswitchd).
69 #     If this is the empty string, ovs-brcompatd will not be started and
70 #     the brcompat_mod kernel module will not be inserted.  Note that
71 #     the default is to use brcompat!
72 # BRCOMPATD_PIDFILE=/var/run/ovs-brcompatd.pid
73
74 # BRCOMPATD_RUN_DIR: Set the directory in which ovs-brcompatd should be
75 #     run.  This mainly affects where core files will be placed.
76 # BRCOMPATD_RUN_DIR=/var/xen/vswitch
77
78 # BRCOMPATD_PRIORITY: "nice" priority at which to run ovs-vswitchd and related
79 #     processes.
80 # BRCOMPATD_PRIORITY=-5
81
82 # BRCOMPATD_LOGFILE: File to send the FILE_LOGLEVEL log messages to.
83 # BRCOMPATD_LOGFILE=/var/log/ovs-brcompatd.log
84
85 # BRCOMPATD_FILE_LOGLEVEL: Log level at which to log into the
86 #     BRCOMPATD_LOG file.  If this is null or not set the logfile will
87 #     not be created and nothing will be sent to it.  This is the
88 #     default.  The available options are: EMER, WARN, INFO and DBG.
89 # BRCOMPATD_FILE_LOGLEVEL=""
90
91 # BRCOMPATD_SYSLOG_LOGLEVEL: Log level at which to log into syslog.  If
92 #     this is null or not set the default is to log to syslog
93 #     emergency and warning level messages only.
94 # BRCOMPATD_SYSLOG_LOGLEVEL="WARN"