[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Serge Hallyn
Hi Andres,

Are you still seeing this problem?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Andres Rodriguez
Hi Serge.

No I'm not. In fact I thought this was already marked as invalid or
something :).

Cheers,

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
Well golly gee willikers, I think I now have the same problem.

** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
I can reproduce this using kvm from the command line, so libvirt appears
unrelated:

kvm -hda lucid.img -m 512M -smp 2 -vnc :1 -redir tcp:::22 -cdrom
lucid-server-amd64.iso

The simplest 'bzr branch grub grub-b' pins my cpu.

** Changed in: libvirt (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
And yet when booted from cdrom, cpu utilization stays around 10%.

** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-16 Thread Serge Hallyn
@Andres,

qemu-kvm has been updated to 0.14.0~rc1.  Could you let us know if the
issue persists?

** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided = Medium

** Changed in: qemu-kvm (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-16 Thread Andres Rodriguez
Hi Serge,

I haven't experienced the same behavior as before 100% CPU with latest
qemu-kvm. However, during installation of a natty VM, while doing IO,
the CPU load is still a bit high sometimes ~70-80%. But, overall I can't
seem to reproduce this problem. The kvm command used by libvirt now is:

/usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 512 -smp
2,sockets=2,cores=1,threads=1 -name natty3 -uuid
a1fc02e8-0002-f0fd-f292-a0afa52500b3 -nodefconfig -nodefaults -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/natty3.monitor,server,nowait
-mon chardev=monitor,mode=readline -rtc base=utc -no-reboot -boot dc
-drive file=/var/lib/libvirt/images/natty3.img,if=none,id=drive-virtio-
disk0,boot=on,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive
=drive-virtio-disk0,id=virtio-disk0 -drive file=/home/roaksoax/Desktop
/ubuntu_natty-server-i386.iso,if=none,media=cdrom,id=drive-
ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive
=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=43,id=hostnet0 -device
virtio-net-
pci,netdev=hostnet0,id=net0,mac=52:54:00:38:54:4d,bus=pci.0,addr=0x3
-chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc
127.0.0.1:1 -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x4
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
All right, so this comes down to an incompatibility between maverick's
versions of libvirt and qemu - libvirt is using QED, but qemu-kvm
doesn't yet know about it.  The '-drive file=X,if=none device=...'
format, in particular, is QED.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
Could you try running the following command:

kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso
/ubuntu_natty-server-i386.iso -drive
file=/home/roaksoax/.cache/testdrive/img/testdrive-disk-
J_PcC_.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice
tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus

and report how it behaves?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Andres Rodriguez
From an overall CPU load of 20%, after launching and leaving the VM not
doing anything (In the menu requesting keyboard language for the
installation) it goes up all the way to ~60%, and during installation it
goes till ~70%of CPU load.

This results are about the same as when launching with the command using
when launching with testdrive (it appears to be a little less with
testdrive command.)!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
I'm sorry, something went wrong in my editing the previous post.  The
command I had wanted you to try was:

kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso
/ubuntu_natty-server-i386.iso -drive
file=/var/lib/libvirt/images/natty1.img,if=virtio,cache=writeback,index=0,boot=on
-usb -usbdevice tablet -net nic,model=virtio -net user -soundhw es1370
-vga cirrus

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez

** Attachment added: natty1.xml
   
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841701/+files/natty1.xml

** Description changed:

  Binary package hint: qemu-kvm
  
  I created a VM using virt-manager. During the installation, the process
  kvm has a CPU usage goes of 100%.
  
  Being aware of the virt-manager [1], bug #707313, (using 100% CPU), I
  used top to determine weather this was virt-manager of kvm itself. After
  doing so, I noticed that both, kvm and python processes where more than
  80% of usage. So I decided to go ahead and close virt-manager and the
  VNC window for the current VM. Then, I returned to a terminal to see
  top's output, and it showed now that the kvm process was the only one
  with 100% CPU usage.
  
+ Note that the CPU usage is only at 100% when doing IO, apparently.
+ 
  A video showing this behavior can be found at [2].
  
  [1]: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/707313
  [2]: me.roaksoax.com/kvm.ogv

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Description changed:

  Binary package hint: qemu-kvm
+ 
+ Version: Natty
+ Kernel Version: 2.6.38-2-generic x86_64
+ KVM Version: QEMU emulator version 0.13.0 (qemu-kvm-devel)
+ LibVirt Version: libvirtd (libvirt) 0.8.5
  
  I created a VM using virt-manager. During the installation, the process
  kvm has a CPU usage goes of 100%.
  
  Being aware of the virt-manager [1], bug #707313, (using 100% CPU), I
  used top to determine weather this was virt-manager of kvm itself. After
  doing so, I noticed that both, kvm and python processes where more than
  80% of usage. So I decided to go ahead and close virt-manager and the
  VNC window for the current VM. Then, I returned to a terminal to see
  top's output, and it showed now that the kvm process was the only one
  with 100% CPU usage.
  
  Note that the CPU usage is only at 100% when doing IO, apparently.
  
  A video showing this behavior can be found at [2].
  
  [1]: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/707313
  [2]: me.roaksoax.com/kvm.ogv

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez

** Attachment added: natty1
   
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841716/+files/natty1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez

** Attachment added: vol-dumpxml
   
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841717/+files/vol-dumpxml

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez

** Attachment added: pool-dumpxml
   
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841718/+files/pool-dumpxml

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
libvirt kvm command:


/usr/bin/kvm -S -M pc-0.13 -enable-kvm -m 512 -smp 
2,sockets=2,cores=1,threads=1 -name natty1 -uuid 
31631c3c-a914-6365-12b7-9103b4e07a3b -nodefconfig -nodefaults -chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/natty1.monitor,server,nowait -mon 
chardev=monitor,mode=readline -rtc base=utc -no-reboot -boot dc -drive 
file=/var/lib/libvirt/images/natty1.img,if=none,id=drive-virtio-disk0,boot=on,format=raw
 -device 
virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 
-drive 
file=/home/roaksoax/Desktop/ubuntu_natty-server-i386.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
 -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev 
tap,fd=43,id=hostnet0 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a7:2d:6c,bus=pci.0,addr=0x3 
-chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 
127.0.0.1:0 -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x4 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
testdrive kvm command:

kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso
/ubuntu_natty-server-i386.iso -drive
file=/home/roaksoax/.cache/testdrive/img/testdrive-disk-
J_PcC_.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice
tablet -net nic,model=virtio -net user -soundhw es1370 -vga cirrus

** Description changed:

  Binary package hint: qemu-kvm
  
  Version: Natty
  Kernel Version: 2.6.38-2-generic x86_64
  KVM Version: QEMU emulator version 0.13.0 (qemu-kvm-devel)
  LibVirt Version: libvirtd (libvirt) 0.8.5
  
  I created a VM using virt-manager. During the installation, the process
  kvm has a CPU usage goes of 100%.
  
  Being aware of the virt-manager [1], bug #707313, (using 100% CPU), I
  used top to determine weather this was virt-manager of kvm itself. After
  doing so, I noticed that both, kvm and python processes where more than
  80% of usage. So I decided to go ahead and close virt-manager and the
  VNC window for the current VM. Then, I returned to a terminal to see
  top's output, and it showed now that the kvm process was the only one
  with 100% CPU usage.
  
- Note that the CPU usage is only at 100% when doing IO, apparently.
+ Note that the CPU usage is only at 100% when doing intensive IO,
+ apparently.
  
  A video showing this behavior can be found at [2].
  
  [1]: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/707313
  [2]: me.roaksoax.com/kvm.ogv

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Serge Hallyn
Thanks Andres,  the .xml looks fine, but the command spawned by libvirt
certainly does not.  In particular, the drive definition for natty.img
looks bogus, with its 'if=none'.

If you close virt-manager and start the vm with 'virsh start natty1', do
you get the same command?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
Yes is the same command.

When I installed the VM i chosed the Ubuntu Natty profile (I though this
default to VirtIO?). Maybe this is the reason!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
https://bugs.launchpad.net/bugs/716528

Title:
  kvm 100% when performing apparently IO operations

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs