One of the developers and packagers of eOS, Sergey Davidoff, came across a project called «compache» that what it does is create blocks based on our RAM so that they work like swap, But compressed and stored in RAM. In this way, it is achieved increase I / O speed and amount of memory available before the system starts using SWAP.
compcache it was later rewritten and renamed as zRam and now it is integrated into the kernel UNOFFICIALLY. |
Installation
zRAM is available to install on Ubuntu:
sudo add-apt-repository ppa: shnatsel / zram
sudo apt-get update
sudo apt-get install zramswap-enabler
You can download the .deb package for installation, it is compatible with version 2.6.37.1 or higher of the Linux kernel. Once installed, it launches with:
sudo start zramswap
Those who cannot install DEB packages can download the source code and compile it.
eye! This is a Script that works with Upstart, and we are going to need him. We must also place the file "zramswap.conf" inside / etc / init and then start it with sudo start zramswap. Some distributions like Fedora 15, Mandriva 2011, openSUSE, etc. they use systemd.
In maverik I have not been able to make it work either, you will have a solution, another command line perhaps.
the question I have is if we have to do sudo start zramswap every time we restart or just once, I use ubuntu 11.10, thanks
nu works in marverik e_eU what a bummer: /
This repository seems to not work anymore. Do you have any other? a greeting