linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roy Waldspurger <rlists@frameandfocus.com>
To: linux-raid@vger.kernel.org
Subject: read-ahead cache on indiv. raid members and entire md device
Date: Tue, 18 Jul 2006 02:33:21 -0700	[thread overview]
Message-ID: <44BCAAE1.4070205@frameandfocus.com> (raw)

Hi,

I'm looking for advice on tuning the read-ahead cache for an md device...

for example, should I merely set the read-ahead for the md device:

blockdev --setra ### /dev/md2

or should I start touching the individual raid member devices:

blockdev --setra ### /dev/sdc1
blockdev --setra ### /dev/sdd1
blockdev --setra ### /dev/sde1, etc.

I'm not sure about the relation between the two caches.

Also, does the read-ahead cache for the entire md device show-up in 
/proc/ or /sys/block/mdX?  I of course find the read-ahead for the 
individual devices under, for example:

/sys/block/sdc/queue/read_ahead_kb

Many thanks in advance.

Cheers,

-- roy



                 reply	other threads:[~2006-07-18  9:33 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=44BCAAE1.4070205@frameandfocus.com \
    --to=rlists@frameandfocus.com \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).