X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387..HEAD:/dynamic_pager.tproj/dynamic_pager.8 diff --git a/dynamic_pager.tproj/dynamic_pager.8 b/dynamic_pager.tproj/dynamic_pager.8 index aa235dc..7d5bfc2 100644 --- a/dynamic_pager.tproj/dynamic_pager.8 +++ b/dynamic_pager.tproj/dynamic_pager.8 @@ -5,86 +5,28 @@ .Os "Mac OS X" .Sh NAME .Nm dynamic_pager -.Nd external storage manager for dynamic pager +.Nd swap configuration daemon .Sh SYNOPSIS .Nm dynamic_pager .Op Fl F Ar filename -.Op Fl S Ar filesize -.Op Fl H Ar high-water-trigger -.Op Fl L Ar low-water-trigger -.Op Fl P Ar priority .Sh DESCRIPTION The .Nm dynamic_pager -daemon manages a pool of external swap files -which the kernel uses to support demand paging. -This pool is expanded with new swap files -as load on the system increases. -It is contracted when the swapping resources are no longer needed. The -.Nm dynamic_pager -daemon also provides a notification service -for those applications which wish to receive notices -when the external paging pool expands or contracts. +daemon can be used to specify a base name for swapfile names using the "-F" command line option or by modifying the configuration plist file. .Sh OPTIONS .Bl -tag -width Ds .\" ========== .It Fl F The base name of the .Ar filename -to use for the external paging files. By default this is +to use for the swapfiles. By default this is .Pa /private/var/vm/swapfile . .\" ========== -.It Fl H -If there are less than -.Ar high-water-trigger -bytes free in the external paging files, the kernel will signal -.Nm dynamic_pager -to add a new external paging file. -.\" ========== -.It Fl L -If there are more than -.Ar low-water-trigger -bytes free in the external paging files, the kernel will coalese in-use pages -and signal -.Nm dynamic_pager -to discard an external paging file. -.Ar Low-water-trigger -must be greater than -.Ar high-water-trigger -+ -.Ar filesize . -.\" ========== -.It Fl P -This option is currently unimplemented. -.\" ========== -.It Fl S -The fixed -.Ar filesize -[in bytes] to use for the paging files. By default -.Nm dynamic_pager -uses variable sized paging files, using larger sized files as paging demands -increase. The -.Fl S , -.Fl H -and -.Fl L -options disable that default and cause -.Nm dynamic_pager -to use a series of fixed sized external paging files. -.El .Sh FILES -.Bl -tag -width /Library/Preferences/com.apple.virtualMemory.plist -compact +.Bl -tag -width /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist -compact .It Pa /private/var/vm/swapfile* -Default external paging files. -.It Pa /Library/Preferences/com.apple.virtualMemory.plist +Swapfiles. + +.It Pa /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist Configuration file. .El -.Sh XML PROPERTY LIST KEYS -The following keys can be specified in the configuration file. Please see -.Xr plist 5 -for more information about property list files. -.Pp -.Bl -ohang -.It Sy UseEncryptedSwap -This 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. -.El