3 ms·
On the Subject of Swap and SSD write I have previously reported many issues to Apple over the years. Earliest report going back to 2016. And of course heard no
by ksec 6y ago
On the Subject of Swap and SSD write I have previously reported many issues to Apple over the years. Earliest report going back to 2016. And of course heard no feedback as usual.
You may want to check Activity Monitor > Disk > Kernel_Task for Disk Write. This shows how much swaps write, along with other apps you have been using since your last reboot. You can check your last reboot time in System Information > Software.
Currently Launchd wrote 50GB which I have no idea why. Corespotlightd wrote 70GB. And SafariBookMarkagent with 4GB. And Kernel_Task 4.5TB.
These numbers are over the course of 30 days.
Generally speaking Mac has been very Swap heavy for a long time. And Big Sur seems to be pushing this further as there are evidence shown this isn't seems to be specific to M1.
On Safari, if you have lots of Tabs, Clicking Tab Overview will force all Tabs to Reload. Which will write hundreds of GB of Data if you have lots of Tab, especially if they were originally sitting idle. ( i.e You close Safari and you reopen it where Tabs not focused are not loaded ).
If you have iCloud Drive, there may be some cases where you are downloading few hundreds GB of iCloud Data a day if you have certain Apps that constantly update its files. WhatsApp Backup used to ( and may still be the case ) cause this problem if you have a large WhatsApp History. WhatsApp download a 50GB copy, only to realise it has a new copy on iCloud and re-download again. Doing it many times per day.
Assuming some tweaked options, iCloud could be downloading all of your iPhone / iPad Backup to your Mac as cache. Again, if you have 100GB of Backup and that is downloaded once or twice per day. It adds up.
Disabling iCloud Drive tends to help.
Last time we had Electron Apps, or specifically Spotify making hundreds of GB per write per day due to a bug.
But as usual, Apple apologist around the world are quick to point out these are non-issues. Luckily HN still have some sanity. Hopefully this is finally enough to finally push Apple to fix it. Windows or Linux doesn't have the same write data count even when the usage pattern are roughly the same.
- rvz 6y agoBest part is that the SSD is soldered into the board and it can't be replaced. Even worse. In this case for the M1 Macs when the SSD dies, the Mac becomes bricked and if you have no backups then the data on the dead SSD is lost. A typical web dev may rely on running a couple of electron apps, docker, IntelliJ and lots of chrome tabs to get their work done. Alongside everyday use looks to me that the life of this SSD is going to be shortened very quickly. I already said this before [0] and it seems to them 'it is not an issue.' Well here we are and this thread is full of other concerned users. [0] https://news.ycombinator.com/item?id=26150405 https://news.ycombinator.com/item?id=26150405
- wiredfool 6y agoI've definitely seen behavior like this on Mohave on my old 2012 MBA, Tb of data written to the (128G!) drive over the course of the uptime of the machine. There was no iCloud Drive on it, Safari not generally in use. Memory pressure wasn't extraordinarily high, but it wasn't a well specc'd machine for the current day.
- rrmoelker 6y agoAdding to this, My late mid 2014 MBP has the kernal_task heavy write issue. I has written over 15TB the last 61 days. The new nvme disk I installed two months ago is already at 2% wear: Available Spare: 100% Available Spare Threshold: 10% Percentage Used: 2% Data Units Read: 45,859,839 [23.4 TB] Data Units Written: 44,541,716 [22.8 TB] Host Read Commands: 296,573,912 Host Write Commands: 218,840,299 Controller Busy Time: 6,954 Power Cycles: 138 Power On Hours: 1,662 A quick Google directed me at: - Spotlight indexing packages folders (npm, pip etc). Add those to the "privacy" tab in the spotlight settings to skip indexing. - The battery and or logic board may be failing.