Changeset View
Changeset View
Standalone View
Standalone View
sbin/swapon/swapon.8
Show First 20 Lines • Show All 197 Lines • ▼ Show 20 Lines | |||||
Print a summary line for system swap. | Print a summary line for system swap. | ||||
.Pp | .Pp | ||||
The | The | ||||
.Ev BLOCKSIZE | .Ev BLOCKSIZE | ||||
environment variable is used if not specifically | environment variable is used if not specifically | ||||
overridden. | overridden. | ||||
512 byte blocks are used by default. | 512 byte blocks are used by default. | ||||
.El | .El | ||||
.Sh NOTE | |||||
ZVOL and ZFS swap files are discouraged for swap space. | |||||
ZFS requires large amount of memory to write to swap device or file | |||||
kib: It does not matter how much memory is required for write. What matter is that each write… | |||||
when the system is at low memory under pressure trying to make some | |||||
memory available. | |||||
OOM killer may start killing as ZFS doesn't write to swap space fast | |||||
bcrUnsubmitted Not Done Inline Actionskilling what? I would insert "(random?) processes" here. bcr: killing what? I would insert "(random?) processes" here.
Contractions are discouraged in man… | |||||
enough or to allocate memory for ZFS to write to swap | |||||
Not Done Inline Actionss/OOM/The OOM/ pauamma_gundo.com: s/OOM/The OOM/ | |||||
although large swap space is available. | |||||
Not Done Inline ActionsMissing word here? "or fails to allocate" maybe? pauamma_gundo.com: Missing word here? "or fails to allocate" maybe? | |||||
.El | |||||
.Sh FILES | .Sh FILES | ||||
.Bl -tag -width ".Pa /dev/{ada,da}?s?b" -compact | .Bl -tag -width ".Pa /dev/{ada,da}?s?b" -compact | ||||
.It Pa /dev/{ada,da}?s?b | .It Pa /dev/{ada,da}?s?b | ||||
standard paging devices | standard paging devices | ||||
.It Pa /dev/md? | .It Pa /dev/md? | ||||
memory disk devices | memory disk devices | ||||
.It Pa /etc/fstab | .It Pa /etc/fstab | ||||
.Tn ASCII | .Tn ASCII | ||||
Show All 23 Lines |
It does not matter how much memory is required for write. What matter is that each write requires allocation of memory.