MEMORY MANAGEMENT METHOD
First Claim
1. A method for managing main memory including DRAM and NVRAM in a computer depending on a transition of an operation state of the computer, the method comprising:
- a step (a) of, upon start of the computer, loading at least one of a program and data into the DRAM, and loading at least one of a predetermined program and read-only data into the NVRAM;
a step (b) of, in a state transition from a normal operation to a suspend state of the computer, moving data in the DRAM to the NVRAM on a page basis;
a step (c) of, in a state transition from the suspend state to the normal operation of the computer, reading data from the NVRAM on a page basis for program execution by the computer;
a step (d) of, in the case where a data write to the NVRAM on a page basis occurs in the step (c) of reading data from the NVRAM on a page basis, stopping the data write, and moving data in a data area of the NVRAM subjected to the data write, to the DRAM on a page basis; and
a step (e) of performing the data write on a page basis to the DRAM to which the data has been moved.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing main memory including DRAM and NVRAM in a computer depending on the operation state of the computer is provided. The method includes: (a) upon start of the computer, loading a program and the like into the DRAM, and loading predetermined read-only data and the like into the NVRAM; (b) in a state transition from a normal operation to a suspend state, moving data in the DRAM to the NVRAM; (c) in a state transition from the suspend state to the normal operation, reading data from the NVRAM for program execution; (d) in the case where a data write to the NVRAM occurs, stopping the data write, and moving data in a data area of the NVRAM subjected to the data write, to the DRAM; and (e) performing the data write to the DRAM to which the data has been moved.
-
Citations
20 Claims
-
1. A method for managing main memory including DRAM and NVRAM in a computer depending on a transition of an operation state of the computer, the method comprising:
-
a step (a) of, upon start of the computer, loading at least one of a program and data into the DRAM, and loading at least one of a predetermined program and read-only data into the NVRAM; a step (b) of, in a state transition from a normal operation to a suspend state of the computer, moving data in the DRAM to the NVRAM on a page basis; a step (c) of, in a state transition from the suspend state to the normal operation of the computer, reading data from the NVRAM on a page basis for program execution by the computer; a step (d) of, in the case where a data write to the NVRAM on a page basis occurs in the step (c) of reading data from the NVRAM on a page basis, stopping the data write, and moving data in a data area of the NVRAM subjected to the data write, to the DRAM on a page basis; and a step (e) of performing the data write on a page basis to the DRAM to which the data has been moved. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for managing main memory including DRAM and NVRAM in a computer depending on a transition of an operation state of the computer, the computer program product comprising at least one computer readable non-transitory storage medium having computer readable program instructions thereon for execution by a processor, the computer readable program instructions comprising program instructions for:
-
upon start of the computer, loading at least one of a program and data into the DRAM, and loading at least one of a predetermined program and read-only data into the NVRAM; in a state transition from a normal operation to a suspend state of the computer, moving data in the DRAM to the NVRAM on a page basis; in a state transition from the suspend state to the normal operation of the computer, reading data from the NVRAM on a page basis for program execution by the computer; in the case where a data write to the NVRAM on a page basis occurs in the reading data from the NVRAM on a page basis, stopping the data write, and moving data in a data area of the NVRAM subjected to the data write, to the DRAM on a page basis; and performing the data write on a page basis to the DRAM to which the data has been moved. - View Dependent Claims (10, 11, 12)
-
-
13. A computer system for managing main memory including DRAM and NVRAM in a computer depending on a transition of an operation state of the computer, the computer system comprising:
-
at least one processor; at least one computer readable memory; at least one computer readable tangible, non-transitory storage medium; and program instructions stored on the at least one computer readable tangible, non-transitory storage medium for execution by the at least one processor via the at least one computer readable memory, wherein the at least one computer readable memory includes the main memory including DRAM and NVRAM, and wherein the program instructions comprise program instructions for; upon start of the computer, loading at least one of a program and data into the DRAM, and loading at least one of a predetermined program and read-only data into the NVRAM; in a state transition from a normal operation to a suspend state of the computer, moving data in the DRAM to the NVRAM on a page basis; in a state transition from the suspend state to the normal operation of the computer, reading data from the NVRAM on a page basis for program execution by the computer; in the case where a data write to the NVRAM on a page basis occurs in the reading data from the NVRAM on a page basis, stopping the data write, and moving data in a data area of the NVRAM subjected to the data write, to the DRAM on a page basis; and performing the data write on a page basis to the DRAM to which the data has been moved. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification