this post was submitted on 01 Oct 2023
40 points (97.6% liked)

Linux

47224 readers
859 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

Hi,

Do you have suggestions for kernel tweaks for getting the most out of a RAM limited system?

I am running a service requiring 2GB of RAM (netbird) on a VPS which has just 1 GB of memory. I am doing so because I am a stingy bastard and I use only free VPSs for my personal use so I get what I am paying for.

Because of this hardware limit in about 12 hours from service start I begin swapping a bit too much. This would still be manageable but soon the hypervisor gets really pissed and steals up to 90% of the CPU. So the only solution so far is restarting the docker containers every 12 hours (not great, not terrible).

Looking to improve this, Iam now experimenting with ZRAM and swappiness and it seems some benefit can be achieved by using some of the Linux kernel feaures. Is there anything else I should look into?

you are viewing a single comment's thread
view the rest of the comments
[–] cooopsspace@infosec.pub 30 points 11 months ago* (last edited 11 months ago) (8 children)

Wow you're right. You are a stingy bastard.

Never run anything on a free tier if you want to keep it. My legit Oracle account got flagged and deleted for no reason so they're dead to me, and I'll tell anyone who will listen. They're thieving assholes and will snatch away free tier the moment it's convenient for them.

Do you really need netbird? What for?

Spend some money, consider it the cost of education

[–] dragnet@kbin.social 11 points 11 months ago* (last edited 11 months ago) (4 children)

To tag onto this... for a low end VPS I love Hetzner. No, they aren't the cheapest, but the cheaper options are generally bottom-of-the-barrel unstable garbage or require promotions that expire. Hetzner is stable, professional, and cheap. Great choice for a simple personal VPS.

[–] PlexSheep@feddit.de 5 points 11 months ago (1 children)

Netcup is cheaper (as far as I know) and really reliable too. Also based in Germany. I use one of their VPS to host my stuff.

[–] dragnet@kbin.social 3 points 11 months ago (1 children)

Nice! Love to learn new options.

[–] PlexSheep@feddit.de 1 points 11 months ago

Can really recommend them. They guarantee the lowest price for VPSs and are very reliable. My company (more than 250 people) uses them to host some stuff too.

I've only had good experiences. Very reliable.

[–] SeeJayEmm@lemmy.procrastinati.org 3 points 11 months ago

I'm going to chime in and recommend Racknerd. Inexpensive and rock solid for me.

[–] kryllic@programming.dev 1 points 11 months ago

As long as you're not running Plex lol

[–] cooopsspace@infosec.pub 0 points 11 months ago (1 children)
[–] dragnet@kbin.social 1 points 11 months ago

I've heard good things about OVH.

load more comments (3 replies)