Re: zero-copy networking & a performance drop

Bernd Eckenfels (ecki-news2002-06@lina.inka.de)
Thu, 27 Jun 2002 23:08:40 +0200


In article <Pine.LNX.4.44.0206271146280.9500-100000@alvie-mail.lanl.gov> you wrote:
> Previous tests have show that we can transmit IP packets easily at around
> 1.4 Gbit, but we can only receive at about 0.9 Gbit. We suspect there is a
> memory copy somewhere either in the quadrics IP driver (covered by an NDA,
> sorry), or in the IP stack after netif_rx() is called. I've looked at the
> driver, and, upon a (good) cursory inspection, it looks good.

You have to sign a NDA for a hardware which bahaves slower than expected and
then u seek help in the open community? I would ask you to bother the
manufacturer, so they know about this problem and solve it. After all, if
you have to pay for it you should actually USE their service.

AFAIK only a few methods like sendfile support zero copy ip.

But on the other hand, if the card works by memory sharing perhaps TCP/IP is
simply the wrong api to speak to that device?

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