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!!!!