linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: AndyLiebman@aol.com
To: linux-raid@vger.kernel.org
Subject: blockdev tuning
Date: Mon, 24 May 2004 20:33:55 EDT	[thread overview]
Message-ID: <6d.2a6fa829.2de3ee73@aol.com> (raw)

Question about tuning blockdev settings under Linux 2.6 kernel. 

3ware tech support (and white papers on their web site) suggest tuning linux 
blockdev settings to get better read speads on their hardware raid5. 3ware 
suggests using 'blockdev --setra 16384 /dev/sdX' (where sdX is the device 
corresponding to the hardware raid). 

My question is, might there be -- or is there -- an advantage to doing 
similar tuning for Linux software raid5? 

Today, I tried using the 3ware blockdev setting on my mdX device. Before 
tuning, I checked the default readahead value with 'blockdev --getra /dev/md1' and 
it returned a value of 1709 or 1907. Something kind of low. 

I tried using the 3ware suggested value for their hardware raid -- 16384. 
With Bonnie++, (on an 18GB read/write) my read throughput increased from about 
175 MB/sec to about 205MB/sec. 

Does anybody know if there's a logical way to go about tuning blockdev 
settings? And is it worth it? 

I can see a 10 percent increase in reading throughput -- and a 100 percent 
increase in the case of hardware raid5. But do these benchmark increases 
translate into real world improvements? 

Regards, 
Andy Liebman

                 reply	other threads:[~2004-05-25  0: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=6d.2a6fa829.2de3ee73@aol.com \
    --to=andyliebman@aol.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).