All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>,
	Xen Developers <xen-devel@lists.xensource.com>,
	Julian Chesterfield <julian.chesterfield@cl.cam.ac.uk>
Subject: Re: [PATCH] Blktap: Userspace file-based image	support. (RFC)
Date: Thu, 29 Jun 2006 06:49:31 -0500	[thread overview]
Message-ID: <44A3BE4B.8090905@us.ibm.com> (raw)
In-Reply-To: <1151552130.14360.10.camel@localhost.localdomain>

Rusty Russell wrote:
> On Mon, 2006-06-19 at 09:19 -0700, Andrew Warfield wrote:
>   
>> Attached to this email is a patch containing the (new and improved)
>> blktap Linux driver and associated userspace tools for Xen.  In
>> addition to being more flavourful, containing half the fat, and
>> removing stains twice as well as the old driver, this stuff adds a
>> userspace block backend and let you use raw (without loopback), qcow,
>> and vmdk-based image files for your domUs.  There's also a fun little
>> driver that provides a shared-memory block device which, in
>> combination with OCFS2, represents a cheap-and-cheerful fast shared
>> filesystem between multiple domUs.
>>     
>
> Hi Andrew,
>
> 	I like the idea of block servers in userspace, but I'm curious.  When I
> wrote the simple share block server I couldn't see an obvious
> justification for multiple outstanding requests (with AIO/threads and
> all that entails),

Are you thinking of posix-aio?  posix-aio is "emulated" with threads and 
normal read/select calls.  The performance isn't that great.

I believe blktap is using linux-aio which doesn't use threads (it uses 
the linux specific interface).  I've seen a number of benchmarks where 
linux-aio is significantly better than posix-aio.

Regards,

Anthony Liguori

>  so I went for the trivial single request approach.
> It seems to me that the backend doesn't have much information the front
> end doesn't have.
>
> Just wondered if you'd tried a naive approach first...
>
> Thanks!
> Rusty.
>   

  parent reply	other threads:[~2006-06-29 11:49 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 16:19 [PATCH] Blktap: Userspace file-based image support. (RFC) Andrew Warfield
2006-06-19 16:51 ` NAHieu
2006-06-19 17:22   ` Andrew Warfield
2006-06-19 18:41     ` NAHieu
2006-06-19 21:07       ` Andrew Warfield
2006-06-19 21:16     ` Dan Smith
2006-06-19 18:55 ` Anthony Liguori
2006-06-19 19:22   ` Andrew Warfield
2006-06-19 19:26   ` Andrew Warfield
2006-06-19 19:51     ` Anthony Liguori
2006-06-19 19:15 ` Anthony Liguori
2006-06-19 19:31   ` Andrew Warfield
2006-06-29  3:35 ` Rusty Russell
2006-06-29  5:24   ` Andrew Warfield
2006-06-29  6:31     ` Rusty Russell
2006-06-29 14:34       ` Andrew Warfield
2006-06-30 13:35         ` Stephen C. Tweedie
2006-06-30 14:17           ` Julian Chesterfield
2006-06-30 18:41             ` Jeff Moyer
2006-06-29 11:49   ` Anthony Liguori [this message]
2006-06-29 12:26     ` Laurent Vivier
     [not found] <C0BCD26E.5C31%julian@xensource.com>
2006-06-19 21:42 ` Julian Chesterfield
2006-06-19 21:56   ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2006-06-20 11:07 [PATCH] Blktap: Userspace file-based image support.(RFC) Ian Pratt
2006-06-20 21:10 ` Dan Smith
2006-06-21 14:45   ` Anthony Liguori
2006-06-30 13:41   ` Stephen C. Tweedie
2006-06-30 14:17     ` Dan Smith
2006-06-30 19:37       ` Stephen C. Tweedie
2006-06-30 20:06         ` Dan Smith
2006-06-30 22:15           ` Jerone Young
2006-07-01  0:36             ` Mark Williamson
2006-07-01 14:22               ` Dan Smith
2006-07-03 11:00                 ` Mark Williamson
2006-07-03 14:52             ` Stephen C. Tweedie
2006-07-03 12:02         ` Harry Butterworth
2006-07-03 14:56           ` Stephen C. Tweedie
2006-07-03 15:40             ` Harry Butterworth
2006-07-04 19:39               ` Andrew Warfield
2006-07-05  0:25                 ` Dan Smith
2006-07-05  0:48                   ` Andrew Warfield
2006-07-05  1:40                 ` Harry Butterworth
     [not found] <C0BD844E.5C4D%julian@xensource.com>
2006-06-20 13:44 ` [PATCH] Blktap: Userspace file-based image support. (RFC) Julian Chesterfield
     [not found] <C0BDB8FE.5C5D%julian@xensource.com>
2006-06-20 13:57 ` Julian Chesterfield

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=44A3BE4B.8090905@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=andrew.warfield@cl.cam.ac.uk \
    --cc=julian.chesterfield@cl.cam.ac.uk \
    --cc=rusty@rustcorp.com.au \
    --cc=xen-devel@lists.xensource.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.