HP BL680c XenServer Administrator's Guide 4.1.0 - Page 83

contended XenServer Host. Legal weights

Page 83 highlights

Command line interface Parameter Name Description You can tune a VCPU's pinning with Type xe vm-param-set uuid= VCPUs-params:mask=1,2,3 A VM created from this template will then run on physical CPUs 1, 2, and 3 only. You can also tune the VCPU priority (xen scheduling) with the cap and weight parameters; for example xe vm-param-set uuid= VCPUs-params:weight=512 xe vm-param-set uuid= VCPUs-params:cap=100 VCPUs-max VCPUs-at-startup actions-after-crash console-uuids platform allowed-operations current-operations allowed-VBD-devices A VM based on this template with a weight of 512 will get twice as much CPU as a domain with a weight of 256 on a contended XenServer Host. Legal weights range from 1 to 65535 and the default is 256. The cap optionally fixes the maximum amount of CPU a VM based on this template will be able to consume, even if the XenServer Host has idle CPU cycles. The cap is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. Maximum number of VCPUs read/write Boot number of VCPUs read/write action to take if a VM based on this template crashes read/write virtual console devices read only set parameter platform-specific configuration read/write map parameter list of the operations allowed in this state read only set parameter A list of the operations that are currently in read only set parameter progress on this template list of VBD identifiers available for use, read only set parameter represented by integers of the range 0-15. This list is informational only, and other devices may be used (but may not work). 77

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Command line interface
77
Parameter Name
Description
Type
You can tune a VCPU's pinning with
xe vm-param-set uuid=<VM UUID> VCPUs-params:mask=1,2,3
A VM created from this template will then
run on physical CPUs 1, 2, and 3 only.
You can also tune the VCPU priority
(xen scheduling) with the
cap
and
weight
parameters; for example
xe vm-param-set uuid=<VM UUID> VCPUs-params:weight=512
xe vm-param-set uuid=<VM UUID> VCPUs-params:cap=100
A VM based on this template with a
weight of 512 will get twice as much CPU
as a domain with a weight of 256 on a
contended XenServer Host. Legal weights
range from 1 to 65535 and the default is
256.
The cap optionally fixes the maximum
amount of CPU a VM based on this
template will be able to consume, even if
the XenServer Host has idle CPU cycles.
The cap is expressed in percentage of
one physical CPU: 100 is 1 physical CPU,
50 is half a CPU, 400 is 4 CPUs, etc. The
default, 0, means there is no upper cap.
VCPUs-max
Maximum number of VCPUs
read/write
VCPUs-at-startup
Boot number of VCPUs
read/write
actions-after-crash
action to take if a VM based on this
template crashes
read/write
console-uuids
virtual console devices
read only set parameter
platform
platform-specific configuration
read/write map parameter
allowed-operations
list of the operations allowed in this state
read only set parameter
current-operations
A list of the operations that are currently in
progress on this template
read only set parameter
allowed-VBD-devices
list of VBD identifiers available for use,
represented by integers of the range 0-15.
This list is informational only, and other
devices may be used (but may not work).
read only set parameter