Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

Ingo Molnar (mingo@elte.hu)
Tue, 9 Jan 2001 15:40:56 +0100 (CET)


On Tue, 9 Jan 2001, Stephen C. Tweedie wrote:

> > i used to think that this is useful, but these days it isnt. It's a waste
> > of PCI bandwidth resources, and it's much cheaper to keep a cache in RAM
> > instead of doing direct disk=>network DMA *all the time* some resource is
> > requested.
>
> No. I'm certain you're right when talking about things like web
> serving, [...]

yep, i was concentrating on fileserving load.

> but it just doesn't apply when you look at some other applications,
> such as streaming out video data or performing fileserving in a
> high-performance compute cluster where you are serving bulk data.
> The multimedia and HPC worlds typically operate on datasets which are
> far too large to cache, so you want to keep them in memory as little
> as possible when you ship them over the wire.

i'd love to first see these kinds of applications (under Linux) before
designing for them. Eg. if an IO operation (eg. streaming video webcast)
does a DMA from a camera card to an outgoing networking card, would it be
possible to access the packet data in case of a TCP retransmit? Basically
these applications are limited enough in scope to justify even temporary
'hacks' that enable them - and once we *see* things in action, we could
design for them. Not the other way around.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/