Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Compressing data has a cost, right? Modern systems have a ridiculous amount of memory, if you are bumping into that limitation, it seems like something odd is happening.

If your web browser is using all your ram, it is probably misconfigured, maybe the ad-blocker has accidentally been turned off or something?



I run a Linux system with 2GB of RAM... and Intel integrated graphics, it's storage is not exceptionally fast flash. The more pages I can keep compressed in RAM, the less the CPU has to spend waiting on the storage, especially if we're talking about the swap partition. After letting that computer run a long time I can tell whats been swapped to disk versus just compressed to zswap.


> Modern systems have a ridiculous amount of memory

well it depends on your definition of modern, i suppose. i run Linux on a smartphone, which is about the most modern use of Linux i can think of, and hitting that 3-4 GB RAM limit is all too easy with anything touching the web, adblocker or not.

zram isn't exactly a trump card in that kind of environment, but it certainly makes the experience of saturating the RAM a lot nicer ("hm, this application's about half as responsive as it usually is. checks ram. oh, better close some apps/tabs i don't need." -- versus the default of the system locking for a full minute until the OOMkiller finishes reaping everything under the sun).


How strange, I guess we must use different websites or something.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: