Re: [PATCH 0/6][RFC] virtio-blk: Change I/O path from request toBIO

From: Paolo Bonzini
Date: Mon Jan 02 2012 - 11:18:41 EST


On 01/02/2012 05:15 PM, Christoph Hellwig wrote:
> When QEMU uses O_DIRECT, the guest should not use QUEUE_FLAG_NONROT
> unless it is active for the host disk as well. (In doubt, as is the
> case for remote hosts accessed over NFS, I would also avoid NONROT
> and allow more coalescing).

Do we have any benchmark numbers where QUEUE_FLAG_NONROT makes a
difference?

Not that I know of.

I tried a few times, and the only constant measureable
thing was that it regressed performance when used for rotating devices
in a few benchmarks.

Were you trying with cache=none or writeback? For cache=none, that's exactly what I'd expect. cache=writeback could be more interesting...

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/