netdev
[Top] [All Lists]

O_DIRECT sockets? (was [RESEND] tuning linux for high network performanc

To: Nivedita Singhvi <niv@xxxxxxxxxx>, bert hubert <ahu@xxxxxxx>
Subject: O_DIRECT sockets? (was [RESEND] tuning linux for high network performance?)
From: Roy Sigurd Karlsbakk <roy@xxxxxxxxxxxxx>
Date: Wed, 23 Oct 2002 17:26:21 +0200
Cc: netdev@xxxxxxxxxxx, Kernel mailing list <linux-kernel@xxxxxxxxxxxxxxx>
In-reply-to: <3DB6B96F.A0DE47BF@xxxxxxxxxx>
Organization: ProntoTV AS
References: <200210231218.18733.roy@xxxxxxxxxxxxx> <20021023130101.GA646@xxxxxxxxxxxxxxx> <3DB6B96F.A0DE47BF@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.4.1
On Wednesday 23 October 2002 16:59, Nivedita Singhvi wrote:
> bert hubert wrote:
> > > ...adding the whole profile output - sorted by the first column this
> > > time...
> > >
> > > 905182 total                                      0.4741
> > > 121426 csum_partial_copy_generic                474.3203
> > >  93633 default_idle                             1800.6346
> > >  74665 do_wp_page                               111.1086
> >
> > Perhaps the 'copy' also entails grabbing the page from disk, leading to
> > inflated csum_partial_copy_generic stats?
>
> I think this is strictly a copy from user space->kernel and vice versa.
> This shouldnt include the disk access etc.

hm

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?

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.



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