- Setup - The basics of getting started with zram
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Contributing - Guide for contributing to the module
zram (also called zRAM and, initially, compcache) is a Linux kernel feature that provides a form of virtual memory compression. zram increases performance by avoiding paging to disk and using a compressed block device in RAM instead, inside which paging takes place until it is necessary to use the swap space on a hard disk drive. Since using RAM is an alternative way to provide swapping on RAM, zram allows Linux to make more use of RAM when swapping/paging is required, especially on older computers with less RAM installed
- An init script is installed that will start zram
- A companion script is copied in /opt/zram/zram_stats.sh that shows statistics about ram/swap usage.
Install a zram enabled kernel:
- uek kernels from Oracle Linux
- any kernel from an el7 distribution
The module requires a kernel with zram module.
It was only tested with OracleLinux 6 and OracleLinux 7 distributions.
- Fork the project
- Commit and push until you are happy with your contribution
- Send a pull request with a description of your changes
- puppetlabs/stdlib (4.x)
Copyright (C) 2014 R. Tyler Croy <email@example.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.