I have a Mid 2009 MBP with an original factory Apple SSD TS128A, running Mavericks.
Terminal's 'rm -rf' and emptying trash is taking a super long time, and I am at a complete loss as to why.
Secure empty trash is disabled
(XCode is just an example, it has about 20,000 files and is about 5 gigabytes)
I ran "time sudo rm -rf /Applications/Xcode6-Beta2.app/" and the result was 12 minutes. Using trash to delete results in a similar time.
I asked my friend with a Macbook Air to delete his old Xcode6 beta as well, it took him 30 seconds, so it is taking me 24 times longer.
Troubleshooting steps I have taken already:
I am completely at a loss as to what to try next. I suspect this is some weird configuration problem that has resulted from upgrading the OS over the years since Leopard, or that the SSD is on it's way out.
The performance otherwise seems fine, the machine boots in about 15 seconds and Apps open fine, I used Blackmagic Drive Speed Test to benchmark and get about 90MB/sec write and 120MB/sec read, which I believe is normal for this setup. Writing large numbers of new files might be slow, unpacking XCode again takes about 10 minutes and at times goes only 1-2MB per second.
Halp? <3
Terminal's 'rm -rf' and emptying trash is taking a super long time, and I am at a complete loss as to why.
Secure empty trash is disabled
(XCode is just an example, it has about 20,000 files and is about 5 gigabytes)
I ran "time sudo rm -rf /Applications/Xcode6-Beta2.app/" and the result was 12 minutes. Using trash to delete results in a similar time.
I asked my friend with a Macbook Air to delete his old Xcode6 beta as well, it took him 30 seconds, so it is taking me 24 times longer.
Troubleshooting steps I have taken already:
- Reboot
- Copy a fresh directory and delete that
- Run disk utility repair permissions and verify disk (no problems)
- Checked TRIM support (it is disabled, I suspect the drive has garbage collection?)
- Tried to enable TRIM using TRIM enabler (it didn't work)
- Checked and double checked secure empty trash is disabled
- Used GSmartControl to look at the SMART status of the SSD, it seems fine, but it's hard to tell
I am completely at a loss as to what to try next. I suspect this is some weird configuration problem that has resulted from upgrading the OS over the years since Leopard, or that the SSD is on it's way out.
The performance otherwise seems fine, the machine boots in about 15 seconds and Apps open fine, I used Blackmagic Drive Speed Test to benchmark and get about 90MB/sec write and 120MB/sec read, which I believe is normal for this setup. Writing large numbers of new files might be slow, unpacking XCode again takes about 10 minutes and at times goes only 1-2MB per second.
Halp? <3