Firefox Creating a profile off of my SSD
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 30 days after creation.
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 30 days after creation.
Firefox Creating a profile off of my SSD
I never knew this existed. If you are the only one using your PC it is worth while to check this out. Firefox writes so much to the drive that it cannot be good for the longevity of an SSD.
https://support.mozilla.org/en-US/kb/pr ... x-profiles
https://support.mozilla.org/en-US/kb/pr ... x-profiles
Last edited by LockBot on Wed Dec 07, 2022 4:01 am, edited 1 time in total.
Reason: Topic automatically closed 30 days after creation. New replies are no longer allowed.
Reason: Topic automatically closed 30 days after creation. New replies are no longer allowed.
"Tune for maximum Smoke and then read the Instructions".
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Firefox Creating a profile off of my SSD
Modern SSDs are almost as good as a HDD, their lifetimes are measured in millions of cycles now.
I personally am not concerned about this.
I have known for years, that FF profiles are stored somewhere besides in the Mozilla directories, even in windows that is true. You can completely deleted Firefox, all vestiges of it, and a reinstall will come up with your profile just like it was before. I just never knew how to find that folder.
I have a crontab job that runs
I personally am not concerned about this.
I have known for years, that FF profiles are stored somewhere besides in the Mozilla directories, even in windows that is true. You can completely deleted Firefox, all vestiges of it, and a reinstall will come up with your profile just like it was before. I just never knew how to find that folder.
I have a crontab job that runs
fstrim
daily, I don't think there is anything to be worried about on this.Re: Firefox Creating a profile off of my SSD
If you use cloud or whatever FF calls it then yes a delete/reinstall will come back as it was. I don't use that so if I delete the .mozilla all is gone. I also keep a backup. What that link does is show you how to create a profile that you can set to a separate partition or drive and all that is stored on the home partition is a few files. SSD's are far better than they used to be but any prolonging of life isn't a bad thing. Saying your not worried about it then why waste 10-15% creating dead space to preserve the life of a SSD? Platter drives last a long time, I still have a 420mb drive and for the life of me don't know why I still have it.
"Tune for maximum Smoke and then read the Instructions".
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: Firefox Creating a profile off of my SSD
I use Firefox Sync, so I doubt that Profile exists on my PCs.
Re: Firefox Creating a profile off of my SSD
It does, all sync does is keep the backup you have. Check your home directory .Mozilla
https://www.servethehome.com/firefox-is ... to-fix-it/
I prefer to go one step further and have it do its thing on a platter drive.
"Tune for maximum Smoke and then read the Instructions".
Re: Firefox Creating a profile off of my SSD
I just created a new profile on another drive a couple of hours ago and this is the cache directory size now.
"Tune for maximum Smoke and then read the Instructions".
- Portreve
- Level 13
- Posts: 4870
- Joined: Mon Apr 18, 2011 12:03 am
- Location: Within 20,004 km of YOU!
- Contact:
Re: Firefox Creating a profile off of my SSD
Flying this flag in support of freedom 🇺🇦
Recommended keyboard layout: English (intl., with AltGR dead keys)
Podcasts: Linux Unplugged, Destination Linux
Also check out Thor Hartmannsson's Linux Tips YouTube Channel
Recommended keyboard layout: English (intl., with AltGR dead keys)
Podcasts: Linux Unplugged, Destination Linux
Also check out Thor Hartmannsson's Linux Tips YouTube Channel
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
There are better ways of limiting the writes without kludging FF and potentially wrecking people's browsing experience. A persistent RAMdisk is one.
That's a comment about Pjotr's page, not about your suggestion to go there ;>
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Firefox Creating a profile off of my SSD
I considered limiting cache until I ran across moving the profile. I figured limiting cache would be a small sacrifice in speed of the browser and so would moving the profile from the ssd to a spinner, so it equals out kinda there but the plus of getting it off of the ssd is worth it to me.
"Tune for maximum Smoke and then read the Instructions".
Re: Firefox Creating a profile off of my SSD
It can't hurt.
"Tune for maximum Smoke and then read the Instructions".
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
Moving the profile won't affect the cache one bit.HaveaMint wrote: ⤴Fri Oct 05, 2018 3:35 am I considered limiting cache until I ran across moving the profile. I figured limiting cache would be a small sacrifice in speed of the browser and so would moving the profile from the ssd to a spinner, so it equals out kinda there but the plus of getting it off of the ssd is worth it to me.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Firefox Creating a profile off of my SSD
Correct, but now the cache is on a spinner and not the ssd.catweazel wrote: ⤴Fri Oct 05, 2018 3:39 amMoving the profile won't affect the cache one bit.HaveaMint wrote: ⤴Fri Oct 05, 2018 3:35 am I considered limiting cache until I ran across moving the profile. I figured limiting cache would be a small sacrifice in speed of the browser and so would moving the profile from the ssd to a spinner, so it equals out kinda there but the plus of getting it off of the ssd is worth it to me.
"Tune for maximum Smoke and then read the Instructions".
Re: Firefox Creating a profile off of my SSD
Honestly, I don't understand the logic of buying a pricey SSD in order to get a performance boost and then putting a lot of the stuff that would benefit from lower latency back on a spinner.
Mind, I do have disk cache disabled - RAM is still faster than SSD.
Mind, I do have disk cache disabled - RAM is still faster than SSD.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
HDDs are optimised for serial read. Reading a cache is a serial read. If people want to move the cache onto a HDD to save their SSD life then that's their prerogative.rui no onna wrote: ⤴Fri Oct 05, 2018 4:35 am Honestly, I don't understand the logic of buying a pricey SSD in order to get a performance boost and then putting a lot of the stuff that would benefit from lower latency back on a spinner.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
Not in all cases. I run dual 3.2GB/s NVMe drives in RAID 0 for 6.4GB/s throughput. When you do that, even 3GHz RAM can become a bottleneck.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Firefox Creating a profile off of my SSD
With small javascript, jpegs, etc, wouldn't something like a browser cache be predominantly small block random rather than sequential?
Shouldn't 3GHz DDR4 give you around 25.6GB/s of bandwidth theoretically?
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
rui no onna wrote: ⤴Fri Oct 05, 2018 4:55 amWith small javascript, jpegs, etc, wouldn't something like a browser cache be predominantly small block random rather than sequential?
Code: Select all
$ ls /mnt/ramdisk/cache/mozilla/firefox/5k84tgp3.default/cache2/entries/
00068CB1E68CB5EE3009C8806EE65A56FBE8CC08
000A63126345050D2C00849EFB45B17743CA7DFF
000C3DAD5A5E6E3DFA97D61B7B90223EDB7428B3
001686FC87FBCC7941C55519FF2569015FCAB204
001907B92F131CDD1C46405EE40CDC07E5F165AE
...
FFEE7AA1F2B7C98EC8688B7304A9E179A56BDDB2
FFEF019ABB7AC4BBB5C20749342BA83226E3CBFC
FFF853C4A0FE6394EA98983034915696AE1814AD
FFFB29AA663D1ECB6E4F07FD59FAE331F373C4AE
https://flashdba.com/2013/04/15/underst ... equential/
Yes. My error. I misplaced the decimal point in my noggin.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Firefox Creating a profile off of my SSD
"Random" being just as fast as sequential is just a characteristic of SSDs, no? If you put the files on HDD, you can't expect to have the same access times. Particularly not if you're running multiple programs that are simultaneously hitting the cache drive hard.catweazel wrote: ⤴Fri Oct 05, 2018 6:19 amNo. The 'random' you refer to is the location of files on disk, which are stored in the directory table. Each file is read sequentially. Secondly, the latency in an SSD for the lookup operation in the directory table then moving to the file is in the order of a handful of microseconds, depending on the SSD. Moving from the end of one file, back to the directory table then on to the start of another file is not classed as random reading.
An SSD is more likely to die from random failure than P/E cycle wear out. Heck, an HDD is more likely to die from mechanical wear than an SSD from media wear out.
Mind, I just checked one of my Windows 7 SSD (Samsung 840 500GB, planar TLC). At 1233 days of power-on hours, it's used up 55 of its 1000 rated P/E cycles. At that rate, it'll take 50+ years to use up the P/E cycles. I'm sure it'll die of other causes way before then. Only optimization is ~15GB over-provisioning (for consistent performance rather than to improve SSD life).
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Firefox Creating a profile off of my SSD
No. SSDs still have latency.rui no onna wrote: ⤴Fri Oct 05, 2018 11:56 am"Random" being just as fast as sequential is just a characteristic of SSDs, no?catweazel wrote: ⤴Fri Oct 05, 2018 6:19 amNo. The 'random' you refer to is the location of files on disk, which are stored in the directory table. Each file is read sequentially. Secondly, the latency in an SSD for the lookup operation in the directory table then moving to the file is in the order of a handful of microseconds, depending on the SSD. Moving from the end of one file, back to the directory table then on to the start of another file is not classed as random reading.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact: