Effect of priority on swapping
Previously, processes were selected for swapping in and out
based primarily on their scheduling priority.
Now, swapping out is based on a combination of factors:
-
the length of time in memory since process creation or last swap-in
where greater time results in higher preference
-
the resident set size (rss) of the process
where the larger rss results in higher preference
-
the minimum duration for which all LWPs in the process
have been idle, stopped, or uninterruptably blocked
where greater duration results in increased preference
Swapping-in decisions are affected by these factors:
-
the maximum scheduling priority of all LWPs within a process
where higher priority results in greater preference
-
the length of time the process has been swapped-out
where a greater time results in higher preference
-
the rss of the process at the time of the last swap-out
where the larger rss results in reduced preference
-
the minimum duration for which the LWPs in the process
have been idle, stopped, or uninterruptably blocked
where greater duration results in increased preference
Next topic:
Configuring the scheduler
Previous topic:
System class
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004