From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzx0s-0004pD-90 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 12:26:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kzx0p-0004oy-Qk for qemu-devel@nongnu.org; Tue, 11 Nov 2008 12:26:48 -0500 Received: from [199.232.76.173] (port=49868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzx0p-0004ov-GG for qemu-devel@nongnu.org; Tue, 11 Nov 2008 12:26:47 -0500 Received: from qw-out-1920.google.com ([74.125.92.150]:60293) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kzx0p-0004zg-88 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 12:26:47 -0500 Received: by qw-out-1920.google.com with SMTP id 5so2152878qwc.4 for ; Tue, 11 Nov 2008 09:26:45 -0800 (PST) Message-ID: <4919C050.3060100@codemonkey.ws> Date: Tue, 11 Nov 2008 11:26:40 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RESEND][PATCH 0/3] Fix guest time drift under heavy load. 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> <20081111144324.GE20617@redhat.com> In-Reply-To: <20081111144324.GE20617@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Paul Brook , qemu-devel@nongnu.org Gleb Natapov wrote: > 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. > eek, fsync is actually wrong here because there may be pending requests in flight that fsync won't take into account. We should be doing an aio_fsync(). You're using IDE right? Regards, Anthony Liguori > -- > Gleb. >