From: Phillip Susi <psusi@cfl.rr.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: bcrl@kvack.org, drepper@gmail.com, da-x@monatomic.org,
linux-kernel@vger.kernel.org
Subject: Re: Status of AIO
Date: Mon, 06 Mar 2006 20:34:46 -0500 [thread overview]
Message-ID: <440CE336.3080504@cfl.rr.com> (raw)
In-Reply-To: <20060306.162444.107249907.davem@davemloft.net>
David S. Miller wrote:
>
> I think something like net channels will be more effective on receive.
>
What is this "net channels"? I'll do some googling but if you have a
direct reference it would be helpful.
> We shouldn't be designing things for the old and inefficient world
> where the work is done in software and hardware interrupt context, it
> should be moved as close as possible to the compute entities and that
> means putting the work all the way into the app itself, if not very
> close.
>
> To me, it is not a matter of if we put the networking stack at least
> partially into some userland library, but when.
>
Maybe you should try using a microkernel then like mach? The Linux way
of doing things is to leave critical services that most user mode code
depends on, such as filesystems and the network stack, in the kernel. I
don't think that's going to change.
> Eveyone has their brains wrapped around how OS support for networking
> has always been done, and assuming that particular model is erroneous
> (and net channels show good hard evidence that it is) this continued
> thought process merely continues the error.
>
Have you taken a look at bsd's kqueue and NT's IO completion port
approach? They allow virtually all of the IO to be offloaded to
hardware DMA, and there's no reason Linux can't do the same with aio and
O_DIRECT. There's no need completely throw out the stack and start
over, let alone in user mode, to get there.
> I really dislike it when non-networking people work on these
> interfaces. They've all frankly stunk, and they've had several
> opportunities to try and get it right.
>
I agree, the old (non) blocking IO style interfaces have all sucked,
which is why it's time to move on to aio. NT has been demonstrating for
10 years now ( that's how long ago I wrote an FTPd using IOCPs on NT )
the benefits of async IO. It has been a long time coming, but once the
Linux kernel is capable of zero copy aio, I will be quite happy.
> I want a bonafide networking person to work on any high performance
> networking API we every decide to actually use.
>
> This is why I going to sit and wait patiently for Van Jacobson's work
> to get published and mature, because it's the only light in the tunnel
> since Multics.
>
> Yes, since Multics, that's how bad the existing models for doing these
> things are.
next prev parent reply other threads:[~2006-03-07 1:35 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
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 [this message]
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=440CE336.3080504@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=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