|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Improve xm vcpu-pin command for releasing CPU affini
Hi,
Currently, if users would like to release CPU affinity of virtual
CPU, they should specify the following values to the third argument
of the xm vcpu-pin command.
- 0-<Maximum physical CPU number>, or
- 0-63
Generally, almost all users know the number of the physical CPU of
the machines they are using. Therefore when they would like to
release CPU affinity of virtual CPU, they will be able to specify
an appropriate value to the third argument of the xm vcpu-pin
command. However, I think it will be more convenient if they can
release CPU affinity by specifying a special keyword.
This patch improves the third argument of the xm vcpu-pin command.
They are able to release CPU affinity of virtual CPU by specifying
the special keyword "all".
# xm vcpu-list vm1
Name ID VCPU CPU State Time(s) CPU Affinity
vm1 9 0 1 -b- 552.7 1
vm1 9 1 0 -b- 560.2 0
# xm vcpu-pin vm1 0 all
# xm vcpu-list vm1
Name ID VCPU CPU State Time(s) CPU Affinity
vm1 9 0 0 -b- 553.1 any cpu
vm1 9 1 0 -b- 560.6 0
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
xm_vcpupin.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Improve xm vcpu-pin command for releasing CPU affinity,
Masaki Kanno <=
|
|
|
|
|