[Qemu-discuss] VM get 'insufficient system resources exist to complete the requested service' error.

2017-02-20 Thread John Y.
I created a kvm virtual machine with windows 7 using qemu2.5. I controlled the vm by spice and do some normal things in the vm, such as file editing, visit websites. I felled my vm run slowly after few days and I got 'insufficient system resources exist to complete the requested service' when I tri

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-20 Thread Herb Peyerl
Thanks for the explanation. I was away for the weekend so I’m back digging into this now. I think I understand better now. Based on your explanation, this seems to do something though I’m not quite sure if it’s the right thing: -chardev socket,host=192.168.1.1,port=4555,id=foo0 \

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Mimiko
On 20.02.2017 18:45, Jakob Bohm wrote: Is /tmp/ the same drive (mount) as /vdisks/ ? Oh, really. /tmp is differen drive: an SSD mirror via MB sata 2 interface. time dd if=/dev/zero of=/vdisks/test oflag=direct bs=64k count=16000 16000+0 records in 16000+0 records out 1048576000 bytes (1.0 GB)

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Jakob Bohm
On 20/02/2017 17:30, Mimiko wrote: On 20.02.2017 17:42, Vincenzo Romano wrote: I think you have to first check your barebones disk I/O throughput. If you mean running: time dd if=/dev/zero of=/tmp/test oflag=direct bs=64k count=16000 16000+0 records in 16000+0 records out 1048576000 bytes (1.

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Mimiko
On 20.02.2017 17:42, Vincenzo Romano wrote: I think you have to first check your barebones disk I/O throughput. If you mean running: time dd if=/dev/zero of=/tmp/test oflag=direct bs=64k count=16000 16000+0 records in 16000+0 records out 1048576000 bytes (1.0 GB) copied, 6.91783 s, 152 MB/s r

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Vincenzo Romano
I am glad I misunderstood your report! Someone else already suggested you to test "bare bones" disk I/O performances -- Vincenzo Romano - NotOrAnd.IT Information Technologies -- NON QVIETIS MARIBVS NAVTA PERITVS 2017-02-20 14:07 GMT+01:00 Mimiko : > On 20.02.2017 13:13, Vincenzo Romano wrote: >>

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Mimiko
On 20.02.2017 13:13, Vincenzo Romano wrote: I could be wrong, but are you willing to run a VM with a disk image over CIFS/SAMBA? If not, why are you quoting your network throughput? No, I do not share a disk image via cifs/samba. This is a test machine, mostly used for compiling, and I shared

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Jakob Bohm
On 20/02/2017 12:05, Mimiko wrote: Hello. I've setup qemu / kvm on Debian Wheezy to host some Debian Jessie guests. I create disk like this: virsh vol-create-as --pool default --name root.vhd --capacity 50G --format vpc Then create a virtual with this: virt-install --connect qemu:///system \

Re: [Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Vincenzo Romano
Hi. I could be wrong, but are you willing to run a VM with a disk image over CIFS/SAMBA? If not, why are you quoting your network throughput? Could you please try (on a separate test VM) raw and qcow2? In understand your concerns about the disk space allocation, but if you create a virtual disk o

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-20 Thread Stefan Hajnoczi
On Wed, Feb 15, 2017 at 04:07:43PM +, Daniel P. Berrange wrote: > On Wed, Feb 15, 2017 at 05:57:12PM +0200, Nir Soffer wrote: > > On Wed, Feb 15, 2017 at 5:20 PM, Daniel P. Berrange > > wrote: > > > On Wed, Feb 15, 2017 at 03:14:19PM +, Stefan Hajnoczi wrote: > > >> On Mon, Feb 13, 2017 a

Re: [Qemu-discuss] [Qemu-devel] Estimation of qcow2 image size converted from raw image

2017-02-20 Thread Stefan Hajnoczi
On Wed, Feb 15, 2017 at 05:49:58PM +0200, Nir Soffer wrote: > On Wed, Feb 15, 2017 at 5:14 PM, Stefan Hajnoczi wrote: > > On Mon, Feb 13, 2017 at 05:46:19PM +0200, Maor Lipchuk wrote: > >> I was wondering if that is possible to provide a new API that > >> estimates the size of > >> qcow2 image con

[Qemu-discuss] virtual disks perfermonca <=2MB/s

2017-02-20 Thread Mimiko
Hello. I've setup qemu / kvm on Debian Wheezy to host some Debian Jessie guests. I create disk like this: virsh vol-create-as --pool default --name root.vhd --capacity 50G --format vpc Then create a virtual with this: virt-install --connect qemu:///system \ --ram 2048 \ --vcpus=4 \ --cpuset=aut