From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Schreiner Subject: Re: kvm very slow Date: Tue, 07 Aug 2007 09:20:36 +0200 Message-ID: <1186471236.3370.8.camel@vaio> References: <1185945769.3342.15.camel@vaio> <46B0B7D0.9080203@qumranet.com> <46B0E2F0.1070701@innuendo.de> <46B194C5.5040508@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <46B194C5.5040508-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org no ideas what can be done? why it is so slow? i've tried the "-L /usr/shar/kvm" to use the kvm-bios but no better performance ... Am Donnerstag, den 02.08.2007, 11:24 +0300 schrieb Avi Kivity: > Ulrich Schreiner wrote: > > dmesg|grep kvm > > > > SELinux: initialized (dev kvmfs, type kvmfs), uses genfs_contexts > > kvm: emulating exchange as write > > > > > > There may be messages that aren't prefixed with 'kvm:' (that's a bug > btw). Please check. > > > now booting into a F7 image, after the system is ready (and in idle): > > > > top > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 14917 root 20 0 332m 71m 66m S 6 0.9 1:17.05 qemu-kvm > > 14954 root 20 0 14552 1072 812 R 0 0.0 0:00.01 top > > 1 root 20 0 10320 680 572 S 0 0.0 0:02.02 init > > > > kvm_stat (snapshot): > > > > kvm statistics > > > > exits 12254399 79079 > > halt_exits 326543 4632 > > invlpg 0 0 > > io_exits 6539798 74320 > > irq_exits 43523 29 > > irq_window 4984 0 > > mmio_exits 1319016 0 > > pf_fixed 3140955 56 > > pf_guest 448187 6 > > request_irq 0 0 > > signal_exit 39728 0 > > tlb_flush 29511 31 > > > > Wow -- lots of I/O exits. What does 'top' in the guest say? 'hdparm > /dev/hda' in the guest? > > > when logging into the virtual machine (via ssh) the virtual world is > > very slow: i set the time with "ntpdate" and wait exact one minute in > > reality. in the virtual image only 24sec are gone! > > > > and everything else in the image is really slow. > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/