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)