From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wong Subject: xorg running very slow problem Date: Sun, 10 Jan 2010 13:54:27 +0800 Message-ID: <4B496B93.1020706@wonghome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from maiden103.ctimail.com ([61.93.57.254]:52219 "EHLO maiden103.ctimail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874Ab0AJFyx (ORCPT ); Sun, 10 Jan 2010 00:54:53 -0500 Received: from smtp1o.ctimail.com (smtp1o [203.186.94.57]) by maiden103.ctimail.com (8.12.11/8.12.11) with ESMTP id o0A5smqg029178 for ; Sun, 10 Jan 2010 13:54:48 +0800 Received: from pdc.wonghome.net (124244200136.ctinets.com [124.244.200.136]) by smtp1o.ctimail.com (8.12.11/8.12.11) with ESMTP id o0A5sl3k018243 for ; Sun, 10 Jan 2010 13:54:48 +0800 (HKT) Received: from pdc.wonghome.net (localhost [127.0.0.1]) by pdc.wonghome.net (Postfix) with ESMTP id 1B8A541724 for ; Sun, 10 Jan 2010 13:54:32 +0800 (HKT) Received: from [192.168.168.3] (redcat.wonghome.net [192.168.168.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pdc.wonghome.net (Postfix) with ESMTPSA id 8400C41734 for ; Sun, 10 Jan 2010 13:54:31 +0800 (HKT) Sender: kvm-owner@vger.kernel.org List-ID: 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=/etc/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.