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.

  • @SuperIce
    link
    English
    358 months ago

    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.

      • @[email protected]
        link
        fedilink
        4
        edit-2
        8 months ago

        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.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      8 months ago

      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.

    • Justin
      link
      fedilink
      English
      18 months ago

      Yeah, messing around with this stuff is how you break firefox. SSDs are plenty fast and durable, and that’s not even mentioning how the Linux page cache means that you’re already technically running in ram anyways. This program will just break things.

    • @[email protected]
      link
      fedilink
      408 months ago

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

      • @just_another_person
        link
        98 months ago

        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.

        • @Crashumbc
          link
          English
          28 months ago

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

          • @just_another_person
            link
            28 months ago

            No, you are also wrong and need to rewatch that documentary. Sheer will and determination will allow you to double your RAM.

            • @Wodge
              link
              18 months ago

              Also befriending a drugged up DARPA dolphin will be a massive boon too.

      • @thantik
        link
        English
        18 months ago

        Is it normal for a proctologist to have both his hands on my shoulders when checking my prostate?

    • AmbroisindeMontaigu
      link
      fedilink
      98 months ago

      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).

      • @[email protected]
        link
        fedilink
        28 months ago

        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

    • bruhduh
      link
      18 months ago

      deleted by creator

  • @[email protected]
    link
    fedilink
    English
    168 months ago

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

    • ∟⊔⊤∦∣≶OP
      link
      fedilink
      98 months ago

      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.

      • @[email protected]M
        link
        fedilink
        3
        edit-2
        8 months ago

        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)

  • @[email protected]
    link
    fedilink
    168 months ago

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