mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel coder <lhrkernelcoder@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Observation on IDE read operation
Date: Tue, 17 Jan 2006 04:10:15 -0800	[thread overview]
Message-ID: <f69849430601170410q67fd075cka5fbff213b7f08d9@mail.gmail.com> (raw)

hi,

I was analyzing the IDE i/o mechanism in linux kernel 2.4.32.I
observed following sequence of read requests to read a particular file
with size around 13kb.

1) block no=9706		 number of sectors=20

2) block no=9723		 number of sectors=4

3) block no=9725		 number of sectors=2

4) block no=9726		 number of sectors=2

As u can see 4 different requests were made to read blocks 9706 to
9715 , 9723 to 9724 , 9725 , 9726.

The function __make_request ensures that requests are rearranged and
merged so that consective blocks are read in one request.So please
tell me why separete requests were made for reading blocks 9723 to
9724 , 9725 , 9726 ,when requests from 9724 to 9726 can be merged into
one.

Is it suitable that instead of generating separte requests for reading
 9706 to 9715 and 9723 to 9726 blocks ,just one request for reading
9706 to 9726 blocks is issued.This will cause irrelevant blocks (9716
to 9722) to be read as well but they can be discarded.

 If all data blocks of that particular file are read in one
request,will it increase  the speed of read operation on that file.

shahzad

                 reply	other threads:[~2006-01-17 12:10 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=f69849430601170410q67fd075cka5fbff213b7f08d9@mail.gmail.com \
    --to=lhrkernelcoder@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®