* optimizing sendfile
@ 2007-04-05 22:04 Yaar Schnitman
0 siblings, 0 replies; only message in thread
From: Yaar Schnitman @ 2007-04-05 22:04 UTC (permalink / raw)
To: linux-kernel; +Cc: Yaar Schnitman
Hi,
How can I control the size of the block requests the sendfile() syscall
performs
against the disk?
I'm using sendfile (on a 2.6.18 kernel) to copy 1M file chunks into a
socket. The
socket send buffer size is 2MB, and I verify that its empty before
making the call.
Indeed, 1M chunk is being sent, but from iostat, I can tell that the
average request
size is around 128KB. Are there any kernel configuration variables that
could change that?
Help will be appreciated.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-05 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05 22:04 optimizing sendfile Yaar Schnitman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox