[openbeosnetteam] Re: Dial-Up

  • From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 9 Apr 2003 17:02:24 -0300 (BRT)

On Wed, 9 Apr 2003, Axel =?iso-8859-1?q?D=F6rfler ?= wrote:

> It can't achieve this alone. The networking drivers would have to be 
> changed for this - the read/write functions of the driver mustn't be 
> used when want to remove all copies (since we can't remove the one that 
> happens when the recv() function is called).
> We could also provide a zero copying userland C++ API - that would be a 
> nice advantage over using the standard BSD socket API.

Just to remind that it is ok to have zero-copy for receiving data, but 
zero-copy for *SENDING* data (specially TCP packets) is overkill and will 
actually decrease performance (due to retransmission).

-Bruno



Other related posts: