Re: bad virtio disk performance

2009-04-28 Thread Lucas Nussbaum
On 27/04/09 at 19:40 -0400, john cooper wrote: Lucas Nussbaum wrote: On 27/04/09 at 13:36 -0400, john cooper wrote: Lucas Nussbaum wrote: non-virtio: kvm -drive file=/tmp/debian-amd64.img,if=scsi,cache=writethrough -net nic,macaddr=00:16:3e:5a:28:1,model=e1000 -net tap -nographic -kernel

Re: bad virtio disk performance

2009-04-28 Thread Lucas Nussbaum
On 28/04/09 at 12:56 +0200, Lucas Nussbaum wrote: I then upgraded to kvm-85 (both the host kernel modules and the userspace), and re-ran the tests. Performance is better (about 85 MB/s), but still very far from the non-virtio case. I forgot to mention that the strangest result I got was the

Re: bad virtio disk performance

2009-04-28 Thread Avi Kivity
Lucas Nussbaum wrote: On 28/04/09 at 12:56 +0200, Lucas Nussbaum wrote: I then upgraded to kvm-85 (both the host kernel modules and the userspace), and re-ran the tests. Performance is better (about 85 MB/s), but still very far from the non-virtio case. I forgot to mention that the

Re: bad virtio disk performance

2009-04-28 Thread Lucas Nussbaum
On 28/04/09 at 14:55 +0300, Avi Kivity wrote: Lucas Nussbaum wrote: On 28/04/09 at 12:56 +0200, Lucas Nussbaum wrote: I then upgraded to kvm-85 (both the host kernel modules and the userspace), and re-ran the tests. Performance is better (about 85 MB/s), but still very far from the

bad virtio disk performance

2009-04-27 Thread Lucas Nussbaum
Hi, I'm experiencing bad disk I/O performance using virtio disks. I'm using Linux 2.6.29 (host guest), kvm 84 userspace. On the host, and in a non-virtio guest, I get ~120 MB/s when writing with dd (the disks are fast RAID0 SAS disks). In a guest with a virtio disk, I get at most ~32 MB/s.

Re: bad virtio disk performance

2009-04-27 Thread john cooper
Lucas Nussbaum wrote: Hi, I'm experiencing bad disk I/O performance using virtio disks. I'm using Linux 2.6.29 (host guest), kvm 84 userspace. On the host, and in a non-virtio guest, I get ~120 MB/s when writing with dd (the disks are fast RAID0 SAS disks). Could you provide detail of the

Re: bad virtio disk performance

2009-04-27 Thread Lucas Nussbaum
On 27/04/09 at 13:36 -0400, john cooper wrote: Lucas Nussbaum wrote: Hi, I'm experiencing bad disk I/O performance using virtio disks. I'm using Linux 2.6.29 (host guest), kvm 84 userspace. On the host, and in a non-virtio guest, I get ~120 MB/s when writing with dd (the disks are fast

Re: bad virtio disk performance

2009-04-27 Thread john cooper
Lucas Nussbaum wrote: On 27/04/09 at 13:36 -0400, john cooper wrote: Lucas Nussbaum wrote: non-virtio: kvm -drive file=/tmp/debian-amd64.img,if=scsi,cache=writethrough -net nic,macaddr=00:16:3e:5a:28:1,model=e1000 -net tap -nographic -kernel /boot/vmlinuz-2.6.29 -initrd