Re: Disk I/O slowness

Michael Stone <[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
On Wed, Aug 05, 2026 at 12:41:36PM +0500, Alexander V. Makartsev wrote:
>But if these two failed drives will be in the same mirror group then 
>the whole array will be lost.

Yes, and the drive that gets stressed the most in that critical 
situation is the *one* that's being rebuilt from.

>>And rebuilds can take a *long* time (like, days).
>You probably thinking about RAID-0+1 array configuration, which is not 
>RAID-10.

nope; see below

>Suppose we have 8x4TB drives. In case of a single drive failure the 
>RAID-0+1 array would have to rebuild the whole 16TB worth of data (one 
>mirror group of 4 drives) which indeed could take a long time on a 
>busy server,
>but with the RAID-10 array it will rebuild one mirror group worth of 
>data (4TB) which is the size of single drive.

The rebuild time is dominated by the write speed of the target drive. 
4TB were common in large arrays 10 years ago. Now 20TB is fairly common.
Transfer rate on that is less than 300MB/s. At 300MB/s that 20TB takes 
18h to write. Realistic performance is probably more like 150MB/s, or 
36h. Extrapolate for 36TB drives. If the array isn't idle, it will take 
longer. (And few large arrays are purchased to be idle.)

>RAID-5 and RAID-6 rebuild of 8 drive array would take a very long 
>time, because not only it will have to recover (not just copy) the 
>data from error correction data spread across all drives

Reading the data from all the drives is a positive rather than a 
negative: it means the controller is reading from say, 7 drives to build 
data on 1. That means a lot more idle cycles on the 7 as opposed to 
having 1 drive 100% busy (which matters if you're trying to use the 
array during the rebuild).

>it also will 
>have to rebuild and recalculate the error correction data for the 
>failed drive for the entire array.

That computation is trivial on any modern hardware--the only bottleneck 
is drive speed.

>>You can get double disk failure tolerance on RAID-10, but then 
>>you're down to 33% usable space.
>>
>This statement looks false to me, can you elaborate?
>AFAIK the RAID-10 array configuration, build from even number of 
>devices (4 drives or more), will always give at least 2 drive fault 
>tolerance, except in the situation I've described above, and the 
>usable space for the 4 drives RAID-10 array always will be 50%.

"fault tolerance, except" isn't fault tolerance; if you want to tolerate 
the failure of *any* 2 drives in RAID-1 you need 3 drives. The up side 
to that is that you can then identify silent errors via voting.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEAtUxX/EfGGGGDh4C9hqs3PoR/94FAmpzZIYACgkQ9hqs3PoR
/96qjxAAlQilVexr5yiiwna2gYioz5l9LW8u+iFaRDVrPyU7Hm+VEj89KWLBNGAY
upluML9uFVeVgpf6a+dxy/y1FraShe/58GoWuxUpBa5wZJ/GN3BGc3zzubBVaGc4
g+rVQTqunOXwngFazTcplqnb6AF89P81m97yyMyOxYhhZZH2XatBlz1rJ7feNNC2
1ai8W1iSuKgDPLr9enmloDyIsjOr/v1feRYTzAxF8BrxuvZ8P5ARa8EF16x770eE
4rs67QyfLxTT1RqLqPYusKh7Ew3Z9A6hakqt5ZnGNfcgWLgNqMPIBQoiW5Rj0Jl3
VkEML2tZkMEOS3tPGT9+l8e4CrG/TLt3RLfkA0+En/Eg1OXYcn4y2DkMZ9ws0dkR
Kk1UfDTO22taxGoEhADeBJk4rmHPF1J9JSpf+cZKFBaJYjbMdIidr4q2KsQ4gPy9
VL22P51eie3RkVpfHxATVpGgeSi5YSR4VRuMHQGWdBHxbVw/9eIzpgn295l3xTx7
YneSLMXSZgwoUJ7W85o/3SU0nFuygvW2RsA2DHwjweD7Ww9hvnLkw1wgjB+7Dz2Y
CtIMdKUylm8xYeSlqGJBpLY9XuQoF6Wlft2YsoheXhxx+XUvOW8JOsdXDz2bR5rt
1ZSeEa/BTS0Z/xZXsjXcD9aRnQcO0yS/gi3A+d32uFy4aM2fCrQ=
=OQ6b
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.