Re: O_DIRECT sockets? (was [RESEND] tuning linux for high network performance?)

From: Nivedita Singhvi (niv@us.ibm.com)
Date: Wed Oct 23 2002 - 11:34:38 EST


Roy Sigurd Karlsbakk wrote:

> I'm doing O_DIRECT read (from disk), so it needs to be user -> kernel, then.
>
> any chance of using O_DIRECT to the socket?

Hmm, I'm still not clear on why you cannot use sendfile()?
I was not aware of any upper limit to the file size in order
for sendfile() to be used? From what little I know, this
is exactly the kind of situation that sendfile was intended
to benefit.

thanks,
Nivedita
-
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 Oct 23 2002 - 22:01:05 EST