Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Super slow parity checks (12-15MB/s) , and LSI 9211-8i , and Dynamix UI (SOLVED)

Featured Replies

Okay, I felt the need to post this to the UnRaid forums to help benefit others.  I never found this SPECIFIC example anywhere I searched.  This is the result of a few weeks spent troubleshooting performance issues.

 

My original problem statement was that all the sudden, while I had historically been getting fast parity check speeds of 50-60MB/s, it went down to 12-15MB/s.  VERY slow speeds.  There were a few things in play at the same time as I had recently upgraded from UnRaid 4.7 to version 5, replaced an aging 500GB drive with another 2TB drive, and installed the Dynamix WebUI (which looked very nice!!) and a few Dynamix plugins.

 

 

Here is my hardware configuration:

 

GIGABYTE GA-H81M-H Motherboard, 4GB Ram

Processor:  Intel Celeron - G3220 Haswell

Case:  Norco 4220

LSI 9211-8i Raid Controller (LSISAS2008 Driver)  FWVersion(17.00.01.00) , ChipRevision(0x03), BiosVersion(07.33.00.00) - operating in IT mode

Drives:  6 2TB Hitachi Deskstar 5300k Coolspin Drives, 1 Western Digital Red 2TB , 1 2TB Samsung HD204UI Drive

 

A few other things I found out along the way:

 

My original 2TB Hitachi drives are not advanced format, and use the 512k block, starting at sector 63. ( Deskstar 5K3000 HDS5C3020ALA632 )

 

The Samsung HD204UI drive is fine, but there is a firmware update that should be applied, due to SMART "stuff" potentially corrupting data. (I never had that problem, but found out along my troubleshooting.)

 

The 2TB Western Digital Red (WDC_WD20EFRX) is another story!!  Since it was not over the 2TB limit, I never selected the advanced format 4k alignment.  Well, there I would be wrong!!  This drive is of the advanced format type.  While I determined this via a few ways, I believe the best way to determine the alignment capabilities is through the Linux command line.  (Note, the first time I pre-cleared it with the preclear_disk.sh file, I used the 512 bytes alignment, and should have used the 4k, which is why you still see it starting at sector 63, and not 64.  I am RE-preclearing it right now.)

 

If you perform an "fdisk -l" you see all your drives there.  You will notice on the Sector size, this one shows the logical/physical.  All my "normal" drives without 4k alignment show 512 bytes / 512 bytes.  However, the advanced format 4k alignment one shows 512 bytes / 4096 bytes.  This helped clue me in on what I was missing:

 

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes

1 heads, 63 sectors/track, 62016336 cylinders, total 3907029168 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk identifier: 0x00000000

 

  Device Boot      Start        End      Blocks  Id  System

/dev/sdb1              63  3907029167  1953514552+  83  Linux

Partition 1 does not start on physical sector boundary.

 

 

I completely removed that drive from the system and performed a rebuild with a non advanced format drive, but still had slow rebuild speeds.  I tweaked all sorts of things in the BIOS to no avail.  I have 4 slots in my Norco 4220 running from a reverse breakout cable directly from my onboard sata connectors (Amazon part " Discrete SATA to SFF-8087 Mini SAS Reverse breakout cable " ).  I mixed and matched drives onboard, and connected to the other slots that connect to the LSI card, trying to figure out what was going on.

 

 

Well, I'll cut more to the chase here.  I found some posts that mentioned the Simplefeatures plugin (which I am NOT using) ended up causing slow parity checks.  I found one post where someone had slow parity checks using Dynamix and plugins, but it never stated whether removing it or not resolved their issue.  I suspected that it was possible my Dynamix upgrade, or the installation of a plugin coincided with my slow speeds, although I didn't have anything in the logs to suggest that.

 

Here's where I can't show 100% the root cause, but it was one of a few things.  I copied my config files from my USB thumb drive and wiped it, performing a clean install.  Instead of going directly back to the current release of Unraid 5, I decided to install the Unraid 6 beta 6. I thought "why the heck not" and also read that it is using a more updated Linux Kernel.  At present I have zero drives plugged into the onboard SATA ports, but have all drives connected to the LSI controller.  Whether it is the new(er) version of Unraid, or just the removal of the Dynamix webUI and plugins, I can't say for certain.  What I CAN say, is that as soon as I completed my fresh re-install of the Unraid OS (100% Virgin with no addins, etc..) my parity check speeds were at 123MB/s!!!  That is AMAZING!!  I don't even recall them going that fast on my older version, but at the time I had mixed/matched drives between the LSI card, and the onboard ports.  Once I finish pre-clearing my WD Red drive again, I'm going to run it from the onboard slots, and see if there is any difference in performance.  If there is, I will probably replace the motherboard (albeit only a couple months old) , and get another LSI card since I have been so extremely happy with the performance!!

 

 

I hope all the information in this thread might be able to help someone else.  I know it is slightly long-winded, but I hoped to get as much detail (model numbers, etc, etc..) into it, so hopefully could come up on relevant searches in the future.

 

And now, it's time for me to start rocking my Unraid server again with great performance!!!!  :)

FYI. Dynamix will slow down parity checks if you have it open and set to automatically refresh. There is a setting to make it require a manual refresh during a parity check. This is discussed in the Dynamix thread and mentioned in the first post of that thread.

 

It seems to me that v6 is a little faster as well, but I haven't done any definitive testing on that.

  • Author

Agree on the refresh stuff.  It may have simply been the version I installed, but the "HowTo Guide" on disabling that was either dated, or didn't show up in mine.  However, I made sure that I had no other machines/iPhones, etc.. still logged into the WebUI.  I wouldn't expect that the auto-refresh would slow down to THAT much of a crawl. 

 

Also, even during normal operations (no parity checks running) I felt the UI was very sluggish.  I would also eventually have a lot of memory usage over time, everything had to start buffering.  Lots of strangeness afoot.

 

And I think version 6 seems to be faster.  I just found a screenshot of running parity checks on V5, and it was hovering around 63MB/s.  (Granted mix/match of onboard/LSI connections, BUT..)  I can't believe how quick the 120+MB/s checks are on Version 6!!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.