Debian Codegraph @

docs/man/xlcpupool.cfg.5.pod

raw
1 =head1 NAME
2
3 xlcpupool.cfg - XL Cpupool Configuration File Syntax
4
5 =head1 SYNOPSIS
6
7 /etc/xen/xlcpupool
8
9 =head1 DESCRIPTION
10
11 To create a Cpupool with xl requires the provision of a cpupool config
12 file. Typically these live in `/etc/xen/CPUPOOL.cfg` where CPUPOOL is
13 the name of the cpupool.
14
15 =head1 SYNTAX
16
17 A cpupool config file consists of a series of C<KEY=VALUE> pairs.
18
19 A value C<VALUE> is one of:
20
21 =over 4
22
23 =item B<"STRING">
24
25 A string, surrounded by either single or double quotes.
26
27 =item B<NUMBER>
28
29 A number, in either decimal, octal (using a C<0> prefix) or
30 hexadecimal (using an C<0x> prefix).
31
32 =item B<[ VALUE, VALUE, ... ]>
33
34 A list of C<VALUES> of the above types. Lists are homogeneous and are
35 not nested.
36
37 =back
38
39 The semantics of each C<KEY> defines which form of C<VALUE> is required.
40
41 =head1 OPTIONS
42
43 =head2 Mandatory Configuration Items
44
45 The following key is mandatory for any cpupool:
46
47 =over 4
48
49 =item B<name="NAME">
50
51 Specifies the name of the cpupool. Names of cpupools existing on a
52 single host must be unique.
53
54 =back
55
56 =head2 Optional Configuration Items
57
58 The following options apply to guests of any type.
59
60 =over 4
61
62 =item B<sched="SCHED">
63
64 Specifies the scheduler which is used for the cpupool. Valid
65 values for C<SCHED> are:
66
67 =over 4
68
69 =item B<credit>
70
71 the credit scheduler
72
73 =item B<credit2>
74
75 the credit2 scheduler
76
77 =item B<rtds>
78
79 the RTDS scheduler
80
81 =back
82
83 The default scheduler is the one used for C<Pool-0> specified as
84 boot parameter of the hypervisor.
85
86 =item B<nodes="NODES">
87
88 Specifies the cpus of the NUMA-nodes given in C<NODES> (an integer or
89 a list of integers) to be member of the cpupool. The free cpus in the
90 specified nodes are allocated in the new cpupool.
91
92 =item B<cpus="CPU-LIST">
93
94 Specifies the cpus that will be member of the cpupool. All the specified
95 cpus must be free, or creation will fail. C<CPU-LIST> may be specified
96 as follows:
97
98 =over 4
99
100 =item ["2", "3", "5"]
101
102 means that cpus 2,3,5 will be member of the cpupool.
103
104 =item "0-3,5,^1"
105
106 means that cpus 0,2,3 and 5 will be member of the cpupool. A "node:" or
107 "nodes:" modifier can be used. E.g., "0,node:1,nodes:2-3,^10-13" means
108 that pcpus 0, plus all the cpus of NUMA nodes 1,2,3 with the exception
109 of cpus 10,11,12,13 will be members of the cpupool.
110
111 =back
112
113 If neither B<nodes> nor B<cpus> are specified only the first free cpu
114 found will be allocated in the new cpupool.
115
116 =back
117
118 =head1 FILES
119
120 F</etc/xen/CPUPOOL.cfg>
121
122 =head1 BUGS
123
124 This document is a work in progress and contains items which require
125 further documentation and which are generally incomplete (marked with
126 XXX). However all options are included here whether or not they are
127 fully documented.
128
129 Patches to improve incomplete items (or any other item) would be
130 gratefully received on the [email protected] mailing
131 list. Please see L<https://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches> for
132 information on how to submit a patch to Xen.
133