Re: [RFC] vhost-blk implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avi Kivity wrote:
On 03/24/2010 10:22 PM, Badari Pulavarty wrote:
Which caching mode is this?  I assume data=writeback, because otherwise
you'd be doing synchronous I/O directly from the handler.


Yes. This is with default (writeback) cache model. As mentioned earlier, readhead is helping here
and most cases, data would be ready in the pagecache.


btw, relying on readahead is problematic. The guest already issues readahead requests, and the host will issue readahead based on that readahead, reading far into the future.

Sure. In my tests, I did O_DIRECT in the guest - so there is no readahead in the guest.

Thanks,
Badari

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux