All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Baysek <mbaysek@liquidweb.com>
To: Liu Yuan <namei.unix@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: vhost-blk development
Date: Thu, 19 Apr 2012 16:26:50 -0400 (EDT)	[thread overview]
Message-ID: <33013534.70843.1334867210187.JavaMail.root@zimbra.liquidweb.com> (raw)
In-Reply-To: <4F87BBDF.5010708@gmail.com>

Hi Yuan, 

Can you point me to the latest revision of the code and provide some 
guidance on how to test it?  I really would love to see if it helps.

Best,
-Mike


----- Original Message -----
From: "Liu Yuan" <namei.unix@gmail.com>
To: "Michael Baysek" <mbaysek@liquidweb.com>
Cc: "Stefan Hajnoczi" <stefanha@gmail.com>, kvm@vger.kernel.org
Sent: Thursday, April 12, 2012 10:38:39 PM
Subject: Re: vhost-blk development

On 04/12/2012 12:52 AM, Michael Baysek wrote:

> In this particular case, I did intend to deploy these instances directly to 
> the ramdisk.  I want to squeeze every drop of performance out of these 
> instances for use cases with lots of concurrent accesses.   I thought it 
> would be possible to achieve improvements an order of magnitude or more 
> over SSD, but it seems not to be the case (so far).  


Last year I tried virtio-blk over vhost, which originally planned to put
virtio-blk driver into kernel to reduce system call overhead and shorten
the code path.

I think in your particular case (ramdisk), virtio-blk will hit the best
performance improvement because biggest time-hogger IO is ripped out in
the path, at least would be expected much better than my last test
numbers (+15% for throughput and -10% for latency) which runs on local disk.

But unfortunately, virtio-blk was not considered to be useful enough at
that time, Qemu folks think it is better to optimize the IO stack in
QEMU instead of setting up another code path for it.

I remember that I developed virtio-blk at Linux 3.0 base, So I think it
is not hard to rebase it on latest kernel code or porting it back to
RHEL 6's modified 2.6.32 kernel.

Thanks,
Yuan

  reply	other threads:[~2012-04-19 20:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 22:59 vhost-blk development Michael Baysek
2012-04-10 11:55 ` Stefan Hajnoczi
2012-04-10 17:25   ` Michael Baysek
2012-04-11 10:19     ` Stefan Hajnoczi
2012-04-11 16:52       ` Michael Baysek
2012-04-12  8:30         ` Stefan Hajnoczi
2012-04-13  5:38         ` Liu Yuan
2012-04-19 20:26           ` Michael Baysek [this message]
2012-04-20  4:28             ` Liu Yuan
2012-04-20 20:23               ` Michael Baysek

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=33013534.70843.1334867210187.JavaMail.root@zimbra.liquidweb.com \
    --to=mbaysek@liquidweb.com \
    --cc=kvm@vger.kernel.org \
    --cc=namei.unix@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.