From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3F1p-0004Iw-TP for qemu-devel@nongnu.org; Sat, 06 Jan 2007 12:08:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3F1n-0004FR-5L for qemu-devel@nongnu.org; Sat, 06 Jan 2007 12:08:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3F1m-0004FF-TX for qemu-devel@nongnu.org; Sat, 06 Jan 2007 12:08:18 -0500 Received: from [69.89.17.211] (helo=outbound-mail-29.bluehost.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1H3F1l-0003Fi-Pc for qemu-devel@nongnu.org; Sat, 06 Jan 2007 12:08:18 -0500 Received: from c-67-174-109-216.hsd1.co.comcast.net ([67.174.109.216] helo=[192.168.0.107]) by box69.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1H3F1i-0003le-7A for qemu-devel@nongnu.org; Sat, 06 Jan 2007 10:08:14 -0700 From: Phil Rasch Date: Sat, 6 Jan 2007 10:08:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701061008.09809.phil@supstitches.com> Subject: [Qemu-devel] Problem with high load average when using -nographic with qemu in background Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Sorry to bother you with this. I did try the qemu forums first. I am having trouble running a trixbox/centos guest under an ubuntu host. Both completely uptodate installs of the OS's. I am using Qemu 0.8.2 with kqemu-1.3.0pre9. If I start the qemu without -nographic interactively the VM runs well, and the hostOS maintains a load average of about 0.1 Trouble comes when I add -nographic to the command line, and redirect stdout and stderrout to a logfile. (I do this so I can start qemu from during the boot up process and run the VM in background all the time. If I start qemu like this (from an interactive shell (tcsh)) qemu -m 256 -localtime -net nic -net tap -nographic trixbox.img \ >&! /tmp/qemulog & It will stop on + Suspended[tty output] If I also redirect stdin (eg adding "< /dev/null") it then starts and runs fine, but the hostOS load climbs to 1.0 and higher (depending on what the guest is doing, and the performance of the VM is seriously impaired. I can ssh into the machine under both scenarios and see that the guest thinks it is fine, but it is really burdening the hostOS. Looking through /var/log/messages on the guest shows that I have (I think) successfully set io to go through /dev/ttyS0, eg. Jan 6 09:46:49 asterisk1 kernel: Kernel command line: ro console=ttyS0,9600n8 vga=normal root=LABEL=/ Can anyone offer advice? Phil