From: Jens Axboe <axboe@suse.de>
To: Mukul Kotwani <mkotwani@yahoo.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Max IO size
Date: Fri, 2 Aug 2002 08:44:03 +0200 [thread overview]
Message-ID: <20020802064403.GG1512@suse.de> (raw)
In-Reply-To: <20020801235432.14372.qmail@web14005.mail.yahoo.com>
On Thu, Aug 01 2002, Mukul Kotwani wrote:
>
> Thanks for the reply!
>
> All my values are set high. The sg_tablesize value is
> set to 249, max_sectors set to 1024, and I dont think
> there is any other value which affects IO size as
> such. I didnt see anything called max segment size/max
> size in the host template. Any other things I am
> missing?
The max segment size is a property of the queue associated with the SCSI
devices, it's in fact not directly controllable by the low level driver
in the 2.4 kernels. What you can set in this regard is 'use_clustering'.
With that set, the mid layer will attempt to merge contigious pages into
the same scatter gather segment. This usually only provides a benefit
with 1kb transfers (since they will typically be submitted in multiples
anyway from the same page, thus it's easy to cluster them), with eg 4kb
transfer sizes the amount of clustering that will happen is neglible.
--
Jens Axboe
next prev parent reply other threads:[~2002-08-02 6:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-01 0:22 Max IO size Mukul Kotwani
2002-08-01 8:45 ` Jens Axboe
2002-08-01 23:54 ` Mukul Kotwani
2002-08-02 5:17 ` Mukul Kotwani
2002-08-02 6:39 ` Jens Axboe
2002-08-02 6:44 ` Jens Axboe [this message]
2002-08-02 6:55 ` Mukul Kotwani
2002-08-02 7:50 ` Performance Mukul Kotwani
2002-08-02 9:16 ` Performance Fabien Salvi
2002-08-02 14:16 ` Performance Craig Tierney
2002-08-02 23:01 ` Performance Mukul Kotwani
2002-08-02 23:06 ` Performance Randy.Dunlap
2002-08-03 8:26 ` Performance Mukul Kotwani
2002-08-03 16:34 ` Performance Randy.Dunlap
2002-08-03 18:16 ` Performance Simon Trimmer
2002-08-03 20:03 ` Performance Mukul Kotwani
2002-08-04 6:27 ` Performance Jeremy Higdon
2002-08-04 7:39 ` Performance Mukul Kotwani
2002-08-04 8:01 ` Performance Jeremy Higdon
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=20020802064403.GG1512@suse.de \
--to=axboe@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=mkotwani@yahoo.com \
/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