mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erez Zilber <erezzi.list@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Disable aggregation of requests to a block device
Date: Thu, 19 Feb 2009 14:08:20 +0200	[thread overview]
Message-ID: <ce513bcc0902190408j174807a6t73300c8b8fd3c708@mail.gmail.com> (raw)

Hi,

I'm running I/O to a block device (which is an iSCSI device, but that
shouldn't matter), usually with transfer length = 128kB. From time to
time, I see that 2 128kB commands get aggregated to a single 256kB
command, which is bad for me because the resources that I allocate are
based on 128kB commands. I could limit the command size by setting
/sys/block/sdX/queue/max_sectors_kb to 128kB, but sometimes I expect
larger commands (e.g. 512kB), and I don't want the block layer to
split them into smaller commands.

My question is: can I disable this aggregation? If yes, how? Else, is
there another solution?

Thanks,
Erez

                 reply	other threads:[~2009-02-19 12:08 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=ce513bcc0902190408j174807a6t73300c8b8fd3c708@mail.gmail.com \
    --to=erezzi.list@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®