From: Dor Laor <dlaor@redhat.com>
To: Charles Duffy <charles@dyfis.net>
Cc: Gordan Bobic <gordan@bobich.net>, kvm@vger.kernel.org
Subject: Re: virtio disk slower than IDE?
Date: Mon, 16 Nov 2009 23:09:06 +0200 [thread overview]
Message-ID: <4B01BF72.9020008@redhat.com> (raw)
In-Reply-To: <4B0195E5.2090206@messageone.com>
On 11/16/2009 08:11 PM, Charles Duffy wrote:
> Gordan Bobic wrote:
>>> Lastly, do you use cache=wb on qemu? it's just a fun mode, we use
>>> cache=off only.
>>
>> I don't see the option being set in the logs, so I'd guess it's
>> whatever qemu-kvm defaults to.
>
> You can set this through libvirt by putting an element such as the
> following within your <disk> element:
>
> <driver name='qemu' type='qcow2' cache='none'/>
It's not needed on rhel5.4 qemu - we have cache=none as a default
>
> (Setting the type is preferred to avoid security issues wherein a guest
> writes an arbitrary qcow2 header to the beginning of a raw disk, reboots
> and allows qemu's autodetection to decide that this formerly-raw disk
> should now be treated as a delta against a file they otherwise might not
> have access to read; as such, it's particularly important if you intend
> that the type be raw).
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-11-16 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-14 14:23 virtio disk slower than IDE? Gordan Bobic
2009-11-15 9:51 ` Dor Laor
2009-11-15 12:00 ` Gordan Bobic
2009-11-15 13:15 ` Dor Laor
2009-11-15 22:47 ` Gordan Bobic
2009-11-16 16:40 ` john cooper
2009-11-16 18:11 ` Charles Duffy
2009-11-16 21:09 ` Dor Laor [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-16 16:53 john cooper
2009-11-17 1:14 ` Gordan Bobic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B01BF72.9020008@redhat.com \
--to=dlaor@redhat.com \
--cc=charles@dyfis.net \
--cc=gordan@bobich.net \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox