From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 0/2] Improve hpet accuracy Date: Tue, 10 Jun 2008 13:42:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0651908718==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave Winchell , dan.magenheimer@oracle.com Cc: xen-devel , Ben Guthro List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0651908718== Content-type: multipart/alternative; boundary="B_3295950140_23939618" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3295950140_23939618 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 10/6/08 13:34, "Dave Winchell" wrote: >> > Yes, the rate ends up being about half the normal rate because >> > I toss the interrupt if it doesn't meet the requirement. If, in testin= g, we >> find >> > a guest that has a problem with half the normal rate, we can fine tune >> > the policy. For example, instead of discarding set a small timer. >=20 > A better solution is to set the new period timer at end-of-interrupt time > (in the callback) instead of delivery time (timer expiration time). > This way the rate will be very close to what the guest expects. > I think I'll make this change. Yes, that=B9s what I thought you=B9d done. It sounds nicer to me. -- Keir --B_3295950140_23939618 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] [PATCH 0/2] Improve hpet accuracy


On 10/6/08 13:34, "Dave Winchell" <dwinchell@virtualiron.com&g= t; wrote:

> Yes, the rate ends up being about half the normal = rate because
> I toss the interrupt if it doesn't meet the requirement. If, in testin= g, we find
> a guest that has a problem with half the normal rate, we can fine tune=
> the policy. For example, instead of discarding set a small timer.

A better solution is to set the new period timer at end-of-interrupt time (in the callback) instead of delivery time (timer expiration time).
This way the rate will be very close to what the guest expects.
I think I'll make this change.

Yes, that’s what I thought you’d done. It sounds nicer to me.
 -- Keir
--B_3295950140_23939618-- --===============0651908718== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0651908718==--