1011
submitted 9 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 90 points 9 months ago

Unironically that's how zram works

[-] [email protected] 28 points 9 months ago

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

[-] [email protected] 4 points 9 months ago

Is that not how it works though? Lol

[-] [email protected] 21 points 9 months ago

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

[-] [email protected] 15 points 9 months ago

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 :=)

[-] [email protected] 11 points 9 months ago

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

[-] [email protected] 1 points 9 months ago

Today I learned!

this post was submitted on 02 Oct 2023
1011 points (99.2% liked)

Programmer Humor

31331 readers
14 users here now

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

Rules:

founded 4 years ago
MODERATORS