From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Fjellstrom Subject: Re: xorg running very slow problem Date: Sat, 9 Jan 2010 23:25:47 -0700 Message-ID: <201001092325.47616.tfjellstrom@shaw.ca> References: <4B496B93.1020706@wonghome.net> Reply-To: tfjellstrom@shaw.ca Mime-Version: 1.0 Content-Type: Text/Plain; charset="big5" Content-Transfer-Encoding: 7bit Cc: John Wong To: kvm@vger.kernel.org Return-path: Received: from idcmail-mo2no.shaw.ca ([64.59.134.9]:52583 "EHLO idcmail-mo2no.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978Ab0AJGZt (ORCPT ); Sun, 10 Jan 2010 01:25:49 -0500 In-Reply-To: <4B496B93.1020706@wonghome.net> Sender: kvm-owner@vger.kernel.org List-ID: On Sat January 9 2010, John Wong wrote: > When i use qemu-kvm-87 or qemu-kvm-0.12.1.2 or snapshot (download from > http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=summary), > xorg will running very slow (the screen refresh line by line), and i > noticed the program "Xorg" will running very high cpu(>99% in top). > > If i use qemu-kvm-86, xorg does not have this problem, and run just fine. > > The modules is come from debian-2.6.32 kvm-intel. > > The host is debian/x64/2.6.32. > > I use this command to start kvm: > > ${KVM} -drive > file=${IMG},index=0,if=virtio,boot=on,cache=none,format=qcow2 \ > -net nic,vlan=${NUM},model=virtio,macaddr=00:AA:BB:CC:DD:0${NUM} \ > -net > tap,vlan=${NUM},ifname="${iface}",script=/etc/kvm/kvm-ifup,downscript=/et > c/kvm/kvm-ifdown \ > -localtime -smp 2 \ > -soundhw all \ > -usb -usbdevice tablet \ > -k en-us -monitor stdio \ > -mem-path /hugepages \ > -vga std -sdl \ > -m 2048 -boot c > > Anyone know how to solve this problem? > > Please help, thank you. What happens if you try the vmvga video adapter instead? I used to have issues with even the console being horrendously slow, and switching to vmvga improved performance. > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Thomas Fjellstrom tfjellstrom@shaw.ca