From: "Richard W.M. Jones" <rjones@redhat.com>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: "user-mode-linux-devel@lists.sourceforge.net"
<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] Performance tests (was: Using UML in libguestfs)
Date: Thu, 15 Aug 2013 18:59:45 +0100 [thread overview]
Message-ID: <20130815175945.GO5918@redhat.com> (raw)
In-Reply-To: <CAFLxGvyNWbMiDjXREb8AbKHEyGvYBr4WhVAGsg6DfKYc8bfOjA@mail.gmail.com>
On Thu, Aug 15, 2013 at 07:37:06PM +0200, richard -rw- weinberger wrote:
> On Wed, Aug 14, 2013 at 7:59 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> >
> > I performed some benchmarks against KVM:
> >
> > http://rwmj.wordpress.com/2013/08/14/performance-of-user-mode-linux-as-a-libguestfs-backend/#content
> >
> > Notes for those that don't want to read all that, there are at least
> > two bugs I found:
> >
> > (1) fsync /dev/ubda (in the guest) is not honoured by the user-mode
> > linux process. It should do an fsync on the corresponding backing file.
>
> What exactly does libguestfs do?
http://libguestfs.org/ ...
> > (2) The ssl<N>=... serial port is really slow, at least 10 times
> > slower than virtio-serial which is the equivalent KVM feature.
> > libguestfs is chatty over the serial port, and so this has a
> > significant knock-on impact all over the place.
>
> So, libguestfs transfers all data over a serial line?!
Well, it requires an 8-bit clean, reliable, bi-directional connection
into the guest. We used to use TCP/IP but it's pretty slow compared
to virtio-serial and has a bunch of other problems.
For the UML backend I used the serial port. There's no problem with
it -- it works and it's reliable, it's just slow.
> We could hack a faster transport into UML.
> As UML is only a process we can very easily access
> the host.
> Have looked at hostfs?
Not sure how hostfs would help?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2013-08-15 17:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 20:43 [uml-devel] Using UML in libguestfs Richard W.M. Jones
2013-08-09 20:57 ` richard -rw- weinberger
2013-08-09 21:31 ` Richard W.M. Jones
2013-08-10 4:16 ` Mattia Dongili
2013-08-09 21:15 ` Richard W.M. Jones
2013-08-09 21:18 ` Richard Weinberger
2013-08-09 21:24 ` Richard W.M. Jones
2013-08-11 19:05 ` Geert Uytterhoeven
2013-08-11 19:27 ` Richard W.M. Jones
2013-08-13 11:16 ` Geert Uytterhoeven
2013-08-14 17:59 ` [uml-devel] Performance tests (was: Using UML in libguestfs) Richard W.M. Jones
2013-08-15 17:37 ` richard -rw- weinberger
2013-08-15 17:59 ` Richard W.M. Jones [this message]
2013-08-15 18:41 ` richard -rw- weinberger
2013-08-15 18:59 ` Richard W.M. Jones
2013-08-15 20:31 ` richard -rw- weinberger
2013-08-16 7:54 ` Richard W.M. Jones
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=20130815175945.GO5918@redhat.com \
--to=rjones@redhat.com \
--cc=richard.weinberger@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox