forked from mystilleef/FedoraZram
-
Notifications
You must be signed in to change notification settings - Fork 0
linux-noob/DebianZram
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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. Automated Install ----------------- sudo make install sudo systemctl daemon-reload systemctl enable zram.service systemctl start zram.service Manual Install -------------- 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/local/sbin Place "zram.service" in the following folder. /etc/systemd/system Place "zram" in the following folder. /etc/default 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/local/sbin/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 0
No packages published
Languages
- Shell 100.0%