Information processing device and memory controller
First Claim
1. An information processing device comprising:
- a main memory that includes a non-volatile memory and a volatile memory that has access speed higher than the non-volatile memory, the volatile memory storing at least a part of data in a data area of the non-volatile memory;
a processor that issues a read request, a write request and a snapshot request to data in the main memory; and
a memory controller that processes the request from the processor, the memory controller;
reads, in response to the read request, data corresponding to the read request in the volatile memory,writes, in response to the write request, write data to an area corresponding to the write request in the volatile memory and also writes a write history in a sequential manner to one of a plurality of entries of a log memory area in the non-volatile memory,performs, in response to the snapshot request, snapshot processing of recording a mark bit having a first value in the entry in which the write history is written immediately before a time of the snapshot request,performs, after the snapshot processing, data restoration processing of writing write data of the write history written in an entry or entries, up to the entry in which the mark bit having the first value is recorded, among the plurality of entries of the log memory area to a data area of the non-volatile memory, and changes the mark bit having the first value to a second value when the data restoration processing is completed, andwhen an operation is resumed after the snapshot processing,performs the data restoration processing if the mark bit having the first value is recorded in an entry of the log memory area, and changes the mark bit having the first value to the second value when the data restoration processing is completed, anddoes not perform the data restoration processing if the mark bit having the first value is not recorded in an entry of the log memory area.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing device includes a main memory including a non-volatile memory and a volatile memory with access speed higher than the non-volatile memory, the volatile memory storing data in the non-volatile memory, a processor that issues a read request, a write request and a snapshot request and a memory controller that reads, in response to the read request, data in the volatile memory, writes, in response to the write request, write data in the volatile memory and also writes a write history in a sequential manner to the non-volatile memory, performs, in response to the snapshot request, snapshot processing of recording in non-volatile memory a write position of the write history up to a time of a snapshot, and performs, after the snapshot processing, data restoration processing of writing the written data at the write position in the write history to the non-volatile memory.
40 Citations
11 Claims
-
1. An information processing device comprising:
-
a main memory that includes a non-volatile memory and a volatile memory that has access speed higher than the non-volatile memory, the volatile memory storing at least a part of data in a data area of the non-volatile memory; a processor that issues a read request, a write request and a snapshot request to data in the main memory; and a memory controller that processes the request from the processor, the memory controller; reads, in response to the read request, data corresponding to the read request in the volatile memory, writes, in response to the write request, write data to an area corresponding to the write request in the volatile memory and also writes a write history in a sequential manner to one of a plurality of entries of a log memory area in the non-volatile memory, performs, in response to the snapshot request, snapshot processing of recording a mark bit having a first value in the entry in which the write history is written immediately before a time of the snapshot request, performs, after the snapshot processing, data restoration processing of writing write data of the write history written in an entry or entries, up to the entry in which the mark bit having the first value is recorded, among the plurality of entries of the log memory area to a data area of the non-volatile memory, and changes the mark bit having the first value to a second value when the data restoration processing is completed, and when an operation is resumed after the snapshot processing, performs the data restoration processing if the mark bit having the first value is recorded in an entry of the log memory area, and changes the mark bit having the first value to the second value when the data restoration processing is completed, and does not perform the data restoration processing if the mark bit having the first value is not recorded in an entry of the log memory area. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A memory controller that processes a request from a processor included in an information processing device, the memory controller executes processes comprising:
-
the information processing includes a main memory that includes a non-volatile memory and a volatile memory that has access speed higher than the non-volatile memory, the volatile memory storing at least a part of data in a data area of the non-volatile memory, and the processor issues a read request, a write request and a snapshot request to data in the main memory, reading, in response to the read request, data corresponding to the read request in the volatile memory, writing, in response to the write request, write data to an area corresponding to the write request in the volatile memory and also writes a write history in a sequential manner to one of a plurality of entries of a log memory area in the non-volatile memory, performing, in response to the snapshot request, snapshot processing of recording a mark bit having a first value in the entry in which the write history is written immediately before a time of the snapshot request, performing, after the snapshot processing, data restoration processing of writing write data of the write history written in an entry or entries, up to the entry in which the mark bit having the first value is recorded, among the plurality of entries of the log memory area to a data area of the non-volatile memory, and changing the mark bit having the first value to a second value when the data restoration processing is completed, and when an operation is resumed after the snapshot processing, performing the data restoration processing if the mark bit having the first value is recorded in an entry of the log memory area, and changing the mark bit having the first value to the second value when the data restoration processing is completed, and not performing the data restoration processing if the mark bit having the first value is not recorded in an entry of the log memory area.
-
Specification