Re: Status of AIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Benjamin LaHaise <[email protected]>
Date: Mon, 6 Mar 2006 18:33:00 -0500

> On Mon, Mar 06, 2006 at 02:53:07PM -0800, Ulrich Drepper wrote:
> > I don't think the POSIX AIO nor the kernel AIO interfaces are suitable
> > for sockets, at least the way we can expect network traffic to be
> > handled in the near future.  Some more radical approaches are needed. 
> > I'll have some proposals which will be part of the talk I have at OLS.
> 
> 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.

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.

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.

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 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux