From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzuWb-00069y-Gy for qemu-devel@nongnu.org; Tue, 11 Nov 2008 09:47:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzuWY-000693-2M for qemu-devel@nongnu.org; Tue, 11 Nov 2008 09:47:25 -0500 Received: from [199.232.76.173] (port=55786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzuWX-00068u-RG for qemu-devel@nongnu.org; Tue, 11 Nov 2008 09:47:21 -0500 Received: from mx2.redhat.com ([66.187.237.31]:59294) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzuWX-00036L-Je for qemu-devel@nongnu.org; Tue, 11 Nov 2008 09:47:21 -0500 Date: Tue, 11 Nov 2008 16:43:24 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [RESEND][PATCH 0/3] Fix guest time drift under heavy load. Message-ID: <20081111144324.GE20617@redhat.com> References: <200811061424.43689.paul@codesourcery.com> <491301C9.40506@codemonkey.ws> <20081106145142.GA29861@redhat.com> <49130F54.4060907@codemonkey.ws> <20081108083620.GB19381@redhat.com> <491711AB.7000806@codemonkey.ws> <20081110143750.GA20617@redhat.com> <49185247.70905@codemonkey.ws> <20081110152925.GB20617@redhat.com> <49185744.6010500@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49185744.6010500@codemonkey.ws> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Paul Brook , qemu-devel@nongnu.org On Mon, Nov 10, 2008 at 09:46:12AM -0600, Anthony Liguori wrote: > Gleb Natapov wrote: >> On Mon, Nov 10, 2008 at 09:24:55AM -0600, Anthony Liguori wrote: >> >>> Gleb Natapov wrote: >>> >>>> On Sun, Nov 09, 2008 at 10:36:59AM -0600, Anthony Liguori wrote: >>>> >>>> >>>> >>>>> Otherwise, I'm curious if you have any insight into where we're >>>>> pausing for 10ms that's causing the missed interrupt? >>>>> >>>>> >>>> Don't know yet. >>>> >>> What's your full command line? >>> >>> >> /home/gleb/install/qemu/org/bin/qemu-system-x86_64 -hda Windows2003.raw -m 1024 -net >> nic,model=rtl8139 -net user -vnc 172.17.10.111:1 -usbdevice tablet >> > > -usbdevice tablet may be the culprit. Is the guest doing an significant IO? > -usbdevice tablet has nothing to do with it. Qemu misses interrupt even without this option and with SDL screen it misses them in bunches when SDL redraws a screen. In case of vnc qemu misses interrupt because of fsync() call in raw_flush(), or so my instrumentation shows. -- Gleb.