|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ti
To: |
Dave Winchell <dwinchell@xxxxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks |
From: |
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
Date: |
Sat, 10 Nov 2007 10:55:09 +0000 |
Cc: |
"Shan, Haitao" <haitao.shan@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |
Delivery-date: |
Sat, 10 Nov 2007 02:50:00 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4734B36F.1080408@xxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcgjiCj5Z7DHlo97EdyYegAWy6hiGQ== |
Thread-topic: |
[Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks |
User-agent: |
Microsoft-Entourage/11.3.6.070618 |
On 9/11/07 19:22, "Dave Winchell" <dwinchell@xxxxxxxxxxxxxxx> wrote:
> Since I had a high error (~.03%) for the ASYNC method a couple of days ago,
> I ran another ASYNC test. I think there may have been something
> wrong with the code I used a couple of days ago for ASYNC. It may have been
> missing the immediate delivery of interrupt after context switch in.
>
> My results indicate that either SYNC or ASYNC give acceptable accuracy,
> each running consistently around or under .01%. MIXED has a fairly high
> error of
> greater than .03%. Probably too close to .05% ntp threshold for comfort.
> I don't have an overnight run with SYNC. I plan to leave SYNC running
> over the weekend. If you'd rather I can leave MIXED running instead.
>
> It may be too early to pick the protocol and I can run more overnight tests
> next week.
I'm a bit worried about any unwanted side effects of the SYNC+run_timer
approach -- e.g., whether timer wakeups will cause higher system-wide CPU
contention. I find it easier to think through the implications of ASYNC. I'm
surprised that MIXED loses time, and is less accurate than ASYNC. Perhaps it
delivers more timer interrupts than the other approaches, and each interrupt
event causes a small accumulated error?
Overall I would consider MIXED and ASYNC as favourites and if the latter is
actually more accurate then I can simply revert the changeset that
implemented MIXED.
Perhaps rather than running more of the same workloads you could try idle
VCPUs and I/O bound VCPUs (e.g., repeated large disc reads to /dev/null)? We
don't have any data on workloads that aren't CPU bound, so that's really an
obvious place to put any further effort imo.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, (continued)
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Keir Fraser
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks,
Keir Fraser <=
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
- Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
Re: [Xen-devel] [PATCH] Add a timer mode that disables pending missed ticks, Dave Winchell
|
|
|
|
|