]> git.saurik.com Git - apple/system_cmds.git/blame - dynamic_pager.tproj/dynamic_pager.8
system_cmds-279.6.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
8.Nd dynamic pager external storage manager
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
19daemon manages a pool of external swap files which the kernel uses to
20support demand paging. This pool is expanded with new swap files as load on
21the system increases, and contracted when the swapping resources are no
22longer needed. The
23.Nm dynamic_pager
24daemon also provides a notification service for those applications which
25wish to receive notices when the external paging pool expands or contracts.
26.Sh OPTIONS
27.Bl -tag -width Ds
28.It Fl F
29The base name of the
30.Ar filename
31to use for the external paging files. By default this is
32.Pa /private/var/vm/swapfile .
33.It Fl S
34The fixed
35.Ar filesize
36[in bytes] to use for the paging files. By default
37.Nm dynamic_pager
38uses variable sized paging files, using larger sized files as paging demands
39increase. The
40.Fl S ,
41.Fl H
42and
43.Fl L
44options disable that default and cause
45.Nm dynamic_pager
46to use a series of fixed sized external paging files.
47.It Fl H
48If there are less than
49.Ar high-water-trigger
50bytes free in the external paging files, the kernel will signal
51.Nm dynamic_pager
52to add a new external paging file.
53.It Fl L
54If there are more than
55.Ar low-water-trigger
56bytes free in the external paging files, the kernel will coalese in-use pages
57and signal
58.Nm dynamic_pager
59to discard an external paging file.
60.Ar Low-water-trigger
61must be greater than
62.Ar high-water-trigger
63+
64.Ar filesize .
65.It Fl P
66This option is currently unimplemented.
67.Sh FILES
68.Bl -tag -width /private/var/vp/swapfile* --compact
69.It Pa /private/var/vm/swapfile*
70Default external paging files.
71.Sh SEE ALSO
72.Xr macx_swapon 2 ,
73.Xr macx_swapoff 2 .