public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: AelMalinka@gmail.com
Cc: Mailing Lists <kvm@vger.kernel.org>
Subject: Re: kvm-83 write performance raw
Date: Mon, 02 Mar 2009 16:21:07 -0600	[thread overview]
Message-ID: <49AC5BD3.9050206@codemonkey.ws> (raw)
In-Reply-To: <aa2a0fc0903021339t6dc5d72bj2c717733f5da00dd@mail.gmail.com>

Malinka Rellikwodahs wrote:
> On Mon, Mar 2, 2009 at 16:22, Anthony Liguori <anthony@codemonkey.ws> wrote:
>   
>> Malinka Rellikwodahs wrote:
>>     
>>>>> What version of kvm is this?  Is it kvm-68?  You'll have better luck
>>>>> with
>>>>> something newer than that.
>>>>>
>>>>>           
>>> kvm-83 is the one with the problem, kvm-68 is working correctly.
>>>
>>>       
>> kvm-68 and qcow2 both use cache=writeback by default which is less safe than
>> cache=writethrough which is now the default.
>>
>> But performance shouldn't be as bad as your seeing.
>>     
>
> Running the kvm-84 install on the qcow image as kvm -m 1024 -drive
> file=qcow,boot=on,cache=writethrough, I get similar performance to the
> raw performance.
>
> So it looks like with cache set to writethrough there's a big
> performance hit on this setup, any ideas where to look for that?
>   

cache=writeback is "fake" performance.   In theory, it should be better 
than native because it's being loose with data consistency.  So the real 
question is why is performance so bad.

It's probably got something to do with IDE.  It could be that kvm-84's 
IDE is pre-Avi's AIO implementation such that you're splitting up IDE 
requests into something small.  They should be submitted in parallel but 
maybe that's not working out well with your disk setup.

Regards,

Anthony Liguori

>> Regards,
>>
>> Anthony Liguori
>>     


  reply	other threads:[~2009-03-02 22:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 20:11 kvm-83 write performance raw Malinka Rellikwodahs
2009-03-02 20:35 ` Anthony Liguori
2009-03-02 20:37   ` Malinka Rellikwodahs
2009-03-02 20:39     ` Malinka Rellikwodahs
2009-03-02 21:22       ` Anthony Liguori
2009-03-02 21:39         ` Malinka Rellikwodahs
2009-03-02 22:21           ` Anthony Liguori [this message]
2009-03-09 15:09           ` Avi Kivity
2009-03-02 20:53 ` Mark van Walraven
2009-03-02 21:00   ` Malinka Rellikwodahs
2009-03-03 15:13     ` Nikola Ciprich
     [not found]       ` <aa2a0fc0903051110q528da32ek17b0f6468d0f15ff@mail.gmail.com>
2009-03-05 19:11         ` Fwd: " Malinka Rellikwodahs
2009-03-06  0:14           ` Malinka Rellikwodahs
2009-03-09 15:40           ` Fwd: " Nikola Ciprich
2009-03-04 22:28   ` Paolo Pedaletti
2009-03-05  2:09     ` Mark van Walraven

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=49AC5BD3.9050206@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=AelMalinka@gmail.com \
    --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