From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: virtio implementation?
Date: Wed, 18 Jul 2007 11:49:50 +0300 [thread overview]
Message-ID: <469DD42E.3050406@qumranet.com> (raw)
In-Reply-To: <1184742407.10380.108.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
Rusty Russell wrote:
> On Tue, 2007-07-17 at 23:49 -0700, Dor Laor wrote:
>
>>> On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
>>>
>>>> btw: Rusty - what do you think of virtio for the host?
>>>>
>>> You mean backend? For networking it makes a great deal of sense. For
>>> block it makes far less sense (COW, weird formats, etc).
>>>
>> I meant networking, but there are more components we can add to the
>> host:
>> - Block device can be directed into blkTap thus making the
>> result both flexible and zero-copy.
>>
>
> Let's avoid the term "zero-copy" since it usually indicates that the
> people in the discussion can't count.
Well, for block you can do zero copy, using O_DIRECT.
> Let's further assume that kvm
> changes to the lguest model where guest pages are user pages.
>
That's a valid assumption. The rest of the discussion doesn't depend on
it, does it?
> AFAICT the only difference between a userspace host block driver and a
> kernel host block driver is now the system call overhead, and the
> difficulty of doing efficient write barriers from userspace.
>
>
True. For mortal people setups where you have at most a few thousand
ops/sec, the overhead is negligible. In-kernel host drivers make sense
only for 100+ disks. These people are better off using blockdevs rather
than file, so an in-kernel block device need not support file-based storage.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-07-18 8:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-17 13:19 virtio implementation? Gregory Haskins
[not found] ` <469C89BD0200005A00027AE1-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-17 13:31 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160CC163F7-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-07-17 23:42 ` Rusty Russell
[not found] ` <1184715761.10380.37.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-07-18 6:49 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160CC169D5-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-07-18 7:06 ` Rusty Russell
[not found] ` <1184742407.10380.108.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-07-18 8:49 ` Avi Kivity [this message]
2007-07-18 7:57 ` Gerd Hoffmann
[not found] ` <469DC7F2.8050909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-07-18 23:48 ` Arnd Bergmann
[not found] ` <200707190148.21728.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 0:02 ` Anthony Liguori
[not found] ` <469EAA2B.40307-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-07-19 0:12 ` Arnd Bergmann
[not found] ` <200707190212.25826.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 1:42 ` Anthony Liguori
2007-07-19 5:42 ` Avi Kivity
2007-07-19 2:37 ` Daniel P. Berrange
-- strict thread matches above, loose matches on Subject: below --
2007-07-17 13:37 Gregory Haskins
[not found] ` <469C8DDF0200005A00027AEC-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-17 16:14 ` Dor Laor
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=469DD42E.3050406@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.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