Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Previously, I described how to use one computer's RAM as an SSD (OS drive) for another computer. Here, I describe how to use one computer's RAM as SWAP for another computer. Bear in mind that even a RAM disk over gigabit ethernet isn't going to be as fast as a local SSD, but it's still faster and much more responsive than a local spinning hard drive.
This technique of using another computer's RAM as SWAP is a great way to augment RAMboot, as described here:
Current good quality SSDs have built-in mechanisms to level the wear on the whole device so that their lives are maximised, but for something like Swap the inherent nature of that requirement will significantly ratchet up the number of Write cycles on any drive that hosts it, and that is still something I want to avoid on my SSD.
In reality it may not be a factor, but I'd rather spend a few dollars on more RAM to reduce
Why most people recommend to reduce swappiness to 10-20?
Because most believe that swapping = bad and that if you don't reduce swappiness, the system will swap when it really doesn't need to. Neither of those are really true. People associate swapping with times where their system is getting bogged down - however, it's mostly swapping because the system
Zswap is basically like a "fake swap partition" inside the RAM itself, but instead of just "moving" things from one place to another in the RAM, these things are compacted, instead of being written to the actual swap partition, on the HDD. Or so I understand. It then squeezes more out of the RAM than with non-compressed use, at some cost of CPU due to the compression/uncompressions, and monitoring, but sparing access to the swap partition on the HDD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.