Date: Tue, 11 Apr 2006 15:53:26 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-emulation@FreeBSD.ORG Subject: Re: Qemu pegging my CPU Message-ID: <200604111353.k3BDrQJS039142@lurza.secnetix.de> In-Reply-To: <8C304818-D731-4226-ACCD-805B986A1F2E@netmusician.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Joe Auty <joe@netmusician.org> wrote: > I'm running FBSD 5.4, installed the kqemu-mod and qemu, everything > seems to be running fine, except Qemu frequently takes up over 90% of > my CPU. Just pinging the server or pinging from the host OS outside > of my network results in loss of packets. Occasionally my CPU is so > taxed that network requests are stalled or cut out. > > I've given 256 MB RAM to my guest OS (Ubuntu). I believe my computer > has 384 MB of RAM. So, when you run a 256 MB host on a 384 MB machine, that leaves only 128 MB for the qemu emulator itself and everything else that runs on the machine. That means that you're probably running out of memory, and when the OS starts swapping, it'll slow down considerably. It doesn't make much of a difference whether the host OS is swapping or the guest os is swapping. Or both. You don't want that. :-) My advice: Add more RAM. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "File names are infinite in length, where infinity is set to 255 characters." -- Peter Collinson, "The Unix File System"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604111353.k3BDrQJS039142>