Might be late to the party, but I just discovered you can do this. Super simple and easy to do.

After having a read of the linked page, I backed up and just used this option:

https://wiki.archlinux.org/title/Profile-sync-daemon

Installed, created config, and enabled service:

systemctl --user enable psd.service systemctl --user enable psd-resync.service

I definitely notice an increase in speed and less SSD usage should hopefully increase lifespan.

I’m sure there would be options for alternative distros, anything using Systemd should be able to use the daemon.

35 points

I used to use this when I still had a hard drive, but this does nothing for performance if you’re on an SSD and profile writes are so few with browsers that it doesn’t significantly affect drive wear. In the end, all this does is make it more likely that something will break.

permalink
report
reply
6 points

Are you implying the tabs backups are not written into the profile folder? Because think 10 - 20 GB a day is still something to be convened about. https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/

I have used Firefox in ram for a couple of months now without problems and am pretty happy with it.

permalink
report
parent
reply
4 points
*

Can someone back up my claim that 10-20GB writes per day is nothing for a modern SSD?

Edit: with a 256 TBW and a 20GB write/day it gives some 13.000 days so the lifespan of an SSD will largely be the limiting factor.

permalink
report
parent
reply
2 points
*

Wrong. Using inotify-wait (inotify-tools), you see that FF has a bunch of read and write access on every page load (mostly in <profile>/storage). This is with the about:config option to use RAM as cache enabled.

Every single webbrowser is one giant clusterfuck.

permalink
report
parent
reply
30 points

Is there a specific package I can install to increase my RAM?

permalink
report
reply
40 points

No I believe you have to download more RAM actually. But what would I know I’m just a proctologist.

permalink
report
parent
reply
9 points

No, this is wrong. I saw this documentary, ‘Johmny Neumonic’ I think, and it specifically showed a computer scientist increasing his storage and RAM through software, but you need a special device to plug in to do it. I’m sure Best Buy sells it.

permalink
report
parent
reply
2 points

Yes! They also showed the amount of RAM was just a guideline and it’s possible to “overfill” your RAM!

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
9 points

Have a look at https://wiki.archlinux.org/title/Zram - a compressed block device in RAM that can be formatted as swap. There are various tools to set it up, maybe your distro already includes one of them. And htop has a meter for it, so you can see how effective the compression is (besides its own zramctl tool).

permalink
report
parent
reply
2 points

Nah i think the right way to do it is go to some site (you can Google some) and download some RAM. They even make the link flash so its easy to find. If you need more RAM just download some more

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
17 points

Finally, a way to use the loads of RAM I have other than Compiling and Blendering.
Well, I guess we also have RAM drives

permalink
report
reply
10 points

Just reconfigured /etc/makepkg.conf to use extra cores and tmpfs… I’ve been compiling on the SSD with one core for so long it’s embarrassing.

permalink
report
parent
reply
3 points
*

While you’re still in your makepkg.conf, don’t forget to set march=native (and remove mtune) in your CFLAGS! (unless you’re sharing your compiled packages with other systems)

permalink
report
parent
reply
2 points

Where’s the difference between march=native and march=x86-64 in that case?

permalink
report
parent
reply
1 point

Mount .cache as tmpfs. Rarely needs a workaround for some offenders to XDG spec though.

permalink
report
parent
reply
16 points

Btw the private browsing mode is also RAM-only which is a hard requirement for the Tor browser (“no disk policy”)

permalink
report
reply
5 points

thanks for reminding me. Didn’t activate this on my new install since I got 64G of RAM :)

systemctl --user enable psd-resync.service

I think this is not needed since psd.service has the following in it:

[Unit]
…
Wants=psd-resync.service
permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.9K

    Monthly active users

  • 5.6K

    Posts

  • 154K

    Comments