My Late 2013late-2013 Macbook Pro 13" has been increasingly laggy and slow for the last several months. Replacing the SSD helped a little, but now I am beachballingit is beach-balling even opening a single new tab. Overall CPU usage is low (mostly WindowServer) but I was alarmed to see the amount of disk writes that kernel_task is doing (about 20GB per day).
Checking with smartctl then showed that over the 4 months since I replaced the SSD, it has done over 70TB of writes! I have no idea what it could be writing. My usual apps are Google Chrome, Terminal, Preview (for pdfs) and TeXshop and background apps (Dropbox, Google Drive, etc). How can I figure out what is lagging everything/causing kernel_task to do so many writes?