From: Yaar Schnitman <yaar@pando.com>
To: linux-kernel@vger.kernel.org
Cc: Yaar Schnitman <yaar@pando.com>
Subject: optimizing sendfile
Date: Thu, 05 Apr 2007 18:04:27 -0400 [thread overview]
Message-ID: <4615726B.4080800@pando.com> (raw)
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.
reply other threads:[~2007-04-05 22:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4615726B.4080800@pando.com \
--to=yaar@pando.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.