* VCPU affinity
@ 2006-12-18 15:56 Ky Srinivasan
2006-12-18 16:01 ` Emmanuel Ackaouy
2006-12-18 16:05 ` Keir Fraser
0 siblings, 2 replies; 5+ messages in thread
From: Ky Srinivasan @ 2006-12-18 15:56 UTC (permalink / raw)
To: xen-devel
What is the best way to pin VCPUs. It looks like the implementation of affinity currently is at best only "soft".
Regards,
K. Y
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: VCPU affinity
2006-12-18 15:56 VCPU affinity Ky Srinivasan
@ 2006-12-18 16:01 ` Emmanuel Ackaouy
2006-12-18 17:08 ` Ky Srinivasan
2006-12-18 16:05 ` Keir Fraser
1 sibling, 1 reply; 5+ messages in thread
From: Emmanuel Ackaouy @ 2006-12-18 16:01 UTC (permalink / raw)
To: Ky Srinivasan; +Cc: xen-devel
On Dec 18, 2006, at 16:56, Ky Srinivasan wrote:
> What is the best way to pin VCPUs. It looks like the implementation of
> affinity currently is at best only "soft".
>
> Regards,
VCPU affinity should not be soft. By the time the set affinity hypercall
returns, the VCPU in question should be running on a physical CPU
set in its affinity mask.
If it's not behaving this way then something is broken. Can you send
more details?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: VCPU affinity
2006-12-18 16:01 ` Emmanuel Ackaouy
@ 2006-12-18 17:08 ` Ky Srinivasan
0 siblings, 0 replies; 5+ messages in thread
From: Ky Srinivasan @ 2006-12-18 17:08 UTC (permalink / raw)
To: Emmanuel Ackaouy; +Cc: xen-devel
I am chasing a bug we seem to be hitting where we are not able to specify the binding; will let you know once I know more.
Regards,
K. Y
>>> On Mon, Dec 18, 2006 at 11:01 AM, in message
<0951ba397e5752bf7a54f5ecaf67ad4e@gmail.com>, Emmanuel Ackaouy
<ackaouy@gmail.com> wrote:
> On Dec 18, 2006, at 16:56, Ky Srinivasan wrote:
>> What is the best way to pin VCPUs. It looks like the implementation of
>> affinity currently is at best only "soft".
>>
>> Regards,
>
> VCPU affinity should not be soft. By the time the set affinity hypercall
> returns, the VCPU in question should be running on a physical CPU
> set in its affinity mask.
>
> If it's not behaving this way then something is broken. Can you send
> more details?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: VCPU affinity
2006-12-18 15:56 VCPU affinity Ky Srinivasan
2006-12-18 16:01 ` Emmanuel Ackaouy
@ 2006-12-18 16:05 ` Keir Fraser
2006-12-18 17:14 ` Ky Srinivasan
1 sibling, 1 reply; 5+ messages in thread
From: Keir Fraser @ 2006-12-18 16:05 UTC (permalink / raw)
To: Ky Srinivasan, xen-devel
VCPUs will run only on CPUs in their affinity mask. If you want to pin to a
particular CPU then specify an affinity mask with only that CPU contained in
it.
-- Keir
On 18/12/06 15:56, "Ky Srinivasan" <ksrinivasan@novell.com> wrote:
> What is the best way to pin VCPUs. It looks like the implementation of
> affinity currently is at best only "soft".
>
> Regards,
>
> K. Y
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: VCPU affinity
2006-12-18 16:05 ` Keir Fraser
@ 2006-12-18 17:14 ` Ky Srinivasan
0 siblings, 0 replies; 5+ messages in thread
From: Ky Srinivasan @ 2006-12-18 17:14 UTC (permalink / raw)
To: xen-devel, Keir Fraser
Kier,
Looks like we may have a problem in our tool stack. If I pin the VCPUs from the command line, VCPUs stay bound to the specified physical processors. However, if the binding is specified in the VM config file, it does not work. Looks like we are not correctly handling the CPU affinity information. Will keep you posted once I learn more.
Regards,
K. Y
>>> On Mon, Dec 18, 2006 at 11:05 AM, in message
<C1AC6CC0.6429%keir@xensource.com>, Keir Fraser <keir@xensource.com> wrote:
> VCPUs will run only on CPUs in their affinity mask. If you want to pin to a
> particular CPU then specify an affinity mask with only that CPU contained in
> it.
>
> -- Keir
>
>
> On 18/12/06 15:56, "Ky Srinivasan" <ksrinivasan@novell.com> wrote:
>
>> What is the best way to pin VCPUs. It looks like the implementation of
>> affinity currently is at best only "soft".
>>
>> Regards,
>>
>> K. Y
>>
>>
>> _______________________________________________
>> Xen- devel mailing list
>> Xen- devel@lists.xensource.com
>> http://lists.xensource.com/xen- devel
>
>
> _______________________________________________
> Xen- devel mailing list
> Xen- devel@lists.xensource.com
> http://lists.xensource.com/xen- devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-12-18 17:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18 15:56 VCPU affinity Ky Srinivasan
2006-12-18 16:01 ` Emmanuel Ackaouy
2006-12-18 17:08 ` Ky Srinivasan
2006-12-18 16:05 ` Keir Fraser
2006-12-18 17:14 ` Ky Srinivasan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.