.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "xlcpupool.cfg 5" .TH xlcpupool.cfg 5 2024-03-09 4.17.4-pre Xen .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME xlcpupool.cfg \- XL Cpupool Configuration File Syntax .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& /etc/xen/xlcpupool .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" To create a Cpupool with xl requires the provision of a cpupool config file. Typically these live in `/etc/xen/CPUPOOL.cfg` where CPUPOOL is the name of the cpupool. .SH SYNTAX .IX Header "SYNTAX" A cpupool config file consists of a series of \f(CW\*(C`KEY=VALUE\*(C'\fR pairs. .PP A value \f(CW\*(C`VALUE\*(C'\fR is one of: .IP "\fB""STRING""\fR" 4 .IX Item """STRING""" A string, surrounded by either single or double quotes. .IP \fBNUMBER\fR 4 .IX Item "NUMBER" A number, in either decimal, octal (using a \f(CW0\fR prefix) or hexadecimal (using an \f(CW\*(C`0x\*(C'\fR prefix). .IP "\fB[ VALUE, VALUE, ... ]\fR" 4 .IX Item "[ VALUE, VALUE, ... ]" A list of \f(CW\*(C`VALUES\*(C'\fR of the above types. Lists are homogeneous and are not nested. .PP The semantics of each \f(CW\*(C`KEY\*(C'\fR defines which form of \f(CW\*(C`VALUE\*(C'\fR is required. .SH OPTIONS .IX Header "OPTIONS" .SS "Mandatory Configuration Items" .IX Subsection "Mandatory Configuration Items" The following key is mandatory for any cpupool: .IP "\fBname=""NAME""\fR" 4 .IX Item "name=""NAME""" Specifies the name of the cpupool. Names of cpupools existing on a single host must be unique. .SS "Optional Configuration Items" .IX Subsection "Optional Configuration Items" The following options apply to guests of any type. .IP "\fBsched=""SCHED""\fR" 4 .IX Item "sched=""SCHED""" Specifies the scheduler which is used for the cpupool. Valid values for \f(CW\*(C`SCHED\*(C'\fR are: .RS 4 .IP \fBcredit\fR 4 .IX Item "credit" the credit scheduler .IP \fBcredit2\fR 4 .IX Item "credit2" the credit2 scheduler .IP \fBrtds\fR 4 .IX Item "rtds" the RTDS scheduler .RE .RS 4 .Sp The default scheduler is the one used for \f(CW\*(C`Pool\-0\*(C'\fR specified as boot parameter of the hypervisor. .RE .IP "\fBnodes=""NODES""\fR" 4 .IX Item "nodes=""NODES""" Specifies the cpus of the NUMA-nodes given in \f(CW\*(C`NODES\*(C'\fR (an integer or a list of integers) to be member of the cpupool. The free cpus in the specified nodes are allocated in the new cpupool. .IP "\fBcpus=""CPU\-LIST""\fR" 4 .IX Item "cpus=""CPU-LIST""" Specifies the cpus that will be member of the cpupool. All the specified cpus must be free, or creation will fail. \f(CW\*(C`CPU\-LIST\*(C'\fR may be specified as follows: .RS 4 .IP "[""2"", ""3"", ""5""]" 4 .IX Item "[""2"", ""3"", ""5""]" means that cpus 2,3,5 will be member of the cpupool. .IP """0\-3,5,^1""" 4 .IX Item """0-3,5,^1""" means that cpus 0,2,3 and 5 will be member of the cpupool. A "node:" or "nodes:" modifier can be used. E.g., "0,node:1,nodes:2\-3,^10\-13" means that pcpus 0, plus all the cpus of NUMA nodes 1,2,3 with the exception of cpus 10,11,12,13 will be members of the cpupool. .RE .RS 4 .Sp If neither \fBnodes\fR nor \fBcpus\fR are specified only the first free cpu found will be allocated in the new cpupool. .RE .SH FILES .IX Header "FILES" \&\fI/etc/xen/CPUPOOL.cfg\fR .SH BUGS .IX Header "BUGS" This document is a work in progress and contains items which require further documentation and which are generally incomplete (marked with XXX). However all options are included here whether or not they are fully documented. .PP Patches to improve incomplete items (or any other item) would be gratefully received on the xen\-devel@lists.xenproject.org mailing list. Please see for information on how to submit a patch to Xen.