From: Jens Axboe <axboe@suse.de>
To: David Anderson <david-anderson2003@mail.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: I/O Request [Elevator; Clustering; Scatter-Gather]
Date: Tue, 4 Mar 2003 14:50:00 +0100 [thread overview]
Message-ID: <20030304135000.GA29990@suse.de> (raw)
In-Reply-To: <20030304133201.18619.qmail@mail.com>
On Tue, Mar 04 2003, David Anderson wrote:
>
> Hi, I have been going through some documentation that talks of
> clustering, scatter-gather and elevator being used to improve
> performance. I am confused between these :
>
> This is what I have understood : Elevator The job of the elevator is
> to sort I/O requests to disk drives in such a way that the disk head
> moving in the same direction for maximum performance. Have been able
> to locate the code for the same.
>
> Clustering Combines multiple requests to adjecent blocks into a single
> request. Have not been able to find the code which carries this out.
> Any clue on where this is done in the linux source code ??
Both actions are performed by the elevator in Linux. You did not mention
which kernel you are looking at, for 2.4 you need to read
drivers/block/ll_rw_blk.c and drivers/block/elevator.c. For 2.5, read
the same files and drivers/block/deadline-iosched.c in addition.
> Do Clustering of request and scatter-gather mean the same ?? Confused
> to the core... Kindly help me ...
No, the elevator clustering refers to clustering request that are
contigious on disk. Scatter-gather may cluster sg entries that are
contigious in memory.
--
Jens Axboe
next prev parent reply other threads:[~2003-03-04 13:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 13:32 I/O Request [Elevator; Clustering; Scatter-Gather] David Anderson
2003-03-04 13:50 ` Jens Axboe [this message]
2003-03-04 21:10 ` Daniel Phillips
2003-03-04 14:20 ` Jens Axboe
2003-03-04 17:47 ` Bryan Henderson
2003-03-04 18:04 ` Luben Tuikov
2003-03-04 14:14 ` Scott Merritt
-- strict thread matches above, loose matches on Subject: below --
2003-03-04 14:11 David Anderson
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=20030304135000.GA29990@suse.de \
--to=axboe@suse.de \
--cc=david-anderson2003@mail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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