Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

OSSystems/zram-support

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zram for Fedora
===============

zram compresses swap partitions into RAM for performance.

You need Linux kernel version 2.6.37.1 or better to use 
zram.

There are 3 files you need to enable zram for Fedora. They
are:

	- zramstart
	- zramstop
	- zram.service

All these files can be found in the project folder.

Place "zramstart" and "zramstop" in the following folder.

	/usr/bin

Place "zram.service" in the following folder.

	/etc/systemd/system

As root, run the following command to enable zram for
Fedora.

	systemctl daemon-reload
	systemctl enable zram.service
	systemctl start zram.service

Run the following command to make sure the service started
properly.

	systemctl status zram.service

The output should look like this.

zram.service - Enable compressed swap in memory using zram
		Loaded: loaded (/etc/systemd/system/zram.service; enabled)
		Active: active (exited) since Sun, 02 Oct 2011 22:46:31 -0400; 44min ago
		Process: 942 ExecStart=/usr/bin/zramstart (code=exited, status=0/SUCCESS)
		CGroup: name=systemd:/system/zram.service

That's it!

Credits:

The zramstart and zramstop scripts were written by Sergey
Davidoff of Elementary OS.

References:

http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html
http://code.google.com/p/compcache
http://weirdfellow.wordpress.com/2011/05/04/compressed-ram-with-zram/

About

Scripts that enable zram for Fedora

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%