From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hermann Himmelbauer Subject: Re: Gests periodically stuck for ~ 10-15 seconds - what to do? Date: Sat, 23 Oct 2010 23:40:19 +0200 Message-ID: <201010232340.19699.dusty@qwer.tk> References: <201010232237.42005.dusty@qwer.tk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mx21.lb01.inode.at ([62.99.145.23]:55387 "EHLO mx.inode.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753297Ab0JWVk2 (ORCPT ); Sat, 23 Oct 2010 17:40:28 -0400 Received: from [83.64.146.242] (port=12291 helo=horn.qwer.tk) by smartmx-21.inode.at with esmtp (Exim 4.69) (envelope-from ) id 1P9lpC-000110-EL for kvm@vger.kernel.org; Sat, 23 Oct 2010 23:40:26 +0200 Received: from localhost (localhost [127.0.0.1]) by horn.qwer.tk (Postfix) with ESMTP id 0665C202AD52 for ; Sat, 23 Oct 2010 23:40:24 +0200 (CEST) Received: from horn.qwer.tk ([127.0.0.1]) by localhost (horn [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02202-02-2 for ; Sat, 23 Oct 2010 23:40:20 +0200 (CEST) Received: from piano.qwer.tk (piano.qwer.tk [192.168.50.71]) by horn.qwer.tk (Postfix) with ESMTP id D12A3202AD41 for ; Sat, 23 Oct 2010 23:40:19 +0200 (CEST) In-Reply-To: <201010232237.42005.dusty@qwer.tk> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Am Samstag 23 Oktober 2010 22:37:41 schrieb Hermann Himmelbauer: > Hi, > I'm quite new to virtualization and KVM, I have a 2*4-core Intel machine > here with 16GB RAM and Debian Lenny as host. I further installed two Debian > Lenny guests, one with 2 CPUs, the other with one. The guests were > installed similar to this: > > virt-install --connect qemu:///system -n MyVMName -r 1024 --vcpus=2 -f > path/to/qcow2_file -s 12 -c ~/debian-503-amd64-netinst.iso --vnc -k > de --noautoconsole --os-type linux --os-variant > debianLenny --accelerate --network=bridge:br0 --hvm Regarding a suggestion on #IRC that the above does not tell enough about the KVM configuration, here are the command lines for both guests: /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 1024 -smp 2,sockets=2,cores=1,threads=1 -name vmUranos -uuid 8e5139ce-c561-c52f-35e1-07db9bc5045b -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/vmUranos.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/dev/capella_raptor/UranosBase,if=none,id=drive-virtio-disk0,boot=on,cache=none -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -device virtio-net-pci,vlan=0,id=net0,mac=54:52:00:03:f4:ca,bus=pci.0,addr=0x5 -net tap,fd=17,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:0 -k de -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 /usr/bin/kvm -S -M pc -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name galemo -uuid 171b4536-84ea-041d-d318-16b8fb20f855 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/galemo.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/dev/capella_data1/galemo,if=none,id=drive-virtio-disk0,boot=on -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -device virtio-net-pci,vlan=0,id=net0,mac=54:52:00:45:9c:d9,bus=pci.0,addr=0x5 -net tap,fd=18,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:1 -k de -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 Best Regards, Hermann -- hermann@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7