Method of allocating memory among a plurality of processes of a computer system
AssigneeRaxco, Inc.
InventorWilliam Davy
Life of this patent
Estimating the term…
Abstract
A method of dynamically tuning a computer system including a memory having a plurality of pages which is subjected to varying system loads based on the number of processes handled by the computer system is provided. Each process has an associated run priority. First, the current system load is determined. The current system load is then compared with the system load for which the computer system has been statically tuned. The computer system is statically tuned by the setting of tuning parameters. Finally, the tuning parameters are dynamically adjusted to tune the computer system to the current system load.
Claims18
A method of allocating memory among a plurality of processes of a computer system, wherein the computer system comprises a central processing unit and a physical memory comprising a predetermined total number of pages, said method comprising the steps of:
- allocating to each of said plurality of processes a working set comprising pages of said physical memory;
- increasing by a first number of pages or decreasing by a second number of pages the working set respectively allocated to each of said plurality of processes in accordance with a first rate at which each respective process accesses pages of said physical memory not in its working set;
- periodically making heuristic observations of system load factors at predetermined intervals;
- evaluating said system load factors to determine a current number of available pages of said physical memory;
- and
- adjusting the first and second numbers by which the working set allocated to each process is respectively increased or decreased in response to the evaluation of said system load factors.
A method of allocating memory among a plurality of processes, each process demanding memory resources of a computer system, wherein said computer system comprises a central processing unit and a physical memory comprising a predetermined total number of pages, said processes being either active or inactive, and wherein said computer system is subjected to varying system loads based on the number of processes being handled by the central processing unit, said method comprising the steps of:
- allocating to each of said plurality of processes an initial working set comprising a predetermined number of pages of said physical memory;
- heuristically monitoring system load parameters to determine said demand for memory resources by said plurality of processes;
- and
- periodically changing the number of pages allocated to one or more of said processes based on said system load parameters.
Dependencies are inferred from the claim text.