public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Smith <andy@strugglers.net>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Possible issue with software RAID 1 in case of disks with different speed
Date: Thu, 11 Dec 2025 00:25:31 +0000	[thread overview]
Message-ID: <aToPez8qzmWFsuV6@mail.bitfolk.com> (raw)
In-Reply-To: <ac13d188ba7e2d5b0e2a8943d720f1903003d548.camel@mail.fernfh.ac.at>

Hi,

On Sun, Dec 07, 2025 at 02:41:37PM +0000, Christian Focke-Kiss wrote:
> Conclusion:
> I suspect software RAID 1 has issues if one disk of a three disk RAID 1
> set is significantly slower than the other two disks.

As others have mentioned I suspect your problem is USB. At no point in
the last 25 years have I found it a reliable way to have permanently
attached storage.

Storage with wildly different latency isn't a great setup but I haven't
found MD RAID-1 to have a big problem with it, not to the point of
instability.

write-mostly hasn't tended to have a huge effect for me unless the two
devices are radically different in performance. MD RAID already sends
reads to the device with the lowest amount of pending IO so all else
being equal, if you pair a SSD with a HDD, the SSD will get more reads
because they will complete sooner. Though do note that with RAID-1 a
single sequential read will all come from one device. It is only when
there are multiple threads reading that balancing can take place.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

      parent reply	other threads:[~2025-12-11  0:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-07 14:41 Possible issue with software RAID 1 in case of disks with different speed Christian Focke-Kiss
2025-12-07 20:41 ` John Stoffel
2025-12-07 22:00 ` Roger Heflin
2025-12-11  0:25 ` Andy Smith [this message]

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=aToPez8qzmWFsuV6@mail.bitfolk.com \
    --to=andy@strugglers.net \
    --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