9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Bay Area Plan 9 Users Group Meeting (August '07)
Date: Wed,  8 Aug 2007 14:20:40 -0700	[thread overview]
Message-ID: <13426df10708081420k15b295dfh1bf2357098c3b4d@mail.gmail.com> (raw)
In-Reply-To: <a4e6962a0708081414y688aa7a7g4aa85bb25311c17e@mail.gmail.com>

On 8/8/07, Eric Van Hensbergen <ericvh@gmail.com> wrote:

> That really doesn't seem right, I looked more at the block and the
> console code, but it seems like there should be code which "claims"
> posted DMA buffers and then the guest should have to re-post them.

That's how I would have designed it, and how I expected it to work,
but it doesn't work that way. Once you do a bind for a dma descriptor,
that's it -- and the enet code will happily overwrite that buffer. You
have to move fast and have a few of them. See the handle_tun_input in
lguest.c

>    a) follow the console driver style and just shuffle to named/pipe
> socket to 9p server
>    b) follow the libos style and just use a shared memory buffer
> posted in dev->mem that is mmaped from shared memory with the server
>    c) use dev->mem to store fcall slots and use the dma buffers to
> shuffle payload -- this should be the optimal zero-copy case
>
> (a) can theoretically target any 9p server, (b) will work against
> inferno-tx and (c) will work against a modified spfs and will take
> some pretty heavy modifications to v9fs (don't need to marshall the
> fcall, just stick it in a struct in shared memory).  The idea is to
> compare the performance of the three approaches and see just how much
> cost (performance and complexity) is involved in each.  Should have
> (a) done in a matter of hours.

When (a) is done let me know :-)

ron


  reply	other threads:[~2007-08-08 21:20 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-29 23:02 David Hendricks
2007-07-30 20:43 ` David Leimbach
2007-07-31  6:22 ` Nick LaForge
2007-08-01  1:36 ` Gorka Guardiola
2007-08-01  1:54   ` erik quanstrom
2007-08-01  2:31     ` Gorka Guardiola
2007-08-01  2:35       ` erik quanstrom
2007-08-01  3:37         ` Paul Lalonde
2007-08-01  4:13           ` Skip Tavakkolian
2007-08-01  4:50             ` Lucio De Re
2007-08-01  8:14               ` Bruce Ellis
2007-08-01 20:55               ` Francisco J Ballesteros
2007-08-07 21:37                 ` David Hendricks
2007-08-07 22:22                   ` Kim Shrier
2007-08-07 22:35                     ` David Hendricks
2007-08-08  1:56                       ` David Leimbach
2007-08-08 11:26                         ` Bruce Ellis
2007-08-08 17:13                           ` ron minnich
2007-08-08 17:22                             ` Charles Forsyth
2007-08-08 18:33                               ` David Leimbach
2007-08-08 17:27                             ` Kris Maglione
2007-08-08 19:16                               ` Kris Maglione
2007-08-08 19:14                             ` ron minnich
2007-08-08 20:37                               ` Charles Forsyth
2007-08-08 20:41                                 ` ron minnich
2007-08-08 20:58                                   ` Charles Forsyth
2007-08-08 21:08                                     ` ron minnich
2007-08-08 21:14                                       ` Eric Van Hensbergen
2007-08-08 21:20                                         ` ron minnich [this message]
2007-08-08 19:16                         ` David Hendricks
2007-08-08 19:40                           ` David Leimbach
2007-08-08 20:35                           ` Charles Forsyth
2007-08-08 20:41                             ` ron minnich
2007-08-07 23:07                   ` Tharaneedharan Vilwanathan
2007-08-07 23:11                     ` Tharaneedharan Vilwanathan
2007-08-01 23:52   ` David Hendricks
2007-08-02  1:35     ` Gorka Guardiola
2007-08-08  1:15 ` [9fans] " David Hendricks
2007-08-10 22:45 ` [9fans] " Roman Shaposhnick
     [not found]   ` <dac0a5820708101945ud4e7fb4t6f09288cbdf54019@mail.gmail.com>
2007-08-11  4:37     ` Bruce Ellis
2007-08-11  5:13     ` Anthony Sorace

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=13426df10708081420k15b295dfh1bf2357098c3b4d@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).