1020
you are viewing a single comment's thread
view the rest of the comments
[-] ChaoticNeutralCzech@feddit.de 208 points 1 year ago

Protip: Put swapfile on ramdisk for highest speed

[-] Dran_Arcana@lemmy.world 90 points 1 year ago

Unironically that's how zram works

[-] seaQueue@lemmy.world 29 points 1 year ago

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

[-] Dran_Arcana@lemmy.world 4 points 1 year ago

Is that not how it works though? Lol

[-] jtfletchbot@lemmy.ko4abp.com 21 points 1 year 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

[-] Ew0@lemmy.sdf.org 15 points 1 year 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 :=)

[-] Still@programming.dev 11 points 1 year 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

[-] jtfletchbot@lemmy.ko4abp.com 1 points 1 year ago

Today I learned!

this post was submitted on 02 Oct 2023
1020 points (99.1% liked)

Programmer Humor

32576 readers
913 users here now

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

Rules:

founded 5 years ago
MODERATORS