]> git.saurik.com Git - apple/system_cmds.git/blame - dynamic_pager.tproj/dynamic_pager.8
system_cmds-597.90.1.tar.gz
[apple/system_cmds.git] / dynamic_pager.tproj / dynamic_pager.8
CommitLineData
c3a08f59
A
1.\" Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
2.\"
3.Dd July 8, 2003
4.Dt dynamic_pager 8
5.Os "Mac OS X"
6.Sh NAME
7.Nm dynamic_pager
34d340d7 8.Nd external storage manager for dynamic pager
c3a08f59
A
9.Sh SYNOPSIS
10.Nm dynamic_pager
11.Op Fl F Ar filename
12.Op Fl S Ar filesize
13.Op Fl H Ar high-water-trigger
14.Op Fl L Ar low-water-trigger
15.Op Fl P Ar priority
16.Sh DESCRIPTION
17The
18.Nm dynamic_pager
34d340d7
A
19daemon manages a pool of external swap files
20which the kernel uses to support demand paging.
21This pool is expanded with new swap files
22as load on the system increases.
23It is contracted when the swapping resources are no longer needed. The
c3a08f59 24.Nm dynamic_pager
34d340d7
A
25daemon also provides a notification service
26for those applications which wish to receive notices
27when the external paging pool expands or contracts.
c3a08f59
A
28.Sh OPTIONS
29.Bl -tag -width Ds
34d340d7 30.\" ==========
c3a08f59
A
31.It Fl F
32The base name of the
33.Ar filename
34to use for the external paging files. By default this is
35.Pa /private/var/vm/swapfile .
34d340d7 36.\" ==========
c3a08f59
A
37.It Fl H
38If there are less than
39.Ar high-water-trigger
40bytes free in the external paging files, the kernel will signal
41.Nm dynamic_pager
42to add a new external paging file.
34d340d7 43.\" ==========
c3a08f59
A
44.It Fl L
45If there are more than
46.Ar low-water-trigger
47bytes free in the external paging files, the kernel will coalese in-use pages
48and signal
49.Nm dynamic_pager
50to discard an external paging file.
51.Ar Low-water-trigger
52must be greater than
53.Ar high-water-trigger
54+
55.Ar filesize .
34d340d7 56.\" ==========
c3a08f59
A
57.It Fl P
58This option is currently unimplemented.
34d340d7
A
59.\" ==========
60.It Fl S
61The fixed
62.Ar filesize
63[in bytes] to use for the paging files. By default
64.Nm dynamic_pager
65uses variable sized paging files, using larger sized files as paging demands
66increase. The
67.Fl S ,
68.Fl H
69and
70.Fl L
71options disable that default and cause
72.Nm dynamic_pager
73to use a series of fixed sized external paging files.
83f6dbe8 74.El
c3a08f59 75.Sh FILES
ef8ad44b 76.Bl -tag -width /Library/Preferences/com.apple.virtualMemory.plist -compact
c3a08f59
A
77.It Pa /private/var/vm/swapfile*
78Default external paging files.
ef8ad44b
A
79.It Pa /Library/Preferences/com.apple.virtualMemory.plist
80Configuration file.
81.El
82.Sh XML PROPERTY LIST KEYS
83The following keys can be specified in the configuration file. Please see
84.Xr plist 5
85for more information about property list files.
86.Pp
87.Bl -ohang
88.It Sy UseEncryptedSwap <boolean>
89This optional key activates encrypted swap (aka Secure VM), so that all data is encrypted before being written to a swap file. The default is on for portable computers and off for other computers.
83f6dbe8 90.El