All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Boullis <nicolas.boullis@ecp.fr>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] parallel I/O
Date: Fri, 12 Sep 2008 15:40:40 +0200	[thread overview]
Message-ID: <48CA7158.5080500@ecp.fr> (raw)

Hi,

I've been using uml on production servers for months, and have been
quite happy with it, except for I/O performance.

I was using the user-mode-linux package from Debian Etch, based on
2.6.18, and compiled with CONFIG_BLK_DEV_UBD_SYNC. Disabling this option
of course helps performance, but I feel that it's somewhat unsafe if the
host crashes... Moreover, I don't think it helps read performance.

As far as I can see, if one wants both safety and performance, the I/O
must not be serialized. So I decided to give it a try.

The first step was to run a per-device I/O thread. This improves
slightly the performance with several UBD devices: I/O on one device do
not block I/O on another device. Moreover, that helps to implement
parallelized I/O.

Then I managed to run several parallel threads per device. As far as I
am concernced, that much improves the performance. But currently, my
code is more a dirty proof-of-concept than a clean patch.

Would you be interested by my work?


Cheers,

Nicolas Boullis
École Centrale Paris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2008-09-12 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 13:40 Nicolas Boullis [this message]
2008-09-15  8:59 ` [uml-devel] parallel I/O Nicolas Boullis
2008-10-02 13:34   ` Nicolas Boullis
2008-10-04  4:28     ` Jeff Dike
2008-10-04 16:37       ` Nicolas Boullis
2008-10-06 13:28         ` Nicolas Boullis

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=48CA7158.5080500@ecp.fr \
    --to=nicolas.boullis@ecp.fr \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.