File: zramswap.8

package info (click to toggle)
zram-tools 0.3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 76 kB
  • sloc: sh: 60; makefile: 2
file content (55 lines) | stat: -rw-r--r-- 1,570 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.TH "zramswap" 1 "2018-10-04" "zramswap"
.SH NAME
zramswap \- configure swap on zram
.SH SYNOPSIS
.B zramswap
[OPTION]
.SH DESCRIPTION
zram is a Linux feature that allows a user to create compressed ramdisks.

zramswap sets up swap in zram, which effectively allows you to compress
memory.

Common use cases:

On machines with low memory, mitigates the tedious situation where the
machine is out of memory and then it starts swapping to disk only to lose
a large amount of disk bandwidth.

On machines where the main swap file is on flash memory, zramswap may only
provide marginal performance increase (especially on fast SSD media),
however, it will prevent some amount of wear on your flash memory. zramswap
is especially beneficial if your main flash is on SD/MMC/CF card.

On servers that run many virtual machines or containers, zramswap allows you to
optimise memory usage by swapping out data that's not often accessed, but when
a user needs to access it, it will be available fast. It allows you to
overcommit on memory with a negligible hit on your application performance
(and often an improvement in performance where you can use more main memory
for filesystem cache).

.SH OPTIONS
Usage: zramswap [OPTION]

.B ZRAMSWAP Options

\fB\ start\fR
.RS
Sets up zram swap.
.RE

\fB\ stop\fR
.RS
Tears down zram swap.
.RE

\fB\ status\fR
.RS
Displays zram swap usage and compression ratio.
.RE

.SH REPORTING BUGS
Please file issues at: https://salsa.debian.org/jcc/zram-tools/issues

.SH AUTHORS
This manual page was written by Jonathan Carter <jcarter@linux.com>