2020 iMac is sluggish when waking from sleep

Recently, perhaps since updating to MacOS 12.5.x, my iMac has been acting weird. If it goes to sleep, when I wake it, it takes a noticeable amount of time for running applications to respond and even longer to start a new application. So much so that it is actually quicker to force shutdown and restart. I have tried bringing up console to see if anything is hogging the CPU, but that takes too long as well. I have iStatMenu installed, but I don't see any heavy bars in the "CPU" menu bar area.


I have tried resetting the SMC. I installed and used EtreCheck but found nothing really amiss (there were some unsigned programs, but I know what they are and they are valid.)


I would appreciate any other suggestions on this matter.

iMac 27″, macOS 12.5

Posted on Aug 27, 2022 11:22 AM

Reply

Similar questions

11 replies

Aug 28, 2022 7:07 AM in response to TBade

Fast Look and Bingo


Q - " More than one antivirus app - This computer has multiple antivirus apps installed. "


Q - " Antivirus software: Apple, Objective-See, and Malwarebytes "


A - There are no known Windows-like Viruses in the wild that self replicate and affect macOS, because of the underling UNIX  Foundation and Permission Limitation. 


Additionally, and specific to Big Sur macOS 11 and Monterey macOS 12, the Operating System resides in a Sealed and Read Only Volume that can not be opened by the User and protects against from “ Bad Actor “ Software.


The Only thing this Antivirus software is protecting is the Bank Account of the Developers and for zero return to the User aside from the problems this software creates.


AntiVirus Developers purposefully Market their product to create a “ Fear Factor “. In so doing, creating a False Need for their Product.


The The Built in Security  is all that is required to protect the computer.


There is Adware & Malware which will affect the computer and is generally downloaded from “ Shady “ Websites or Developers who Inject this software into the download.


Should “ Certain & Specific Software “ referenced from above be installed - it will negatively impact macOS. It is suggested, download directly from the Developer , the application Malwarebytes for Mac


It is free or paid for added features. 


Run the Application and it should remove the malware / adware. Once done, restart computer and test.

Aug 28, 2022 9:58 AM in response to TBade

One of the SSDs either doesn’t offer TRIM, or isn’t enabled for TRIM. Which can mean heavy I/O to that will be limited by the speed of the erasure.


Multiple anti-malware apps, as mentioned above. Pick one, at most.


Java. I’ll assume some app here is using that. Java 8 is an old version, and u333 is the current (last?) of that line. You have u291. Java updates tend to be for security or for stability, and Java itself tends toward resource-intensive.


I don’t know what performance implications might exist for that Intel kext. Intel can tailor their processors for speed, or for efficiency. Intel Power Gadgets, etc.


Add-on VPN apps can slow down traffic, and some can monitor and log. Absent website testing or related geoshifting, they tend to provide less than what might be wanted, and can provide surprises.


I’ll assume there’s some Windows app that requires CodeWeavers.


Your I/O performance looks pretty good, as does your CPU.


Spotlight and mail are active. Busiest is some of your anti-malware. Mail got tangled with something, Spotlight too, and Edge and Firefox hung. As a test, I’d remove the anti-malware. Malware on Mac tends to be adware or similar stuff deliberately installed by the user, so is that really malware?


There has been some targeted Mac malware recently, and I’ll assume you’re not involved in defense-related work, where that was purportedly targeted. If you are, check with your organization’s security folks.


Usenet for postings is fine, but Usenet for other uses including cracked apps can be Really Hazardous.


There is no need for secure file deletion on an encrypted SSD. SSDs work very differently from HDDs.


TL;DR: remove the add-on anti-malware and see if things stabilize.

Aug 28, 2022 1:59 PM in response to TBade

disk2 - Samsung PSSD T7 1.00 TB (Solid State - TRIM: No)


FAT12, FAT16, and FAT32 (which is really FAT28, but who still counts bits?) are variations of a Microsoft format, but you’ll see them used on operating systems and configurations elsewhere and for various reasons. It wouldn’t surprise me to see partitions using that format along with other formats, as EFI/UEFI likes that. There are two partitioning formats in common use, MBR and GPT. GPT includes a “protective” MBR, too. I wouldn’t be too concerned about any of that stuff here, as Mac is only going to be accessing that if you ask it to.

Aug 28, 2022 12:57 PM in response to MrHoffman

Thanks for the above information. There is a lot to look at and try. I do have a few comments and questions if anyone would like to comment.


The SSD without the TRIM, I am not sure where you saw that. But since I have only 2 drives, the Mac internal drive, and an external that is used only for playing games in Windows using Bootcamp, I assume that is the drive in question. It was formatted in NTFS, although Etrecheck says MS-DOS Fat12 (which could be the same thing as I am no Windows expert). Is this correct?


I removed the Other antivirus stuff. Malware Bytes will exist, but run manually if I believe there is a need. I think that was suggested.


All those hung apps that are listed occurred when the machine was having said issue. I tried running several things to see what would happen. I wish I could find what exactly hung them, as this is the real issue.


I am confused about the JAVA stuff. I installed it to runs some web stuff some time ago (I forget what), and I thought it would check for updates. Apparently that is not true. I have removed it for now.


Thanks again.

Sep 6, 2022 8:29 AM in response to MrHoffman

Thank you for all the suggestions. Sadly, the issue persists. Originally I thought it was caused by the Mac going to sleep. So I turned off sleep and power nap. Now, if the Mac sits idle for some amount of time, sometimes when I get back to using it, the first program runs fine, then at some point everything just halts. Spinning beach ball. That is when I give up and force reboot.


I will start another questions to see if there are suggestions for this.

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.

2020 iMac is sluggish when waking from sleep

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