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: Tue, 07 Mar 2006 11:06:21 -0500 [thread overview]
Message-ID: <440DAF7D.1050605@cfl.rr.com> (raw)
In-Reply-To: <20060306.220237.07925602.davem@davemloft.net>
David S. Miller wrote:
> The whole idea is to figure out what socket gets the packet
> without going through the IP and TCP stack at all, in the
> hardware interrupt handler, using a tiny classifier that's
> very fast and can be implemented in hardware.
>
AFAIK, "going through the IP and TCP stack" just means passing a quick
packet classifier to locate the corresponding socket. It would be nice
to be able to possibly offload that to the hardware, but you don't need
to throw out the baby ( tcp/ip stack ) with the bathwater to get there.
Maybe some sort of interface could be constructed to allow the higher
layers to pass down some sort of ASL type byte code classifier to the
NIC driver, which could either call it via the kernel software ASL
interpreter, or convert it to firmware code to load into the hardware.
> Please wrap your brain around the idea a little longer than
> the 15 or so minutes you have thus far... thanks.
>
I've had my brain wrapped around these sort of networking problems for
over 10 years now, so I think I have a fair handle on things. Certainly
enough to carry on a discussion about it.
>> Yes, we can and should have a 6 times speed up, but as I've explained
>> above, NT has had that for 10 years without having to push TCP into user
>> space.
>
> That's complete BS.
Error, does not compute.
Your holier than thou attitude does not a healthy discussion make. I
explained the methods that have been in use on NT to achieve a 6 fold
decrease in cpu utilization for bulk network IO, and how it can be
applied to the Linux kernel without radical changes. If you don't
understand it, then ask sensible questions, not just cry "That's
complete BS!"
We already have O_DIRECT aio for disk drives that can do zero copy,
there's no reason not to apply that to the network stack as well.
next prev parent reply other threads:[~2006-03-07 16:07 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
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 [this message]
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=440DAF7D.1050605@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