Re: virtio localdisk performance

2011-10-14 Thread benoit ROUSSELLE
On Fri, Oct 14, 2011 at 9:33 AM, Stefan Hajnoczi wrote: > The next step is trying QEMU's -drive aio=native, which uses Linux AIO > instead of a custom userspace threadpool for doing I/O.  It is usually > faster.  The libvirt domain XML is: > > >     Will do so. Thanks for your help :D ! > If y

Re: virtio localdisk performance

2011-10-13 Thread benoit ROUSSELLE
On Thu, Oct 13, 2011 at 4:27 PM, Stefan Hajnoczi wrote: > dd performs buffered I/O by default.  That means it just writes to the > page cache and the kernel decides when to write out dirty pages. > > So your host probably has a bunch more RAM than the guest - dd > write(2) calls are simply dirtyin

Re: virtio localdisk performance

2011-10-13 Thread benoit ROUSSELLE
On Thu, Oct 13, 2011 at 1:20 PM, Martin Maurer wrote: > Host 155 > Guest 120 (raw file on ext3) > > Do you run with the virtual disk with cache=no? Yes i did so (see my previous post) So i guess there must be something wrong in my setup. or may be i should use a more recent version of kvm ? qemu-

Re: virtio localdisk performance

2011-10-13 Thread benoit ROUSSELLE
M, Michael Tokarev wrote: > On 13.10.2011 13:05, benoit ROUSSELLE wrote: >> Hello, >> >> Can someone running with virtio tell me if this is normal to have such >> a difference with dd between host and guest machine ? >> host dd is 500MB/s >> guest dd is 150MB/s &

Re: virtio localdisk performance

2011-10-13 Thread benoit ROUSSELLE
recent kvm would help ? On Wed, Oct 12, 2011 at 2:21 PM, benoit ROUSSELLE wrote: > Dear All, > > I am doing some disk io performance testing on the following environment: > Dell AMD R515 with: > - debian6 (2.6.32) on host and guests. > - raid1 mirror on a perc h700 > - lvm u

virtio localdisk performance

2011-10-12 Thread benoit ROUSSELLE
Dear All, I am doing some disk io performance testing on the following environment: Dell AMD R515 with: - debian6 (2.6.32) on host and guests. - raid1 mirror on a perc h700 - lvm used to create virtual disks volumes - virtio enabled per default on 2.6.32 and used for nic and disk drivers For my t