netdev
[Top] [All Lists]

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

To: Roy Sigurd Karlsbakk <roy@xxxxxxxxxxxxx>
Subject: Re: O_DIRECT sockets? (was [RESEND] tuning linux for high network performance?)
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Wed, 23 Oct 2002 09:34:38 -0700
Cc: bert hubert <ahu@xxxxxxx>, netdev@xxxxxxxxxxx, Kernel mailing list <linux-kernel@xxxxxxxxxxxxxxx>
References: <200210231218.18733.roy@xxxxxxxxxxxxx> <20021023130101.GA646@xxxxxxxxxxxxxxx> <3DB6B96F.A0DE47BF@xxxxxxxxxx> <200210231726.21135.roy@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>