lkml.org 
[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1
From
>>>>> David S Miller <davem@redhat.com> writes:

> I would have thought one of the main interests of doing
> something like this would be to allow us to speed up large
> writes to the socket for ncpfs/knfsd/nfs/smbfs/...

> This is what TCP_CORK/MSG_MORE et al. are all for, things get
> coalesced perfectly. Sending in a vector of pages seems nice,
> but none of the page cache infrastructure works like this, all
> of the core routines work on a page at a time. It actually
> simplifies a lot.

> The writepage interface optimizes large file writes to a socket
> just fine.

OK, but can you eventually generalize it to non-stream protocols
(i.e. UDP)?
After all, it doesn't make sense to differentiate between zero-copy on
stream and non-stream sockets, and Linux NFS, at least, remains
heavily UDP-oriented...

Cheers,
Trond
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.136 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site