
"Both work with Linux's existing swapping mechanism. Swapping (called paging in Windows) is a way for the kernel to handle running low on available RAM. It chooses pages of memory that aren't in use right now and copies them to disk, then those blocks can be marked as free and reused for something else."
"Thanks to the increasingly desperate flailing by the hucksters selling automatic plagiarism machines, RAM has got much more expensive and the price rises are expected to continue. Apple has even quietly dropped the 512 GB RAM model of its Mac Studio. This is not a good time to buy computers with lots of RAM, or to add more RAM to existing machines."
"This matters because it means that to use either zram or zswap, you need some form of swap. Swapping is a basic mechanism that comes along as part of the deal with any OS that has virtual memory."
Linux provides two memory compression tools—zram and zswap—to optimize RAM usage when memory is scarce or expensive. Both work with Linux's existing swap mechanism, which moves unused memory pages to disk to free up RAM for active processes. Recent patches promise to improve zram performance by 50 percent. As RAM prices increase and computer manufacturers reduce maximum RAM configurations, these compression tools become increasingly valuable for users seeking to maximize their existing hardware capabilities without purchasing additional memory.
Read at Theregister
Unable to calculate read time
Collection
[
|
...
]