Cinnamon writes several gigabytes to disk per day. Needless to say, that is not good for the lifespan of an SSD.
Here is a current screenshot after 10 days of uptime:
gvfsd-metadata
As far as I know, the writes by gvfsd-metadata are unavoidable due to the ext4 journaling.
firefox-bin
The high writes by Firefox are mainly due to video caching, because there is no way to turn this useless feature off.
There is an about:config property called "browser.privatebrowsing.forceMediaMemoryCache", but as the name implies, it is only for private browsing, not normal browsing.
Video caching to disk is a coprolite leftover from the times where computers usually ran from magnetic hard drives and had low RAM such as 4 GB, so the hard drive was used a lot for swapping and caching. Magnetic hard dries have unlimited rewrite cycles since writing only means changing magnetic fields. Hard drives only wear down from the mechanical movements, not from the writing itself.
Now that solid state drives are more affordable, computers have solid state drives and much larger RAM such as 16 GB. Video caching to disk is obsolete, and all it does is hurting SSDs.
RAM can be used for it now. 16 GB RAM was exotic in 2012 and only very few computers and laptops such as Samsung 700G7A had it. Now, 16 GB is commonplace.
But I don't know why Cinnamon has the need to write 4 GB to disk per day.
Here is a screenshot from August which also has mintUpdate in it:
MintUpdate is not essential to the fuctioning of the user interface, so taskkilling it solves the problem. But Cinnamon obviously is essential to the user interface, so taskkilling it would not be an option.
Is there any way to prevent Cinnamon from writing hundreds of gigabytes of junk to the SSD? And what does it write anyway? Why does a user interface have a need to write hundreds of gigabytes?
Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- Jolly Roger
- Level 4
- Posts: 272
- Joined: Wed May 22, 2019 9:22 am
- Location: città di Rovato / BS - Italy
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
Hi HyperBear
---
See (Easy Linux Tips Project)
SSD: how to optimize your solid state drive for Linux Mint and Ubuntu
https://easylinuxtipsproject.blogspot.c ... tml#ID16.3
---
For the durability of SSDs, see this information, link:
https://www.ontrack.com/en-us/blog/how- ... eally-last
https://www.ionos.co.uk/digitalguide/se ... life-span/
---
Hi.
---

Translation via Deepl.
---
See (Easy Linux Tips Project)
SSD: how to optimize your solid state drive for Linux Mint and Ubuntu
https://easylinuxtipsproject.blogspot.c ... tml#ID16.3
---
For the durability of SSDs, see this information, link:
https://www.ontrack.com/en-us/blog/how- ... eally-last
https://www.ionos.co.uk/digitalguide/se ... life-span/
---
Hi.
---
Translation via Deepl.
🇷🇺 🇷🇺 🇷🇺
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
Just checking my own system out of curiosity, 20 days since my last reboot and i see:
lets call it 350 GB in 20 days = 17 GB per day.
I play a lot with VMs and video files....
Now considering my cheapo consumer grade 1TB NVMe drive is rated at 260 TBW, i calculate a lifespan of 42 years writing 17GB/day.
I am pretty sure I will upgrade my system way before that
Some guys here may give you an answer about what is performing the writing on the disk, but i suggest you find out the TBW rating for your specific drive, do the math and not worry about it.
Last edited by axrusar on Fri Dec 22, 2023 3:26 pm, edited 2 times in total.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics

Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
Sorry to barge in, but what are you using to create those reports? 
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
System Monitor/Processes toolbar Edit/Preferences
There you can choose which fields are displayed.
Everything in life was difficult before it became easy.
-
- Level 4
- Posts: 316
- Joined: Tue Aug 30, 2016 1:58 pm
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
There may not be a way to entirely turn off cache usage, but if you have enough RAM (and it doesn’t necessarily take much) you may be able to squarely redirect your browser’s caching to RAM. Failing that, you should be able to simply set the maximum amount of allocatable disk cache. (And perhaps increase the allowable memory cache, while you’re at it.) I would search in the Mozzilazine, or on the Web at large. This 2021 Reddit post seems reasonable.
I’ve always used my browsers without disk caching. I was doing it even before SSDs, decades ago, starting with Firefox, later with Pale Moon (initially a Firefox derivative) and now with Brave (a Chromium derivative).
So when I check the tallies of reads and writes for running processes, I see
N/A
for all the Brave processes. The only theoretical drawback I can think of is: if you frequently shut down and reboot your system and re-access some of the very same stuff afterwards. In that case all the content will have to be fetched again because the RAM-residing cache will have been wiped, so it might increase your network traffic somewhat. But even with caching to disk, there is never a guarantee that your cache was actually large enough to hold all of what you end up needing.
- AZgl1800
- Level 20
- Posts: 10718
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
I have never once, lost a SSD drive, and I have always used Cinnamon exclusively.
Initially the small ones, 128gb, 256, 1TB and now a 4TB,
me thinks you worry too much
Initially the small ones, 128gb, 256, 1TB and now a 4TB,
me thinks you worry too much
- AZgl1800
- Level 20
- Posts: 10718
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: 57KB?!
don't know, this is a Fresh Install, only 3 weeks old, but it does have 16gB RAM, might that be it?
no Swap file usage, period.
I don't mess with it, it is out of the box.
Code: Select all
Kernel: 5.15.0-91-generic x86_64 bits: 64
Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria
Re: Hundreds of gigabytes written by Cinnamon, mintUpdate, and Firefox video caching. SSD weardown.
You can specify temp files to be written to ram.
How I do this:
then:
How I do this:
Code: Select all
sudo cp -v /usr/share/systemd/tmp.mount /etc/systemd/system/
Code: Select all
sudo systemctl enable tmp.mount
Everything in life was difficult before it became easy.