Need some advise and recommendations please on how to further troubleshoot and regain I/O performance please.
Been having really poor performance to my Pegasus2 R8 array ever since upgrading to MacOS Monterey (12.7.2) on my MacPro Late 2013 Trash Can. We're talking 322 KB/s slow... for a 1GB worth of 1MB sequential writes.
It's so bad that updates to my Apple Photos app library (on the array) via iCloud sync and the resulting Sophos AV scanner process disk IO ends up blocking the system badly enough to cause the MacOS watchdog process to reboot the system and file a crash report with Apple. System is completely stable and performing just fine without the array connected.
Test to MacPro SSD: (1,323 MB/s)
$ dd if=/dev/zero of=~/ddtestfile.out bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 0.773917 secs (1387412118 bytes/sec)
Test to Pegasus2 R8: (0.3151 MB/s)
$ dd if=/dev/zero of=/Volumes/FRP\ Master/ddtestfile.out bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 3249.976362 secs (330385 bytes/sec)
BlackMagic Disk Speed tests also end up failing/timing-out.
The array is at 97% capacity. I am wondering if this is the issue?
Otherwise, the array and drives all report operational without any errors, logical volume is RAID6 across all 8 drives.
Running the latest/last firmware and the latest Pegasus32 Promise Utility install.
- Promise Utility version: 4.06.0000.04 Build Date: Mar 28, 2022
- FirmwareVersion: 5.04.0000.64 FirmwareBuildDate: Dec 5, 2019
I DO see a Promise system extension installed... not sure if this is part of the above software or a left-over from years of OS upgrades... The support page does say that the system extension is included with MacOS 11.x...
$ kextstat | grep promise
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
86 0 0xffffff800348a000 0xb000 0xb000 com.promise.driver.stex (6.2.13) AE253556-66D8-38D2-B9D1-179B78F29153 <85 16 7 6 3>
$ promiseutil
cliib> ctrl -v ------------------------------------------------------------------------------- CtrlId: 1 Alias: OperationalStatus: OK PowerOnTime: 24 hours 37 minutes LUNAffinity: N/A LunmappingMethod: WWN Based CacheUsagePercentage: 0% DirtyCachePercentage: 0% Vendor: PROMISE Model: Pegasus2 R8 PartNo: F29DS8722000000 SerialNo: N/A HWRev: B3 WWN: 2000-0001-5558-2057 CmdProtocol: SCSI-3 CBSN: M92H14310800199 MemType: DDR2 SDRAM MemSize: 512MB FlashType: Flash Memory FlashSize: 8MB NVRAMType: FRAM NVRAMSize: 128KB BootLoaderVersion: 5.04.0000.64 BootLoaderBuildDate: Dec 5, 2019 FirmwareVersion: 5.04.0000.64 FirmwareBuildDate: Dec 5, 2019 SoftwareVersion: 5.04.0000.64 SoftwareBuildDate: Dec 5, 2019 BIOSVersion: 5.04.0000.64 BIOSBuildDate: Dec 5, 2019 SingleImageVersion: 5.04.0000.64 SingleImageBuildDate: Dec 5, 2019 CtrlCPLDVersion: 6.08 ChipType: LCMXO2-640HC DiskArrayPresent: 1 OverallRAIDStatus: OK LogDrvPresent: 1 LogDrvOnline: 1 LogDrvOffline: 0 LogDrvCritical: 0 PhyDrvPresent: 8 PhyDrvOnline: 8 PhyDrvOffline: 0 PhyDrvPFA: 0 GlobalSparePresent: 0 DedicatedSparePresent: 0 RevertibleGlobalSparePresent: 0 RevertibleDedicatedSparePresent: 0 RevertibleGlobalSpareUsed: 0 RevertibleDedicatedSpareUsed: 0 WriteThroughMode: No MaxSectorSize: 4KB PreferredCacheLineSize: 64 KB CacheLineSize: 64 KB Coercion: Enabled CoercionMethod: GBTruncate SMART: Enabled SMARTPollingInterval: 10 minutes MigrationStorage: DDF CacheFlushInterval: 3 second(s) PollInterval: 15 second(s) AdaptiveWBCache: Enabled ForcedReadAhead: Enabled PowerSavingLevel: 1 SpindownType: All drives IdleTimeToParkRwHeads: 30 minutes IdleTimeToLowerRotationSpeed: Never IdleTimeToSpinDown: Never SGPIOBackPlane: Default/Generic (0) SASReadyLED: Off SpinUpDelay: 0 millisecond PowerManagement: Enable
cliib> logdrv -v ------------------------------------------------------------------------------- LdId: 0 ArrayId: 0 SYNCed: Yes OperationalStatus: OK Alias: FRP Master TRIMSupport: Not Support TRIM SerialNo: redacted WWN: 22a5-0001-5510-612c PreferredCtrlId: N/A RAIDLevel: RAID6 StripeSize: 1MB Capacity: 48.01TB PhysicalCapacity: 64.01TB ReadPolicy: ReadAhead WritePolicy: WriteBack CurrentWritePolicy: WriteBack NumOfUsedPD: 8 NumOfAxles: 1 SectorSize: 512Bytes RAID5&6Algorithm: right asymmetric (4) TolerableNumOfDeadDrivesPerAxle: 2 ParityPace: wide pace (2) CodecScheme: Q+Q
cliib> stats ------------------------------------------------------------------------------- Controller Statistics ------------------------------------------------------------------------------- ControllerId: 1 DataTransferred: 1.51TB ReadDataTransferred: 1.46TB WriteDataTransferred: 51.44GB Errors: 0 NonRWErrors: 0 ReadErrors: 0 WriteErrors: 0 IORequest: 48,129,226 NonRWRequest: 25,069 ReadIORequest: 44,886,622 WriteIORequest: 3,217,535 StatsStartTime: Jan 16, 2024 17:06:33 StatsCollectionTime: Jan 17, 2024 17:27:02