public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@kvack.org>
To: "David S. Miller" <davem@davemloft.net>
Cc: drepper@gmail.com, da-x@monatomic.org, linux-kernel@vger.kernel.org
Subject: Re: Status of AIO
Date: Mon, 6 Mar 2006 19:42:37 -0500	[thread overview]
Message-ID: <20060307004237.GT20768@kvack.org> (raw)
In-Reply-To: <20060306.162444.107249907.davem@davemloft.net>

On Mon, Mar 06, 2006 at 04:24:44PM -0800, David S. Miller wrote:
> > Oh?  I've always envisioned that network AIO would be able to use O_DIRECT 
> > style zero copy transmit, and something like I/O AT on the receive side.  
> > The in kernel API provides a lightweight event mechanism that should work 
> > ideally for this purpose.
> 
> I think something like net channels will be more effective on receive.

Perhaps, but we don't necessarily have to go to that extreme to get the 
value of the approach.  One way of doing network receive that would let 
us keep the same userland API is to have the kernel perform the receive 
portion of TCP processing in userspace as a vsyscall.  The whole channel 
would then be a concept internal to the kernel.  Once that works and the 
internals have settled down, it might make sense to export an API that 
allows us to expose parts of the channel to the user.

Unfortunately, I think that the problem of getting the packets delivered 
to the right user is Hard (especially with incoming filters and all the 
other features of the stack).

...
> I want a bonafide networking person to work on any high performance
> networking API we every decide to actually use.

I'm open to suggestions. =-)  So far my thoughts have mostly been limited 
to how to make tx faster, at which point you have to go into the kernel 
somehow to deal with the virtual => physical address translation (be it 
with a locked buffer or whatever) and kicking the hardware.  Rx has been 
much less interesting simply because the hardware side doesn't offer as 
much.

		-ben
-- 
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@kvack.org>.

  reply	other threads:[~2006-03-07  0:47 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  6:24 Status of AIO Dan Aloni
2006-03-06 15:05 ` Phillip Susi
2006-03-06 21:18 ` Benjamin LaHaise
2006-03-06 22:53   ` Ulrich Drepper
2006-03-06 23:15     ` Phillip Susi
2006-03-08  7:09       ` Ulrich Drepper
2006-03-08 15:58         ` Phillip Susi
2006-03-06 23:33     ` Benjamin LaHaise
2006-03-07  0:24       ` David S. Miller
2006-03-07  0:42         ` Benjamin LaHaise [this message]
2006-03-07  0:51           ` David S. Miller
2006-03-07  1:39             ` Benjamin LaHaise
2006-03-07  2:04               ` Dan Aloni
2006-03-07  2:07                 ` Benjamin LaHaise
2006-03-07  3:11                   ` David S. Miller
2006-03-07  7:33                   ` Dan Aloni
2006-03-07  3:06               ` David S. Miller
2006-03-07 16:35                 ` Benjamin LaHaise
2006-03-07  1:34         ` Phillip Susi
2006-03-07  3:04           ` David S. Miller
2006-03-07  4:07             ` Phillip Susi
2006-03-07  6:02               ` David S. Miller
2006-03-07 16:06                 ` Phillip Susi
2006-03-07  1:30   ` Dan Aloni
2006-03-07  1:37     ` Nicholas Miell
2006-03-07  1:37     ` Phillip Susi
2006-03-07  1:40     ` Benjamin LaHaise
2006-03-06 23:18 ` Phillip Susi

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=20060307004237.GT20768@kvack.org \
    --to=bcrl@kvack.org \
    --cc=da-x@monatomic.org \
    --cc=davem@davemloft.net \
    --cc=drepper@gmail.com \
    --cc=linux-kernel@vger.kernel.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