Re: sendfile

From: bert hubert (ahu@ds9a.nl)
Date: Wed Apr 30 2003 - 11:51:03 EST


On Wed, Apr 30, 2003 at 04:28:32PM +0200, P?l Halvorsen wrote:
> Hi!
>
> Does sendfile support UDP connections (SOCK_DGRAM)?

Try it. I bet it doesn't do so, and certainly not usably. Blasting UDP
frames is seldomly useful without checks, like NFS performs.

> Does sendfile remove ALL in-memory data copy operations?

Depends. With some network adaptors it might. Definition of 'zero-copy' is
somewhat misty. Some variants of zero-copy would actually be called
'one-copy' or 'minus-one-copy' in other contexts.

Regards,

bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
-
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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:35 EST