From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: Paravirtualised drivers for fully virtualised domains, rev9 Date: Mon, 14 Aug 2006 10:12:28 +0100 Message-ID: <20060814091228.GA3897@cam.ac.uk> References: <20060810110838.GA4114@cam.ac.uk> <20060811101704.GA3476@cam.ac.uk> <1155292304.7740.11.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0567351697==" Return-path: In-Reply-To: <1155292304.7740.11.camel@localhost.localdomain> 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: Harry Butterworth Cc: Steve Dobbelstein , xen-devel@lists.xensource.com, sos22@srcf.ucam.org List-Id: xen-devel@lists.xenproject.org --===============0567351697== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline --hHWLQfXTYDoKhP50 Content-Type: multipart/mixed; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > > Here is what I have found so far in trying to chase down the cause of the > > > slowdown. > > > The qemu-dm process is running 99.9% of the CPU on dom0. > > That seems very wrong. When I try this, the device model is almost > > completely idle. Could you see what strace says, please, or if there > > are any strange messages in the /var/log/qemu-dm. file? > I've been looking into bugzilla 725 and I'm also seeing 100% cpu usage > by qemu-dm. xm-test uses the nographic flag and I find that if this is > not set then the cpu usage drops to normal levels and the test passes. Does the attached patch help? Steven. --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fix_qemu_blocking.diff" diff -r fd10729d891f tools/ioemu/vl.c --- a/tools/ioemu/vl.c Fri Aug 11 17:39:33 2006 +0100 +++ b/tools/ioemu/vl.c Mon Aug 14 11:06:01 2006 +0100 @@ -6036,7 +6036,7 @@ int main(int argc, char **argv) } break; case QEMU_OPTION_nographic: - pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); + pstrcpy(monitor_device, sizeof(monitor_device), "null"); if(!strcmp(serial_devices[0], "vc")) pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio"); --MGYHOYXEY6WxJCY8-- --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFE4D58O4S8/gLNrjcRAi0MAKC7SDhXN+u4dJsUeoQMBJjuAiPU7gCfX9Lb nMR/wIzW0c3u3Xcb+TLLr94= =S4d9 -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50-- --===============0567351697== 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 --===============0567351697==--