Live data from Hacker News

Heavy SSD Writes from Firefox

servethehome.com

41–50 of 361 posts

Re: Heavy SSD Writes from Firefox

#41

Chrome, on my system, is even more abusive. Watch the size of the .config/google-chrome directory and you'll see that it grows to multi-GB in the profile file. There is a Linux utility that takes care of all browsers' abuse of your ssd called profile sync daemon, PSD. It's available in the debian repo or [1] for Ubuntu or [2] for source. It uses `overlay` filesystem to direct all writes to ram and only syncs back to…

What is the typical memory usage of this for normal web browsing?

Re: Heavy SSD Writes from Firefox

#42
Maybe I am not understanding this right, but is this saying that Firefox will continually keep writing to the disk while idle? Does anyone know more about this? Why would this be needed to restore session/tabs? Seems like it should only write after a user action or if the open page writes to storage? Even if it was necessary to write continually while idle, how could it possibly consume so much data in such a short period of time?

Re: Heavy SSD Writes from Firefox

#43
post #7

Earlier quoted context omitted.

Samsung's low cost line is under warranty up to 40TB/year. Tests have shown that the actual drive lifetime is several times that. So basically, no, you don't have to worry about this. Essentially, people are complaining that the disks they bought are being used for their intended purpose: making sure your data doesn't disappear on a power loss.

Not everyone buys Samsung, there are a lot of cheap SSD's out there that are rated for only a handful of TB's a year. There is also a case of the silly SSHD's or w/e which combine a tiny SSD and a mechanical component which can die considerably faster. Overall the amount of writes an SSD can handle is tied directly to it's capacity since it determines the amount of average writes per a given time unit that each cell…

this was a very insightful comment, thank you!

Re: Heavy SSD Writes from Firefox

#44
post #34

Earlier quoted context omitted.

Replace Browser Crash with: Accidentally pressing Ctrl-w And yes, there are browser crashes without Flash

Who really cares about restoring browser state? Maybe I lose part of an HN or Facebook post I'd been writing, but that's it. The feature should be opt-in, IMHO.

I certainly care about it, although it's possible that my 50-odd browser tabs would be considered "clutter" by other people.

I stopped using Edge because it only saves your tab session if you turn off the PC, not if you quit the browser.

Mind you, for a while I ran Firefox using a RAMdisc for the profile simply because all that flushing makes a big negative impact on PC performance.

Re: Heavy SSD Writes from Firefox

#45

i'm not seeing these numbers, using I/O columns in Process Explorer. i'm running Nightly Portable with maybe 80 tabs open/restored.

I'm not seeing these numbers either and I'm running Firefox 49. In the resource monitor, I see firefox writing to disk 10kB every 15 sec. I bet there is something else to the story of this guy.

Re: Heavy SSD Writes from Firefox

#48

Even better just disable session restore entirely - Browser.sessionstore.enabled - Since Firefox 3.5 this preference is superseded with setting browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo to 0. As I understand this feature is there so if the browser crashes it can restore your windows and tabs - I don't remember having a browser crash on me since the demise of Flash.

> I don't remember having a browser crash on me since the demise of Flash. Just try browsing reddit with the RES extension or streaming heavy data for a few seconds (like a server side PDF processor that takes more than 30 seconds to finish, it's the same old behavior of blocking JS dialogs from years ago, white screen of death). When I'm using a iGPU (512MB) and I open some heavy images in sequence the browser crash…

> RES extension or streaming heavy data

Yeah that's the difference - I only use few well known extensions like uBlock Origin, Self Destructing Cookies, Lastpass and Decentraleyes. No trouble with any PDFs either. Anyway this is getting off track with the crashes or not - my point was even if it crashes it is no big deal if you can't restore - just reopen will work in most cases.

Re: Heavy SSD Writes from Firefox

#49

I seriously dislike Firefox, but must use it at work due to browser incompatibility issues with Chrome and sites I use heavily. Anything that makes the experience better is much appreciated.

If is perfectly valid for you to dislike Firefox. But in the context of this post it seems that you assume Chrome is better than FF in terms of disc usage. Do you have any data to back that claim up?

Re: Heavy SSD Writes from Firefox

#50

Even better just disable session restore entirely - Browser.sessionstore.enabled - Since Firefox 3.5 this preference is superseded with setting browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo to 0. As I understand this feature is there so if the browser crashes it can restore your windows and tabs - I don't remember having a browser crash on me since the demise of Flash.

Replace Browser Crash with: Accidentally pressing Ctrl-w And yes, there are browser crashes without Flash

Ctrl-W is not that bad, but I sometimes want to close tab by Ctrl-W but instead hit Ctrl-Q...
Post reply on HN