Improve Linux performance with ZRAM

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.

Source: Webupd8 & Soft-Free


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   love tarot said

    In maverik I have not been able to make it work either, you will have a solution, another command line perhaps.

  2.   Sundaypv said

    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

  3.   shini kire said

    nu works in marverik e_eU what a bummer: /

  4.   ernesto said

    This repository seems to not work anymore. Do you have any other? a greeting