eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9764 Location: almost Mile High in the USA
|
Posted: Sat Sep 14, 2024 2:52 pm Post subject: mdraid max sync speed |
|
|
Just wondering if anyone knows anything about this:
It appears the default sync_speed_max is 200000 and it has been this way for ever since at least I'm aware of mdraid - I've been using it for probably almost 2 decades by now.
Sync_speed_max is the maximum disk bandwidth it uses to check/rebuild/repair parity blocks on a RAID. It is in KB/sec.
200,000 KB/sec or 200MB/sec still exceeds the hard drive speeds that I have, some even far, far exceeds. which means it will completely eat out all available disk bandwidth. It's not until about now where SSDs can now exceed 200MB/sec. I suspect some HDDs finally can do it now too.
Has Linux always been designed for SSDs in mind or 2024 hard drives? :D
(My fastest sequential read hard drive is around 180MB/sec now... which is still too slow and thus will be fully consumed by default resync speeds. I just wonder why this 200000 was chosen back in the days...)
Also BTW, this isn't a bad thing as resilver is important as your redundancy is unavailable during this time, at least for RAID1/RAID5. But why 200000 and not simply "whatever bandwidth is available..." as when hard disks reach 300MB/sec there's redundancy left on the table... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|