Dran
link
fedilink
601Y

Unironically that’s how zram works

Don’t do boy zram dirty, it has a ton of utility when you have ample spare compute and limited RAM.

Josh F.
link
fedilink
141Y

Doesn’t it compress the contents that it’s storing to help kind of get the best of both worlds?

You get faster storage because it’s in ram still, but with it being compressed there’s also “more” available?

I could be completely mistaken though

Ew0
link
fedilink
English
121Y

You are correct, although zram uses more cpu power since it compresses things. It’s not really an issue if you’re not using a potato :=)

even if you are using a potato it probably doesn’t have much ram so slightly slowing it to make things run smoother is a very popular choice

Josh F.
link
fedilink
11Y

Today I learned!

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 150 users / day
  • 229 users / week
  • 509 users / month
  • 2.91K users / 6 months
  • 1 subscriber
  • 1.54K Posts
  • 34.1K Comments
  • Modlog