Disk I/O performance (SSD and HDD) very slow

My 2012 MBP (13", 2.5Ghz i5, 8G RAM) has been sluggish for a few months (beachballs now and then, slow to open apps, slow on reboot, etc), going on since perhaps the Yosemite upgrade, but it was never too bad so I didn't worry about it. But it has been annoying so recently I started poking around and found that the disk I/O performance was pretty horrible on both the Corsair 128G SSD (root drive) and the original 500G HDD (secondary). Here's a sample XBench report from my SSD (the numbers from the HDD are similar):


Sequential

Uncached Write: 30.02 MB/s (4k blocks)

Uncached Write: 49.5 MB/s (256k blocks)

Uncached Read: 25.90 MB/s (4k blocks)

Uncached Read: 129.19 MB/s (256k blocks)

Random

Uncached Write: 7.20 MB/s (4k blocks)

Uncached Write: 36.78 MB/s (256k blocks)

Uncached Read: 13.26 MB/s (4k blocks)

Uncached Read: 112.85 MB/s (256k blocks)


This performance has been also measured by Blackmagic and dd's from the command line. I've run through the litany of things to do for good disk health- Repair disk, Fix Permission, turned off FileVault, reset NVRAM/SMC, reinstalled Yosemite. SafeBoot, fsck, you name it...all with no results. There are no disk I/O errors in the console from either disk. All tests were done will all other apps closed and the machine idle. I ran the script Linc Davis has posted in a few other posts and the output is below.


Any ideas about what I should do next to try to figure out what's going on? Any help would be greatly appreciated!








Start time: 23:57:38 06/13/15



Model Identifier: MacBookPro9,2

System Version: OS X 10.10.3 (14D136)

Kernel Version: Darwin 14.3.0

Time since boot: 4 minutes



Memory





BANK 0/DIMM0:



Size: 4 GB

Speed: 1333 MHz

Status: OK

Manufacturer: 0x859B



BANK 1/DIMM0:



Size: 4 GB

Speed: 1333 MHz

Status: OK

Manufacturer: 0x859B



SATA



CORSAIR CMFSSD-128GBG2D



FileVault: Decryption in progress: Percent completed = 6923



Log



Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/XPCKeychai nSandboxCheck.xpc/Contents/MacOS/XPCKeychainSandboxCheck error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/Frameworks/IOKit.framework/Versions/A/XPCServices/IOServiceAuth orizeAgent.xpc/Contents/MacOS/IOServiceAuthorizeAgent error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/XP CServices/com.apple.SpeechRecognitionCore.brokerd.xpc/Contents/MacOS/com.apple.S peechRecognitionCore.brokerd error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/XPCTimeSta mpingService.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/XPCSer vices/DataDetectorsDynamicData.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/XP CServices/com.apple.SpeechRecognitionCore.brokerd.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/Frameworks/AppKit.framework/Versions/C/XPCServices/SandboxedSer viceRunner.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/XPCServices/com.apple.DictionaryServiceHelper.x pc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/Frameworks/IOKit.framework/Versions/A/XPCServices/IOServiceAuth orizeAgent.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Failed to bootstrap path: path = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/XPCKeychai nSandboxCheck.xpc, error = 1: Operation not permitted

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/Frameworks/AppKit.framework/Versions/C/XPCServices/SandboxedSer viceRunner.xpc/Contents/MacOS/SandboxedServiceRunner error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/XP CServices/com.apple.SpeechRecognitionCore.brokerd.xpc/Contents/MacOS/com.apple.S peechRecognitionCore.brokerd error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/XPCSer vices/DataDetectorsDynamicData.xpc/Contents/MacOS/DataDetectorsDynamicData error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:53:43 com.apple.xpc.launchd.domain.pid.SecurityAgent.303: Path not allowed in target domain: type = uid, path = /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/XPCServices/ com.apple.geod.xpc/Contents/MacOS/com.apple.geod error = 1: Operation not permitted, origin = /System/Library/Frameworks/Security.framework/Versions/A/XPCServices/SecurityAg ent.xpc

Jun 13 23:54:02 com.amazon.cloud-player: Service setup event to handle failure and will not launch until it fires.

Jun 13 23:54:02 net.tunnelblick.tunnelblick.LaunchAtLogin: Service setup event to handle failure and will not launch until it fires.

Jun 13 23:54:13 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:54:23 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:54:33 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:54:43 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:54:53 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:55:03 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:55:13 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:55:23 com.apple.spindump: Service exited with abnormal code: 75

Jun 13 23:55:33 com.apple.spindump: Service exited with abnormal code: 75



Activity



I/O: 346 ops/s, 130773 blocks/s



Descriptors: Google\x20Chrome\x20H (UID 501) is using 8422 files



kexts



org.virtualbox.kext.VBoxDrv (4.3.28)

org.virtualbox.kext.VBoxUSB (4.3.28)

org.virtualbox.kext.VBoxNetFlt (4.3.28)

org.virtualbox.kext.VBoxNetAdp (4.3.28)



Daemons



org.postfix.master

com.barebones.authd

com.oracle.java.JavaUpdateHelper

com.backblaze.bzserv

org.cups.cupsd

com.oracle.java.Helper-Tool

com.vix.cron

org.ntp.ntpd

org.macosforge.xquartz.privileged_startx



Agents



org.openbsd.ssh-agent

com.backblaze.bzbmenu

com.adobe.ARM.UUID

com.valvesoftware.steamclean

org.macosforge.xquartz.startx

com.oracle.java.Java-Updater

com.spotify.webhelper

net.tunnelblick.tunnelblick.LaunchAtLogin

com.amazon.music

com.amazon.cloud-player

com.google.keystone.user.agent



App extensions



com.getdropbox.dropbox.garcon



Apps



/Applications/Dropbox.app



DNS: 8.8.8.8 (static)



Listeners



kdc: kerberos

launchd: afpovertcp



User login items



Flux

- /Applications/Flux.app

Jumpcut

- /Applications/Jumpcut.app

BetterTouchTool

- /Applications/BetterTouchTool.app



Restricted files: 251



Elapsed time (s): 69

Mac OS X (10.6.7), Time Machine

Posted on Jun 14, 2015 12:04 AM

Reply
6 replies

Jun 14, 2015 7:42 AM in response to lackhead

If you don't already have a current backup of all data, back up before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.

In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.

Then, from the menu bar, select

File ▹ Turn Off Encryption

Enter the password again.

You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.

If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select

Mac OS Extended (Journaled)

from the Format menu.

You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.

Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

Jun 14, 2015 10:31 AM in response to Linc Davis

I had previously turned off FileVault before, and when I went into recovery mode the option to turn off Encryption was greyed out (naturally). When I went to erase the disk I got an error saying that it couldn't unmount the existing partition (even though it was unmounted already). Weird. While I wasn't able to erase the whole disk, I was able to erase the partition, rename it, and re-install Yosemite. No change in disk performance.

Jun 14, 2015 10:53 AM in response to lackhead

Please triple-click anywhere in the line below on this page to select it:

{ diskutil list; echo; diskutil cs list; } | pbcopy

Copy the selected text to the Clipboard as before. Paste into a Terminal window.

The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.

Jun 14, 2015 11:14 AM in response to Linc Davis

Included below; note that I have turned FileVault back on just to verify that it doesn't make any impact on performance. One symptom that I noticed when doing so, FYI, is that the "time remaining" for the FileValue encryption varies all over the place. It will jump from 11hrs to 2 days to 16hrs to 4hrs to 6 days. Sometimes it will drop back to "Estimating time remaining..." and then reset to something else random. As you can see below, it's 75% done and FileVault's only been running for 50-60min. When I noticed this it clicked in my head that I have also seen erratic behavior when doing long file listings/cats on the command line...if I'm dumping a bunch of info there will be pauses in the streaming of it. Once this finishes I'm going to see if I get similar behavior on the HDD.




/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *128.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage 127.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS LargeMarge 499.8 GB disk1s2

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Solidnicity *126.1 GB disk2

Logical Volume on disk0s2

44E4D66D-2899-4A69-A015-2C1B9EDF1F71

Unlocked Encrypted



CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 2B06BE6C-AAA0-42F3-B90B-1EF7F76EB9A4

=========================================================

Name: Solidnicity

Status: Online

Size: 127175917568 B (127.2 GB)

Free Space: 704675840 B (704.7 MB)

|

+-< Physical Volume 62C32F02-A1AC-424A-AC5E-37CF5D8716F0

| ----------------------------------------------------

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 127175917568 B (127.2 GB)

|

+-> Logical Volume Family 3F66AB97-0764-4A75-9B6E-6219247FC642

----------------------------------------------------------

Encryption Status: Unlocked

Encryption Type: AES-XTS

Conversion Status: Converting

Conversion Direction: forward

Has Encrypted Extents: Yes

Fully Secure: No

Passphrase Required: Yes

|

+-> Logical Volume 44E4D66D-2899-4A69-A015-2C1B9EDF1F71

---------------------------------------------------

Disk: disk2

Status: Online

Size (Total): 126118920192 B (126.1 GB)

Conversion Progress: 75%

Revertible: No

LV Name: Solidnicity

Volume Name: Solidnicity

Content Hint: Apple_HFS

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Disk I/O performance (SSD and HDD) very slow

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.