[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU |
Date: |
Tue, 14 Oct 2008 18:37:12 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080723) |
Ryan Harper wrote:
> fio --name=guestrun --filename=/dev/vda --rw=write --bs=${SIZE}
> --ioengine=libaio --direct=1 --norandommap --numjobs=1 --group_reporting
> --thread --size=1g --write_lat_log --write_bw_log --iodepth=74
>
>
How large is /dev/vda?
Also, I think you're doing sequential access, which means sequential
runs will improve as data is brought into cache. I suggest random
access, with a very large /dev/vga.
>> OK, but in this case the size of the cache for "cache=off" is the size
>> of the guest cache whereas in the other cases the size of the cache is
>> the size of the guest cache + the size of the host cache, this is not
>> fair...
>>
>
> it isn't supposed to be fair, cache=off is O_DIRECT, we're reading from
> the device, we *want* to be able to lean on the host cache to read the
> data, pay once and benefit in other guests if possible.
>
>
My assumption is that the memory would be better utilized in the guest
(which makes better eviction choices, and which is a lot closer to the
application). We'd need to run fio in non-direct mode to show this.
--
Do not meddle in the internals of kernels, for they are subtle and quick to
panic.
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, (continued)
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Laurent Vivier, 2008/10/13
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Ryan Harper, 2008/10/13
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Laurent Vivier, 2008/10/15
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Laurent Vivier, 2008/10/16
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Anthony Liguori, 2008/10/16
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Laurent Vivier, 2008/10/16
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Avi Kivity, 2008/10/17
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Laurent Vivier, 2008/10/17
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Kevin Wolf, 2008/10/14
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Ryan Harper, 2008/10/14
- Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU,
Avi Kivity <=
Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU, Mark Wagner, 2008/10/13
Re: [Qemu-devel] [RFC] Disk integrity in QEMU, Rik van Riel, 2008/10/13
Re: [Qemu-devel] [RFC] Disk integrity in QEMU, Ian Jackson, 2008/10/28