Thread (26 messages) 26 messages, 7 authors, 2002-10-24

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

flat view

From: Roy Sigurd Karlsbakk <hidden>
Date: 2002-10-23 15:12:37
Also in: lkml

On Wednesday 23 October 2002 16:59, Nivedita Singhvi wrote:
bert hubert wrote:
quoted
quoted
...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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help