Skip to contentSkip to conversation

Question to [PATCH 2 of 3] PoD: Allow pod_set_cache_target hypercall to be preempted

DISCUSSION Dietmar Hahn 2 participants 3 messages Mar 15, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

we stumbled over this problem fixed in
http://lists.xensource.com/archives/html/xen-devel/2011-01/msg01155.html
on SLES11 SP1 with domU's with memory >= 64GB.
The effect was that dom0 seemed to hang even though our dom0 were running on 3 cpus.
Now my question:
I had a look at hypercall_create_continuation() and my understanding is that the caller on this cpu is prepared to start the hypercall again after getting scheduled next time and the hypercall is finished immediately to deliver irqs and events.
But what about the other cpus in dom0? Are these waiting for an irq/event from the cpu handling the long running hypercall?
How do these benefit from this hypercall continuation?
Thanks!

Dietmar.

Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Dietmar Hahn

I had a look at hypercall_create_continuation() and my understanding is that the caller on this cpu is prepared to start the hypercall again after getting scheduled next time and the hypercall is finished immediately to deliver irqs and events.
But what about the other cpus in dom0? Are these waiting for an irq/event from the cpu handling the long running hypercall?
How do these benefit from this hypercall continuation?

One vCPU stuck in a long running hypercall can, depending on what locks/mutexes/semaphores it holds, keep other vCPU-s in the same domain from making progress. Whether that's what happens in your case can only be determined by looking at what those other vCPU-s were doing (or trying to do) at the time of the hang (from SysRq-t or '0' [or 'd'] debug key output).

Jan

#2 lore raw

Am 15.03.2011 schrieb "Jan Beulich <[email protected]>":

Quoted 9 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line · Dietmar Hahn

I had a look at hypercall_create_continuation() and my understanding is that the caller on this cpu is prepared to start the hypercall again after getting scheduled next time and the hypercall is finished immediately to deliver irqs and events.
But what about the other cpus in dom0? Are these waiting for an irq/event from the cpu handling the long running hypercall?
How do these benefit from this hypercall continuation?

Quoted 9 lines

One vCPU stuck in a long running hypercall can, depending on what locks/mutexes/semaphores it holds, keep other vCPU-s in the same domain from making progress. Whether that's what happens in your case can only be determined by looking at what those other vCPU-s were doing (or trying to do) at the time of the hang (from SysRq-t or '0' [or 'd'] debug key output).

Jan

OK, thanks!

Dietmar.

Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel