For those who find it interesting, enjoy!

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

I know that the RAM cache is just taking advantage of otherwise free RAM and will be dropped in favor of anything else, but it does stress me out a bit to see it “full” like that.

permalink
report
reply
33 points

It would stress me even more to see a lot of RAM doing nothing, that would be a shame! ;-)

permalink
report
parent
reply

Difference between Windows and Linux. Windows would only use what it needs. Linux pre-empts more and fills the RAM for what coul dbe needed.

It used to stress the shit out of me when I switched to Linux as I’d gotten used to opening task manager and seeing 90% free RAM. On Linux I’d be seeing 10% free and panicking thinking it was a resource hog.

The Linux-way is the best way.

I use Arch btw ;)

permalink
report
parent
reply
9 points

Both OSes do pre-caching and for both the standard tools to check usage nowadays ignore pre-cached elements when counting RAM usage.

permalink
report
parent
reply
4 points

But Windows also does pre caching?

permalink
report
parent
reply
14 points

That’s how it supposed to work, free RAM does nothing :)

permalink
report
parent
reply
6 points

It’s free real estate!

If you had this much buffer memory what are the reasons to have swap space as well?

With my servers I’m paranoid having swap enabled will inadvertently slow stuff down. Perhaps there’s a reason to have it that I’m unaware of?

permalink
report
parent
reply
7 points

If you had this much buffer memory what are the reasons to have swap space as well?

Many programs do stuff once during startup that they never do again, sometimes creating redundant data objects that will never get accessed in the configuration its being run in. Eventually the kernel memory manager figures out that some pages are never used but it can’t just delete them. If swap is enabled it can swap them to disk instead. It frees up that RAM for something more important. It’s usually minor but every few MB helps.

permalink
report
parent
reply
5 points

I personally like having some swap as during low memory situations (which lemmy gets at least once a day on my small instance) everything slows down rather than getting culled by the oom killer. It’s not a replacement for monitoring, but it does extend the timeframe to react to things.

permalink
report
parent
reply
3 points

Memcache usually takes all the assigned memory regardless of usage so seeing high usage isn’t always unusual. That’s assuming the lemmy servers are using some kind of session caching solution.

permalink
report
parent
reply

Lemmy.World Announcements

!lemmyworld@lemmy.world

Create post

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Join the team

Community stats

  • 487

    Monthly active users

  • 806

    Posts

  • 37K

    Comments