lkml.org 
[lkml]   [2002]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] zerocopy NFS updated
From
Date
>>>>> " " == Hirokazu Takahashi <taka@valinux.co.jp> writes:

> Hi, I've been thinking about your comment, and I realized it
> was a good suggestion. There are no problem with the zerocopy
> NFS, but If you want to use UDP sendfile for streaming or
> something like that, you wouldn't get good performance.

Surely one can work around this in userland without inventing a load
of ad-hoc schemes in the kernel socket layer?

If one doesn't want to create a pool of sockets in order to service
the different threads, one can use generic methods such as
sys_readahead() in order to ensure that the relevant data gets paged
in prior to hogging the socket.

There is no difference between UDP and TCP sendfile() in this respect.

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

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