Really poor performance on iMac - swap is out of control

I've got a Late 2015 iMac (4GHz i7, 16GB RAM), which I expected to be really powerful. Actually, in benchmark tests, it did slightly better than my old 2009 Mac Pro! However, I'm really disappointed with the performance I'm getting out of it. I'm trying to figure out if it's the computer itself, or Adobe Creative Cloud.


So, the pattern I've noticed is that swap RAM tends to go way up even before the system has come close to exhausting the 16GB of hardware RAM. I'll run the htop command to watch the memory stats, and after a clean reboot, swap is at 0 or close to it. Working in Photoshop for a while, the swap starts to go up and eventually goes as high as 12GB, even though—like I mentioned before—the hardware RAM is still significantly below 16GB.


I put Photoshop in low-res mode (so it doesn't run in retina), and this helps quite a bit. The iMac can run maybe 3-4 days longer before swap is up at 10-12GB and everything on the computer starts running more slowly.


This is extremely frustrating, and I'm not sure what to do about it. I don't know i

iMac (Retina 5K, 27-inch, Late 2015), OS X El Capitan (10.11.5)

Posted on Jun 29, 2016 12:26 PM

Reply
16 replies

Jun 29, 2016 1:09 PM in response to CaptSaltyJack

OS X uses a sophisticated memory management strategy that a lot of traditional unix utilities don't quite understand. In particular, it compresses inactive memory pages and fills up unused RAM with performance-enhancing caches. My guess is that the RAM that is reported as unused by htop is really being used but for one of these 'unconventional' purposes. What does Activity Monitor say about the utilisation of memory?


Adobe software has always been a memory hog. There seems to be law that that has existed from the earliest days of Photoshop that says that, regardless of how much RAM you have, Adobe's software will fill it and start the system swapping. Try the Adobe forums for advice on tuning.


C.

Jun 29, 2016 1:10 PM in response to cdhw

Activity Monitor reports the same amount of swap being used as htop. The thing is, on my Mac Pro (64GB RAM), swap is almost always close to zero (currently it's at only 284MB, and my machine hasn't been rebooted for 2 weeks). I could bump the iMac up to 32GB RAM, but I'm not sure if that would solve it. The Memory Pressure meter in Activity Monitor looks totally fine, so the machine isn't stressed about RAM. It's just strange that the swap would go so high up even though physical memory is not exhausted.

Jun 29, 2016 1:24 PM in response to CaptSaltyJack

Please run EtreCheck:


https://etrecheck.com/#about


and post the report here.


El Capitan is lazy (in the technical sense) when it comes to reducing swap space that is no longer needed. I think that the rationale is that if it's not being used and the disk space is not needed there is no point in copying it all back up to RAM only to be deleted soon after.


If the memory pressure is low then there is probably nothing to worry about. Presumably it was high (orange or red) when the swap space was increasing. You can leave Activity monitor running to keep an eye on things.


Unfortunately, you may have just discovered why serious Photoshoppers tend to buy Mac Pros with a lot of RAM in them. 😟


C.

Jun 29, 2016 1:52 PM in response to cdhw

If the memory pressure is low then there is probably nothing to worry about. Presumably it was high (orange or red) when the swap space was increasing. You can leave Activity monitor running to keep an eye on things.


That's the thing though, memory pressure was fine, but overall performance of the system was still poor. There's no correlation between the memory pressure and how this iMac runs.


I'll run the EtreCheck twice.. once when the machine is running ok, and again when it's not. Will post the results soon. Thanks for the tip!

Jun 29, 2016 1:59 PM in response to CaptSaltyJack

Have you checked your Photoshop settings? I have CS3 and forgot then remembered it does have an option to adjust default of size of what is loaded into RAM and what is loaded into VM. Never had a problem and still don't because what I regularly used resided in RAM - so never adjusted it.


Your system performance may be helped by shutting down to clear RAM of orphaned modules.


Yosemite and above changes the way both RAM and VM are used. If you are used to having open a certain number of applications on your desk top in earlier releases with no problem - loading the same applications with Yosemite may cause Memory pressure.


Yosemite and above puts your entire application into RAM - unlike earlier releases where it put some in VM (pages in) if you see pages out swapping is occurring.

In order to keep active applications in RAM (those that have activity) Yosemite may compress parts of memory -- if its still not enough for active processes it Kills processes that have had no activity in a certain amount of time, only as a last resort will it swap active processes to VM.


I see 2 downsides to Yosemite & above: First Killing processes: Some applications may crash because the caller of a process opens it with initialization of some field then tries to call the same application after it has been killed - but is assuming it is running. Second: Compress of Memory - compression of information has one quick - very rare - the data compresses into an instruction that signifies end of data when it really isn't. Both problems would not occur if you have enough ram to run everything you have open.

Jul 1, 2016 11:26 AM in response to cdhw

Here's the EtreCheck result.


EtreCheck version: 2.9.12 (265)

Report generated 2016-07-01 11:04:39

Download EtreCheck from https://etrecheck.com

Runtime 2:08

Performance: Excellent


Click the [Support] links for help with non-Apple products.

Click the [Details] links for more information about that line.

Click the [Check files] link for help with unknown files.


Problem: Beachballing


Hardware Information: <etrecheck://help/hardware> ⓘ <etrecheck://help/hardware>

iMac (Retina 5K, 27-inch, Late 2015)

[Technical Specifications] <http://support-sp.apple.com/sp/index?page=cpuspec&cc=H3HF&lang=en> - [User Guide] <http://support-sp.apple.com/sp/index?page=cpuuserguides&cc=H3HF&lang=en> - [Warranty & Service] <https://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=Mac desktops>

iMac - model: iMac17,1

1 4 GHz Intel Core i7 CPU: 4-core

16 GB RAM Upgradeable - [Instructions]

<http://support-sp.apple.com/sp/index?page=cpumemory&cc=H3HF&lang=en> BANK 0/DIMM0

8 GB DDR3 1867 MHz ok

BANK 0/DIMM1

Empty

BANK 1/DIMM0

8 GB DDR3 1867 MHz ok

BANK 1/DIMM1

Empty

Bluetooth: Good - Handoff/Airdrop2 supported

Wireless: en1: 802.11 a/b/g/n/ac


Video Information: <etrecheck://help/video> ⓘ <etrecheck://help/video>

AMD Radeon R9 M390 - VRAM: 2048 MB

iMac 5120 x 2880


System Software: <etrecheck://help/systemsoftware> ⓘ <etrecheck://help/systemsoftware>

OS X El Capitan 10.11.4 (15E65) - Time since boot: about 2 days


Disk Information: <etrecheck://help/disk> ⓘ <etrecheck://help/disk>

APPLE HDD ST1000DM003 disk0 : (1 TB) (Rotational)

EFI (disk0s1) <not mounted> : 210 MB

Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB

Macintosh HD (disk2) / : 1.02 TB (805.20 GB free)

Core Storage: disk1s2 23.55 GB Online

Core Storage: disk0s2 999.35 GB Online


APPLE SSD AP0032H disk1 : (24 GB) (Solid State - TRIM: Yes)

EFI (disk1s1) <not mounted> : 315 MB

Boot OS X (disk1s3) <not mounted> : 134 MB

Macintosh HD (disk2) / : 1.02 TB (805.20 GB free)

Core Storage: disk1s2 23.55 GB Online

Core Storage: disk0s2 999.35 GB Online


USB Information: <etrecheck://help/usb> ⓘ <etrecheck://help/usb>

VIA Labs, Inc. USB3.0 Hub 8.07 GB

VIA Labs, Inc. USB3.0 Hub

Genesys USB Reader 8.07 GB

EOS_DIGITAL (disk3s1) /Volumes/EOS_DIGITAL : 8.07 GB (4.07 GB free)

VIA Labs, Inc. USB2.0 Hub 250.06 GB

VIA Labs, Inc. USB2.0 Hub

Western Digital External HDD 250.06 GB

My Passport (disk4s1) /Volumes/My Passport : 250.06 GB (128.27 GB free)

Broadcom Corp. Bluetooth USB Host Controller

Apple Inc. FaceTime HD Camera (Built-in)

Apple, Inc. Keyboard Hub

Apple, Inc Apple Keyboard


Thunderbolt Information: <etrecheck://help/thunderbolt> ⓘ <etrecheck://help/thunderbolt>

Apple Inc. thunderbolt_bus


Configuration files: <etrecheck://help/configurationfiles> ⓘ <etrecheck://help/configurationfiles>

/etc/sudoers, File size 2308 but expected 2299


Gatekeeper: <etrecheck://help/gatekeeper> ⓘ <etrecheck://help/gatekeeper>

Mac App Store and identified developers


Unknown Files: <etrecheck://help/unknownfiles> ⓘ <etrecheck://help/unknownfiles>

/Library/LaunchDaemons/com.wacom.TabletHelper.plist

/Library/PrivilegedHelperTools/com.wacom.TabletHelper.app/Contents/MacOS/com.wa com.TabletHelper

One unknown file found. [Check files] <etrecheck://unknownfiles/check>


Kernel Extensions: <etrecheck://help/kernelextensions> ⓘ <etrecheck://help/kernelextensions>

/Library/Extensions

[not loaded] com.FTDI.driver.D2XXHelper (1.0 - SDK 10.11 - 2016-06-17) [Support] <https://www.google.com/search?q=D2xxHelper+support+site:FTDI.com>


/System/Library/Extensions

[not loaded] com.wacom.kext.wacomtablet (Wacom Tablet 6.3.16-12 - SDK 10.11 - 2016-06-17) [Support] <https://www.google.com/search?q=support+site:wacom.com>

[loaded] zoom.us.ZoomAudioDevice (1.2 - SDK 10.9 - 2016-06-17) [Support] <https://www.google.com/search?q=ZoomAudioDevice+support+site:us.zoom>


System Launch Agents: <etrecheck://help/systemlaunchagents> ⓘ <etrecheck://help/systemlaunchagents>

[not loaded] 7 Apple tasks

[loaded] 149 Apple tasks

[running] 82 Apple tasks


System Launch Daemons: <etrecheck://help/systemlaunchdaemons> ⓘ <etrecheck://help/systemlaunchdaemons>

[not loaded] 45 Apple tasks

[loaded] 151 Apple tasks

[running] 92 Apple tasks


Launch Agents: <etrecheck://help/launchagents> ⓘ <etrecheck://help/launchagents>

[not loaded] com.adobe.AAM.Updater-1.0.plist (2016-06-24) [Support] <https://www.google.com/search?q=com.adobe.AAM.Updater-1.0.plist+support+site:ado be.com>

[failed] com.adobe.ARMDCHelper.cc24aef4a1b90ed56a...plist (2016-05-11) [Support] <https://www.google.com/search?q=com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c3801 4c95072f92651fb65e1bf9c8e43c37a23d420d.plist+support+site:adobe.com>

[running] com.adobe.AdobeCreativeCloud.plist (2016-04-12) [Support] <https://www.google.com/search?q=com.adobe.AdobeCreativeCloud.plist+support+site: adobe.com>

[running] com.brother.LOGINserver.plist (2015-11-09) [Support] <https://www.google.com/search?q=com.brother.LOGINserver.plist+support+site:broth er.com>

[running] com.epson.Epson_Low_Ink_Reminder.launcher.plist (2015-01-19) [Support] <https://www.google.com/search?q=com.epson.Epson_Low_Ink_Reminder.launcher.plist+ support+site:epson.com>

[running] com.epson.ecrp.launcher.plist (2016-04-05) [Support] <https://www.google.com/search?q=com.epson.ecrp.launcher.plist+support+site:epson .com>

[loaded] com.epson.esua.launcher.plist (2016-03-28) [Support] <https://www.google.com/search?q=com.epson.esua.launcher.plist+support+site:epson .com>

[running] com.epson.eventmanager.agent.plist (2014-09-21) [Support] <https://www.google.com/search?q=com.epson.eventmanager.agent.plist+support+site: epson.com>

[running] com.epson.scannermonitor.plist (2015-12-16) [Support] <https://www.google.com/search?q=com.epson.scannermonitor.plist+support+site:epso n.com>

[running] com.wacom.wacomtablet.plist (2016-05-25) [Support] <https://www.google.com/search?q=com.wacom.wacomtablet.plist+support+site:wacom.c om>


Launch Daemons: <etrecheck://help/launchdaemons> ⓘ <etrecheck://help/launchdaemons>

[loaded] com.adobe.ARMDC.Communicator.plist (2016-05-11) [Support] <https://www.google.com/search?q=com.adobe.ARMDC.Communicator.plist+support+site: adobe.com>

[loaded] com.adobe.ARMDC.SMJobBlessHelper.plist (2016-05-11) [Support] <https://www.google.com/search?q=com.adobe.ARMDC.SMJobBlessHelper.plist+support+s ite:adobe.com>

[running] com.adobe.adobeupdatedaemon.plist (2016-06-16) [Support] <https://www.google.com/search?q=com.adobe.adobeupdatedaemon.plist+support+site:a dobe.com>

[loaded] com.adobe.agsservice.plist (2016-04-12) [Support] <https://www.google.com/search?q=com.adobe.agsservice.plist+support+site:adobe.co m>

[loaded] com.adobe.fpsaud.plist (2016-06-13) [Support] <https://www.google.com/search?q=com.adobe.fpsaud.plist+support+site:adobe.com>

[running] com.fitbit.galileod.plist (2015-10-30) [Support] <https://www.google.com/search?q=com.fitbit.galileod.plist+support+site:fitbit.co m>

[loaded] com.macpaw.CleanMyMac3.Agent.plist (2016-03-23) [Support] <https://www.google.com/search?q=com.macpaw.CleanMyMac3.Agent.plist+support+site: macpaw.com>

[running] com.wacom.TabletHelper.plist (2016-05-25) [Support] <https://www.google.com/search?q=com.wacom.TabletHelper.plist+support+site:wacom. com>

[loaded] com.wacom.displayhelper.plist (2016-05-25) [Support] <https://www.google.com/search?q=com.wacom.displayhelper.plist+support+site:wacom .com>


User Launch Agents: <etrecheck://help/userlaunchagents> ⓘ <etrecheck://help/userlaunchagents>

[loaded] com.adobe.AAM.Updater-1.0.plist (2016-03-09) [Support] <https://www.google.com/search?q=com.adobe.AAM.Updater-1.0.plist+support+site:ado be.com>

[loaded] com.google.keystone.agent.plist (2016-04-02) [Support] <https://www.google.com/search?q=com.google.keystone.agent.plist+support+site:goo gle.com>

[loaded] com.macpaw.CleanMyMac3.Scheduler.plist (2016-06-29) [Support] <https://www.google.com/search?q=com.macpaw.CleanMyMac3.Scheduler.plist+support+s ite:macpaw.com>


User Login Items: <etrecheck://help/loginitems> ⓘ <etrecheck://help/loginitems>

iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

Dropbox Application (/Applications/Dropbox.app)

AdobeResourceSynchronizer Application Hidden (/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/AdobeResourceSynchronizer.app)

Google Drive Application (/Applications/Google Drive.app)

CleanMyMac 3 Menu Application (/Applications/CleanMyMac 3.app/Contents/MacOS/CleanMyMac 3 Menu.app)

Fitbit Connect Menubar Helper Application (/Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app)

SMARTReporter Application (/Applications/SMARTReporter.app)


Other Apps: <etrecheck://help/hiddenapps> ⓘ <etrecheck://help/hiddenapps>

[running] 2BUA8C4S2C.com.agilebits.onepassword-osx-helper

[running] com.adobe.CCLibrary.88992

[running] com.adobe.CCXProcess.146272

[loaded] com.adobe.Photoshop.160672

[running] com.adobe.Photoshop.160672.2095552F-660C-4394-AA0A-B448BE8EE385

[running] com.adobe.acc.AdobeDesktopService.154272.5D215FFF-721C-4D98-8477-1B96D97DCE97

[running] com.adobe.accmac.110752

[running] com.brother.utility.NETserver.159712

[running] com.brother.utility.USBserver.158432

[running] com.corecode.SMARTReporter.59552

[running] com.etresoft.EtreCheck.176672

[running] com.fitbit.GalileoMenubar.129312

[running] com.getdropbox.dropbox.58912

[running] com.google.Chrome.65632

[running] com.google.GoogleDrive.1952

[running] com.macpaw.CleanMyMac3.Menu.50272

[running] jp.co.canon.cijscannerregister.54752

[loaded] 392 Apple tasks

[running] 240 Apple tasks


Internet Plug-ins: <etrecheck://help/internetplugins> ⓘ <etrecheck://help/internetplugins>

AdobeAAMDetect: 3.0.0.0 - SDK 10.9 (2016-06-16) [Support] <https://www.google.com/search?q=support+site:AdobeAAMDetectLib.com>

FlashPlayer-10.6: 22.0.0.192 - SDK 10.9 (2016-06-16) [Support] <https://www.google.com/search?q=FlashPlayer-10.6+support+site:macromedia.com>

QuickTime Plugin: 7.7.3 (2016-03-23)

AdobePDFViewerNPAPI: 15.016.20045 - SDK 10.11 (2016-06-20) [Support] <https://www.google.com/search?q=AdobePDFViewerNPAPI+support+site:adobe.com>

AdobePDFViewer: 15.016.20045 - SDK 10.11 (2016-06-20) [Support] <https://www.google.com/search?q=AdobePDFViewer+support+site:adobe.com>

Flash Player: 22.0.0.192 - SDK 10.9 (2016-06-16) [Support] <https://www.google.com/search?q=Flash%20Player+support+site:macromedia.com>

Default Browser: 601 - SDK 10.11 (2016-06-16)

WacomTabletPlugin: WacomTabletPlugin 2.1.0.6 - SDK 10.9 (2016-05-25) [Support] <https://www.google.com/search?q=support+site:WacomTabletPluginLib.com>


User internet Plug-ins: <etrecheck://help/userinternetplugins> ⓘ <etrecheck://help/userinternetplugins>

ZoomUsPlugIn: 3.5.44581.0318 - SDK 10.11 (2016-03-19) [Support] <https://www.google.com/search?q=ZoomUsPlugIn+support+site:zoom.us>


Safari Extensions: <etrecheck://help/safariextensions> ⓘ <etrecheck://help/safariextensions>

1Password - AgileBits - https://agilebits.com/onepassword (2016-06-05)

LastPass - LastPass - https://lastpass.com (2016-03-09)


3rd Party Preference Panes: <etrecheck://help/preferencepanes> ⓘ <etrecheck://help/preferencepanes>

Flash Player (2016-06-13) [Support] <https://www.google.com/search?q=Flash%20Player+support+site:adobe.com>

WacomTablet (2016-05-25) [Support] <https://www.google.com/search?q=WacomTablet+support+site:wacom.com>


Time Machine: <etrecheck://help/timemachine> ⓘ <etrecheck://help/timemachine>

Time Machine not configured!


Top Processes by CPU: <etrecheck://help/cpu> ⓘ <etrecheck://help/cpu>

8% kernel_task

2% CEPHtmlEngine Helper(6)

1% Activity Monitor

1% Fitbit Connect Menubar Helper

1% com.apple.WebKit.Networking


Top Processes by Memory: <etrecheck://help/memory> ⓘ <etrecheck://help/memory>

3.07 GB Adobe Photoshop CC 2015.5

2.93 GB Google Chrome Helper(12)

2.50 GB com.apple.WebKit.WebContent(10)

1.46 GB kernel_task

508 MB CEPHtmlEngine Helper(6)


Virtual Memory Information: <etrecheck://help/vm> ⓘ <etrecheck://help/vm>

516 MB Free RAM

15.00 GB Used RAM (2.25 GB Cached)

9.26 GB Swap Used


Diagnostics Information: <etrecheck://help/diagnostics> ⓘ <etrecheck://help/diagnostics>

Jul 1, 2016, 10:15:55 AM ~/Library/Logs/DiagnosticReports/dynamiclinkmanager_2016-07-01-101555_[redacted ].crash

com.adobe.dynamiclinkmanager.application - /Applications/Adobe Photoshop CC 2015.5/Adobe Photoshop CC 2015.5.app/Contents/Required/DynamicLinkMediaServer/dynamiclinkmanager.app/Cont ents/MacOS/dynamiclinkmanager

Jun 29, 2016, 12:23:42 PM ~/Library/Logs/DiagnosticReports/garcon_2016-06-29-122342_[redacted].crash

/Applications/Dropbox.app/Contents/PlugIns/garcon.appex/Contents/MacOS/garcon

Jun 29, 2016, 12:20:27 PM Self test - passed

Jun 29, 2016, 12:17:52 PM ~/Library/Logs/DiagnosticReports/Atom_2016-06-29-121752_[redacted].crash

com.github.atom - /Users/USER/Downloads/Atom.app/Contents/MacOS/Atom

Jul 1, 2016 11:38 AM in response to CaptSaltyJack

there have been sporadic report of the Wacom drivers being an issue at this time.

you may wish to verify your divers are the correct version, and if you have updated recently that you updated as recommend by Wacom (uninstall the old drivers, reboot, then install the new drivers) or contact Wacom's support team on Facebook because they are incapable of answering emails or phone calls these days.

Jul 3, 2016 10:29 AM in response to CaptSaltyJack

From the report - you seem to have many applications opened at once - --along with being connected to the internet -- so all of your applications may be connected to help text on a web site --


As you open more applications - parts of an application that are active are swapped out to disk(VM) the part itself may not be active - but if it is required you will get the beach-ball when it is reloaded - as the system has to readjust everything.


Since the early days of Windows - pc users have made the mistake of trying to keep applications open just in case - then wondered why they had crashes -- its just because you can do it doesn't mean you should.

Jul 3, 2016 1:00 PM in response to notcloudy

The thing is, I've put the same amount of workload on my 5-year-old MacBook Air, and it runs better than a 2015 iMac under the same conditions (even less RAM on the MacBook Air, too - 8GB). This is why this is so befuddling. But I'm guessing because the iMac is 5K retina with such a higher pixel density, that everything I run on it is more demanding than it would be on an older MacBook Air.


So if I up the RAM from 16GB to 64GB, I'm guessing that will solve these issues?

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.

Really poor performance on iMac - swap is out of control

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