Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mdraid max sync speed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9758
Location: almost Mile High in the USA

PostPosted: Sat Sep 14, 2024 2:52 pm    Post subject: mdraid max sync speed Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum