xen-ia64-devel
RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 h
To: |
"Atsushi SAKAI" <sakaia@xxxxxxxxxxxxxx>, "Alex Williamson" <alex.williamson@xxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx> |
Subject: |
RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang |
From: |
"Xu, Anthony" <anthony.xu@xxxxxxxxx> |
Date: |
Wed, 12 Jul 2006 21:13:19 +0800 |
Cc: |
Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx |
Delivery-date: |
Wed, 12 Jul 2006 06:16:21 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-ia64-devel-request@lists.xensource.com?subject=help> |
List-id: |
Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com> |
List-post: |
<mailto:xen-ia64-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
Acalo0evrVIySF6lQtGyAL/2suA0ZwADiwAg |
Thread-topic: |
[Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang |
>From: Atsushi SAKAI
>Sent: 2006?7?12? 19:05
>My primary motivation is correct display of xenmon.py and xentop in BVT/CREDIT.
>(N.B. SEDF displayed as same as x86, but BVT/CREDIT are not)
>If only domU emulation is applied, it is a half way from my motivation.
>Is dom0 dispatch another home work?
>
I suspect the slowness is not due to dom0 being scheduled out, but due to
hlt_timer
didn't work as expected.
set_timer(&v->arch.hlt_timer, vcpu_get_next_timer_ns(v));
do_sched_op_compat(SCHEDOP_block, 0);
There is a time window between set_timer and dom0 being scheduled out, and
psr.i
is 1. So if hlt_timer fires before do_sched_op_compat being called, dom0 will
not be woken up by hlt_timer, and there is no timer interrupt for dom0 until
domo
is woken up ,yes, dom0 can be woken up by other external interrupts, but not by
timer interrupt. And since dom0 is involved in VTIdomain bootup, this may lead
to slowness of VTIdomain bootup.
Above is my analysis, there isn't any evidence.
You can do experiment to check it.
Change above code sequence as following, this may reduce the impact of time
window.
set_timer(&v->arch.hlt_timer, cycle_to_ns(local_cpu_data->itm_delta)+NOW());
do_sched_op_compat(SCHEDOP_block, 0);
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Xu, Anthony
- RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang,
Xu, Anthony <=
- RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Xu, Anthony
- RE: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Xu, Anthony
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Atsushi SAKAI
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Isaku Yamahata
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Atsushi SAKAI
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Alex Williamson
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Alex Williamson
- Re: [Xen-ia64-devel] [IPF-ia64] with Cset 10690, creating aVTImakexen0 hang, Atsushi SAKAI
|
|
|