Here is the thing, I have 4 RPi’s of different generations (all the way from Zero W to 4B 4GB) that I use to host services at home for personal use.

Lately, I have realized I am running out of RAM to host more services, not to mention not enough switch ports to connect to.

Now I know the obvious solution is to get a more powerful setup (maybe a thin client) but electricity isn’t cheap and I am not particularly in the best shape financially speaking to shell out $300+ on a decent client to host my services.

Any suggestions?

You are viewing a single thread.
View all comments
3 points

If you don’t already use it, zram swap is great for providing a little bit extra oomph. If your server doesn’t have a lot of compressed data in memory, it can literally more than double your effective ram.

permalink
report
reply
1 point

Doesn’t swap reduce the lifespan of storage though?

permalink
report
parent
reply
4 points

Zram swap is basically this: Turn all of your free ram into a swapdisk. Compress all access to that swapdisk.

So, it’s not using you storage, buy your memory. Most stuff in memory is usually highly uncompressed - so it compresses really well.

Instead of getting the additional space from disk, it’s getting it from compression.

permalink
report
parent
reply
1 point

Can you please explain to me the difference? How does a swapdisk compare to RAM? I don’t mind googling it but I highly doubt I’ll get a straightforward ELI5 style answer from there.

I would really appreciate it if you can elaborate, if you have the time that is.

Thank you.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.5K

    Posts

  • 79K

    Comments