Internal Drive Performance Check - EtreCheck report question

I have two iMacs:

1) iMac27" Late 2013 - 1TB SSD and 24GB RAM - running Catelina

2) iMac 21.5" Late 2015 - 1TB Fusion HDD and 16GB RAM - running Big Sur


The 21.5 has been running really slowly lately, so I have been trying to clean up the launch daemons etc, and decided to run an ETRECHECKPRO report on it. At the same time, out of interest, I ran a report on the 27" too - to do a comparison


Maybe I am reading the reports wrong, but it looks to me that the HDD in the 21.5 actually performs better than he SSD in the 27" :

iMac 27"

    Write speed: 290 MB/s

    Read speed: 644 MB/s

iMac 21.5"

 Write speed: 336 MB/s

   Read speed: 895 MB/s



What should good set of performance figures for an internal drive look like? How can it be possible that mu SSD is slower than a 6 year old HDD Fusion drive?


Here are the relevant sections of the reports:


iMac 27” Late 2013

1TB SSD installed 4 years ago


Drives:

    disk0 - APPLE SSD SD0128F 121.33 GB (Solid State - TRIM: Yes)

    Internal PCI 5.0 GT/s x2 Serial ATA

        disk0s1 - EFI (MS-DOS FAT32) [EFI] 210 MB

        disk0s2 [APFS Container] 121.12 GB

            disk2 [APFS Virtual drive] 121.12 GB (Shared by 5 volumes)

                disk2s1 - S******** - Data (APFS) [APFS Virtual drive] (Shared - 41.55 GB used)

                disk2s2 - Preboot (APFS) [APFS Preboot] (Shared - 83 MB used)

                disk2s3 - Recovery (APFS) [Recovery] (Shared - 529 MB used)

                disk2s4 - VM (APFS) [APFS VM] (Shared - 3.22 GB used)

                disk2s5 - S******B (APFS) (Shared - 11.24 GB used)

 

    disk1 - Mercury Electra 6G SSD 1.00 TB (Solid State - TRIM: No)

    Internal SATA 6 Gigabit Serial ATA

        disk1s1 - EFI (MS-DOS FAT32) [EFI] 210 MB

        disk1s2 - S****B (Journaled HFS+) 999.86 GB (510.11 GB used)

 

Performance:

    System Load: 2.40 (1 min ago) 2.09 (5 min ago) 1.99 (15 min ago)

    Nominal I/O usage: 0.01 MB/s

    File system: 16.84 seconds

    Write speed: 290 MB/s

    Read speed: 644 MB/s





iMac 21.5” Late 2015

1TB Fusion HDD drives


Drives:

  disk0 - APPLE SSD AP0032H 24.00 GB (Solid State - TRIM: Yes) 

  Internal PCI-Express 5.0 GT/s x4 NVM Express

   disk0s1 - EFI [EFI] 315 MB

   disk0s2 [APFS Fusion Drive] 23.69 GB

    disk2 [APFS Virtual drive] 1.02 TB (Shared by 6 volumes)

     disk2s1 - Macintosh HD - Data (APFS) [APFS Virtual drive] (Shared - 142.67 GB used)

     disk2s2 - Preboot (APFS) [APFS Preboot] (Shared - 382 MB used)

     disk2s3 - Recovery (APFS) [Recovery] (Shared - 623 MB used)

     disk2s4 - VM (APFS) [APFS VM] (Shared - 2.15 GB used)

     disk2s5 (APFS) [APFS Container] (Shared - 15.32 GB used)

      disk2s5s1 - Macintosh HD (APFS) [APFS Snapshot] (Shared - 15.32 GB used)

     disk2s6 - Update (APFS) (Shared - 3 MB used)

 

  disk1 - APPLE HDD HTS541010A9E662 1.00 TB (Mechanical - 5400 RPM) 

  Internal SATA 3 Gigabit Serial ATA

   disk1s1 - EFI (MS-DOS FAT32) [EFI] 210 MB

   disk1s2 [APFS Fusion Drive] 1000.00 GB

    disk2 [APFS Virtual drive] 1.02 TB (Shared by 6 volumes)

     disk2s1 - Macintosh HD - Data (APFS) [APFS Virtual drive] (Shared - 142.67 GB used)

     disk2s2 - Preboot (APFS) [APFS Preboot] (Shared - 382 MB used)

     disk2s3 - Recovery (APFS) [Recovery] (Shared - 623 MB used)

     disk2s4 - VM (APFS) [APFS VM] (Shared - 2.15 GB used)

     disk2s5 (APFS) [APFS Container] (Shared - 15.32 GB used)

      disk2s5s1 - Macintosh HD (APFS) [APFS Snapshot] (Shared - 15.32 GB used)

     disk2s6 - Update (APFS) (Shared - 3 MB used)

 

  disk3 - ST320005 42AS 2.00 TB

  External USB 480 Mbit/s USB

   disk3s1 - EFI (MS-DOS FAT32) [EFI] 210 MB

   disk3s2 - T********************a (Journaled HFS+) 2.00 TB (889.47 GB used)



Performance:

  System Load: 1.87 (1 min ago) 1.98 (5 min ago) 1.69 (15 min ago)

  Nominal I/O usage: 4.01 MB/s

  File system: 18.79 seconds

  Write speed: 336 MB/s

  Read speed: 895 MB/s

iMac 27″, macOS 10.15

Posted on Jun 24, 2022 8:49 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 25, 2022 6:28 PM

The SSD in the 21.5" iMac is an NVMe SSD which is much faster than the SATA based SSD found in the 27" iMac, but it is hobbled by the slow hard drive in the Fusion Drive setup. I'm also not certain which of the two SSDs you are booting from on the 27" iMac. If the OWC SSD is a fairly recent purchase from the last several years, then you may need to enable TRIM on it using the following Terminal command:

sudo  trimforce  enable


You will be prompted for your admin password, but nothing will appear on the screen as you type. Press the "Return" key to submit the password. You may need to run Disk Utility First Aid on the OWC SSD's volume in order to force an immediate TRIM event to occur (I'm not certain if this can be done while booted into macOS or if it may require booting into Recovery Mode using Command + R).


As the others have mentioned, seeing a complete copy of both EtreCheck reports is just as important as other factors may be involved as well. It is best to give EtreCheck "Full Disk Access" so the report contains more details which may provide more clues. Post the reports here using the "Additional Text" icon which looks like a piece of paper.


Similar questions

19 replies
Question marked as Top-ranking reply

Jun 25, 2022 6:28 PM in response to jhrichmond

The SSD in the 21.5" iMac is an NVMe SSD which is much faster than the SATA based SSD found in the 27" iMac, but it is hobbled by the slow hard drive in the Fusion Drive setup. I'm also not certain which of the two SSDs you are booting from on the 27" iMac. If the OWC SSD is a fairly recent purchase from the last several years, then you may need to enable TRIM on it using the following Terminal command:

sudo  trimforce  enable


You will be prompted for your admin password, but nothing will appear on the screen as you type. Press the "Return" key to submit the password. You may need to run Disk Utility First Aid on the OWC SSD's volume in order to force an immediate TRIM event to occur (I'm not certain if this can be done while booted into macOS or if it may require booting into Recovery Mode using Command + R).


As the others have mentioned, seeing a complete copy of both EtreCheck reports is just as important as other factors may be involved as well. It is best to give EtreCheck "Full Disk Access" so the report contains more details which may provide more clues. Post the reports here using the "Additional Text" icon which looks like a piece of paper.


Jun 26, 2022 4:55 PM in response to jhrichmond

jhrichmond wrote:

If I do the steps to enable TRIM, will I lose data - does it reset the drive / wipe it?

No, it won't affect your data already on the drive. TRIM only erases the blocks awaiting to be re-used.


What does TRIM do anyway, and if. it is important, why is it not set to on automatically?

I'm not entirely sure, but Apple may just be playing things safe since they cannot guarantee all third party SSDs support the TRIM command feature.


Whenever you write data to an SSD, the data on the existing NAND memory block of the SSD is transferred to another block along with the new data to be written. The data is now contained on the new NAND block. The original NAND block now must be cleared (aka wiped or zeroed) before that NAND block can be re-used. These used NAND blocks will wait in a queue until they are cleared. If TRIM is not enabled, then these blocks will wait until the SSD's controller is able to make the time to clear these NAND blocks which usually will only happen when the SSD is idle so that the SSD's garbage collection mechanisms have time to work so as not to affect system performance. However, if there are no more empty ready to go NAND blocks, then the SSD's controller will start clearing these waiting NAND blocks which will slow down the performance of the SSD. If TRIM is enabled, then these pending NAND blocks are cleared at some earlier time.


There are actually two types of TRIM. Queued and non-queued TRIM. Non-queued TRIM support is also called periodic TRIM where the OS scans the file systems and sends a command to the SSD to immediately clear any NAND blocks not being used by the file system (this is safer since the list of blocks is created as the TRIM command is sent).


Queued TRIM is actually dangerous as it depends on both the OS file system driver and the SSD to have properly working TRIM support, but many SSDs have faulty TRIM support because it is difficult to design (I think because too many things change from the time the OS creates a list of blocks needing TRIMed and when the SSD actually performs the TRIM operation that things may have become out of sync between the queued list of blocks and the currently use/unused blocks on the SSD). Queued TRIM keeps a list of every file system operation that deletes data. Queued TRIM support relies on the OS to tell the SSD which NAND blocks have been released from file system use so if there is some miscommunication by the OS or the SSD on which blocks are which, then the SSD may end up clearing the wrong NAND block which actually contains data since so much time may have elapsed since the creation of the list of queued blocks and the time TRIM is actually activated which may have had the SSD's garbage collection doing a lot of work where maybe the blocks had already been cleared, but are cleared again because of the list created a long time ago -- so those blocks on the list are now being used for data, so there is data loss. This is why Linux does not automatically enable automatic queued TRIM support and according to this Wikipedia article both Windows and macOS utilize non-queued (aka periodic) TRIM.

https://en.wikipedia.org/wiki/Trim_(computing)#Disadvantages


General TRIM information:

https://www.crucial.com/articles/about-ssd/what-is-trim


More detailed information on TRIM and SSD's internal Garbage Collection routines:

https://arstechnica.com/gadgets/2015/04/ask-ars-my-ssd-does-garbage-collection-so-i-dont-need-trim-right/


Here is a post in the comments of the last article which mentions the difference of Queued and non-Queued TRIM:

https://arstechnica.com/gadgets/2015/04/ask-ars-my-ssd-does-garbage-collection-so-i-dont-need-trim-right/?comments=1&post=28924525


Jun 27, 2022 4:35 AM in response to jhrichmond

jhrichmond wrote:

So regarding the SSD in my 27"iMac: can I just check
1) Does the TRIM command you gave me enable Non-Queued TRIM and not Queued TRIM?

Non-queued TRIM according to the Wikipedia article I linked & noted in my previous post.


2) I am running Catalina 10.15.7 - will the TRIM command you gave me work on that version of OSX?

Yes. I believe it works as far back as macOS 10.13 High Sierra. I forget exactly when this command was implemented by Apple.


My SSD is a 1TB OWC Mercury Electra 6Gb/s 2.5" SSD - bought from OWC in 2019. I have contacted OWC to ask if TRIM can be enabled on this SSD but they have not yet replied. I will post their reply here when I get it, and will wait for that before enacting the TRIM command on my SSD.

On the early OWC Mercury Electra SSDs they said TRIM was not necessary (did not matter if it was enabled either). However, I recently saw another Apple forum posting with a recent model of this SSD where they were having issues and TRIM was not enabled. The later versions of this SSD uses a different SSD controller than the original early model and I don't believe their product page even mentions TRIM one way or another these days.


By the way, how does that command line know to direct the TRIM command to the correct internal SSD? (The NVME SSD seems to already have TRIM enabled; the OWC 1TB SSD does not have TRIM enabled, and I have a third SSD, an external Samsung T7 2TB SSD labeled disk 5 in the EtreCheck report and the report does not indicated if TRIM is enabled or not on that SSD. Will the TRIM command you gave me target all attached SSDs? Should I disconnect the external Samsung before issuing the TRIM command?

AFAIK TRIM support on Macs will only work on the internal SSDs. It will affect all internal SSDs which support TRIM. TRIM support for external SSDs becomes tricky because the OS must support it as well as the USB controller and enclosure used by the external SSDs. You can check the Apple System Profiler to confirm whether TRIM has been activated on the SSDs.


Jun 27, 2022 8:45 AM in response to HWTech

@HWTech


iMac27"

I just got a reply from OWC who say that TRIM is safe to use on the OWC Mercury Electra SSD I have.

So I will enable TRIM on the iMac27 as you suggested


iMac21.5"

Thanks for the advice and help. I am going to buy a new SSD from OWC and install that into the 21.5" iMac to replace the old 2.5" 1TB HDD


I will need to look up again how to set up the iMac 21.5 with the new SSD to sit alongside the 210MB existing internal SSD, and not set it up as a fusion drive - just use the existing Apple 210MB NVMe SSD as the boot drive and the new 1TB OWC SSD as the user data drive. And set TRIM on on both.

Jun 26, 2022 5:02 PM in response to jhrichmond

It is possible the hard drive is worn out or even beginning to fail. The SSD part of the Fusion Drive will hide some of this performance degradation to a point, but eventually it will no longer be able to "cover" for the slow worn out/failing hard drive.


To check the health of the hard drive run DriveDx and post the complete DriveDx text report here using the "Additional Text' icon which looks like a piece of paper. Usually any "Warning" or "Failing" notices on a hard drive indicates the hard drive is worn out or failing respectively. Sometimes the "Warning" of a worn out hard drive may not have any performance impact, but sooner or later it will. Unfortunately these types of apps don't correctly interpret the health of an SSD as it is always best to manually interpret the health information of the SSD since not all "Warning" or "Failing" notices on an SSD are a problem.


Jun 27, 2022 1:55 AM in response to HWTech

Thank you HWTech - how incredibly helpful you are.


So regarding the SSD in my 27"iMac: can I just check

1) Does the TRIM command you gave me enable Non-Queued TRIM and not Queued TRIM?

2) I am running Catalina 10.15.7 - will the TRIM command you gave me work on that version of OSX?


My SSD is a 1TB OWC Mercury Electra 6Gb/s 2.5" SSD - bought from OWC in 2019. I have contacted OWC to ask if TRIM can be enabled on this SSD but they have not yet replied. I will post their reply here when I get it, and will wait for that before enacting the TRIM command on my SSD.


By the way, how does that command line know to direct the TRIM command to the correct internal SSD? (The NVME SSD seems to already have TRIM enabled; the OWC 1TB SSD does not have TRIM enabled, and I have a third SSD, an external Samsung T7 2TB SSD labeled disk 5 in the EtreCheck report and the report does not indicated if TRIM is enabled or not on that SSD. Will the TRIM command you gave me target all attached SSDs? Should I disconnect the external Samsung before issuing the TRIM command?


Everything you have explained about the working of SSDs makes sense as to why mine might be suffering. I have done a huge amount of movie editing on the SSD, moving movie files from external USB HDDs and an external SSD to the internal SSD in order to edit more quickly on the internal SSD, including splitting and deleting loads of movie clip files, and then moving the finished edited clips back to the HDDs. Hence I can imagine that my internal OWC SSD is full of of NAND blocks needing to be trimmed.

Jun 27, 2022 5:02 AM in response to jhrichmond

The hard drive is past the manufacturer's expected lifetime of power on hours of about 47K which is extremely low for a 3.5" drive, but it does show how poorly these hard drives are made these days (years ago a standard desktop grade drive was expected to last for 80K power on hours).


While the drive may be perfectly fine yet even being past the manufacturer's life time expectations there is another health attribute that is more of a concern to me. The "Load Cycle Count" is at 14% now which is getting very low. I know when this value gets to 1% that I have encountered severe performance issues as well as some other odd behaviors. While in theory the drive should still be fully functional at this point, I would guess with both of these things combined is why you are suddenly noticing performance issues assuming nothing else on this iMac is interfering or contributing to the problem.


Like others have already noted, a spinning hard drive is always going to be slow especially with the 5,400rpm drives which Apple uses on low end models. But with age these drives do get even slower. At least you now know that your already slow hard drive is no longer healthy.


Jun 26, 2022 2:38 AM in response to HWTech

Thank you for your responses


On the 27" iMac, it was originally a 3TB Fusion setup, but the HDD part failed the other year - hence I installed the OWC Mercury 1TB SSD. I did not recreate the fusion setup (on advice from this community) and have the 125GB NVMe drive installed as the boot drive. Then I moved my home folder to the 1TB Mercury SSD and all my data is stored on that


If I do the steps to enable TRIM, will I lose data - does it reset the drive / wipe it?


What does TRIM do anyway, and if. it is important, why is it not set to on automatically?


Many thanks for your ongoing help


The full EtreCheck report for the 27"iMac is attached


Jun 26, 2022 2:49 AM in response to jhrichmond

And here is the full EtreCheck report of the 21.5" iMac. The thing this iMac really struggles with is opening Office 365 programs and files like Work and Powerpoint. I can often take over a minute to open a Word document!


I have tried removing all of Office365 and then reinstalling it from the Office 365 web site - but it did not speed things up.

Jun 26, 2022 10:05 AM in response to jhrichmond

I woud never run any Mac with a 5400 rpm spinning drive - period. I bought one once and sold it three months later at a loss to get rid of it. They are entry level drives and even if you only use one app at a time, it will be slow - depending on the app, even super slow. Anything that requires a fast processor, RAM, and a fast drive will make it slow down to a crawl.

Jun 27, 2022 9:14 AM in response to jhrichmond

Sorry - I got my GB and MB mixed up in my last post...


When I install the new SSD into the iMac21.5, I will end up with the 24GB Apple SSD (from the fusion drive) and the new 1TB SSD. Should I ignore the 24GB Apple SD and install MacOS only on the 1TB drive as the boot and data drive, and just no longer use the 24GB Apple SSD?


I assume that 24GB is not big enough to use as the boot drive ?

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.

Internal Drive Performance Check - EtreCheck report question

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