All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Janek Kozicki <janek_listy@wp.pl>
Cc: linux-raid@vger.kernel.org
Subject: Re: doesm mdadm try to use fastest HDD ?
Date: Fri, 02 Nov 2007 09:10:23 -0400	[thread overview]
Message-ID: <472B21BF.4060201@tmr.com> (raw)
In-Reply-To: <20071102125205.52c2d115@absurd>

Janek Kozicki wrote:
> Hello,
>
> My three HHDs have following speeds:
>
>   hda - speed 70 MB/sec
>   hdc - speed 27 MB/sec
>   sda - speed 60 MB/sec
>
> They create a raid1 /dev/md0 and raid5 /dev/md1 arrays. I wanted to
> ask if mdadm is trying to pick the fastest HDD during operation?
>
> Maybe I can "tell" which HDD is preferred?
>   

If you are doing raid-1 between hdc and some faster drive, you could try 
using write-mostly and see go that works for you. For raid-5, it's 
faster to read the data off the slow drive than reconstruct it with 
multiple reads to multiple othjer faster drives.
> This came to my mind when I saw this:
>
>   # mdadm --query --detail /dev/md1 | grep Prefer
>  
>   Preferred Minor : 1
>
> And also in the manual:
>
>   -W, --write-mostly [...] "can be useful if mirroring over a slow link."
>
>
> many thanks for all your help!
>   
I have two thoughts on this:
1 - if performance is critical, replace the slow drive
2 - for most things you do, I would expect seek to be more important 
than transfer rate

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


  reply	other threads:[~2007-11-02 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 11:52 doesm mdadm try to use fastest HDD ? Janek Kozicki
2007-11-02 13:10 ` Bill Davidsen [this message]
2007-11-07  9:10   ` Goswin von Brederlow

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=472B21BF.4060201@tmr.com \
    --to=davidsen@tmr.com \
    --cc=janek_listy@wp.pl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.