LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-17-2022, 02:56 PM   #1
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,088

Rep: Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740Reputation: 4740
How to Benchmark Modern RAID1


Greetz
If this would be better under Linux - Software, just let me know and I'll see to moving it since most non Enterprise RAID these days is software RAID. I'm experimenting with a RockPro64 as NAS with a BTRFS RAID1 and getting horrible transfer rates (70GB took 36 hours with rsync) [Note: Yes I know rsync may have security issues with WAN but this is strictly home LAN].

I just would like to know how to benchmark transfers. I've looked at fio (massive learning curve) and iostat but the docs I've found are over a decade old which AFAIK predates BTRFS, so I'm hesitant to just jump in.

Any advice?
 
Old 06-18-2022, 05:25 AM   #2
obobskivich
Member
 
Registered: Jun 2020
Posts: 614

Rep: Reputation: Disabled
Just some thoughts having tried the 'raspi as NAS' thing for fun once (spoiler alert: I still run a big x86 box for 'real' use, for a reason)):

1) That awful speed could legitimately just be the limit of the device - how are you attaching the disks? Is USB involved? In every instance that I've ever tried mdadm RAID1 over USB, the performance is abysmal (70GB in 36 hours sounds about right IME). I've never bothered to troubleshoot why this happens, because its usually easier to just move over to SAS/SATA and 'do it right.'

2) Are the disks involved a bad choice for this? Most HDD makers will explicitly tell you not to use SSHDs for any RAID application because their caching will get in the way, and some (a lot?) of folks report problems with newer SMR-style hard drives (this seems to be somewhat inconsistent so I think specific configuration and drive matters, I'm also not convinced this is a 'unique' issue, and isn't just folks putting non-TLER-capable drives in parity RAID and everything is fine until it isn't, which has been a known no-no for years)

3) Is the network interface a problem? I know on a lot of those SBCs the network interface is itself a USB feature - in some cases only USB 2.0 under the hood - which can also perform badly

4) Is the device overheating or otherwise being unstable?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lvm volume group on raid1: physically move raid1 array from server 1 to server 2 Sum1 Linux - Software 4 07-20-2018 11:20 AM
Benchmark program for Linux? Larry James Linux - General 3 12-04-2008 10:04 AM
Have software raid1, but like to change to raid1+0 or 0+1, how? spaceuser Debian 8 03-17-2008 02:07 PM
When bored senseless, make up a benchmark: finegan General 21 09-29-2003 09:14 PM
general benchmark tool rlpt Linux - General 2 03-05-2002 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration