On Thu, 12 Sep 2002, David S. Miller wrote:
> I disagree, at least for bulk receivers. We have no way currently to
> get rid of the data copy. We desperately need sys_receivefile() and
> appropriate ops all the way into the networking, then the necessary
> driver level support to handle the cards that can do this.
not sure i understand what you're proposing, but while we're at it, why
not also make the api for apps to allocate a buffer in userland that (for
nics that support it) the nic can dma directly into? it seems likely
notification that the buffer was used would have to travel through the
kernel, but it would be nice to save the interrupts altogether.
this may be exactly what you were saying.
> Once 10gbit cards start hitting the shelves this will convert from a
> nice perf improvement into a must have.
totally agreed. this is a must for high-performance computing now (since
who wants to waste 80-100% of their CPU just running the network)?
todd underwood, vp & cto
oso grande technologies, inc.
"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin