hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoIt's fine until you run out of disk spacelemmy.worldimagemessage-square147fedilinkarrow-up11.03Karrow-down19
arrow-up11.02Karrow-down1imageIt's fine until you run out of disk spacelemmy.worldhypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square147fedilink
minus-squareChaoticNeutralCzech@feddit.delinkfedilinkarrow-up208·1 year agoProtip: Put swapfile on ramdisk for highest speed
minus-squareDran@lemmy.worldlinkfedilinkarrow-up91arrow-down1·1 year agoUnironically that’s how zram works
minus-squareseaQueue@lemmy.worldlinkfedilinkarrow-up29·1 year agoDon’t do boy zram dirty, it has a ton of utility when you have ample spare compute and limited RAM.
minus-squarejtfletchbot@lemmy.ko4abp.comlinkfedilinkarrow-up21·1 year agoDoesn’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
minus-squareEw0@lemmy.sdf.orglinkfedilinkEnglisharrow-up16arrow-down1·1 year agoYou 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 :=)
minus-squareStill@programming.devlinkfedilinkarrow-up11·1 year agoeven 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
Protip: Put swapfile on ramdisk for highest speed
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.
Is that not how it works though? Lol
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
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
Today I learned!