KR20170089194A - Memeory disk operating method and apparatus using nvdimm - Google Patents
Memeory disk operating method and apparatus using nvdimm Download PDFInfo
- Publication number
- KR20170089194A KR20170089194A KR1020160009291A KR20160009291A KR20170089194A KR 20170089194 A KR20170089194 A KR 20170089194A KR 1020160009291 A KR1020160009291 A KR 1020160009291A KR 20160009291 A KR20160009291 A KR 20160009291A KR 20170089194 A KR20170089194 A KR 20170089194A
- Authority
- KR
- South Korea
- Prior art keywords
- nvdimm
- data
- memory
- memory disk
- disk
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2017—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where memory access, memory control or I/O control functionality is redundant
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
- G06F12/0868—Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/068—Hybrid storage device
Abstract
Description
The present invention relates to a method and apparatus for driving a memory disk using a nonvolatile dual in-line memory module (NVDIMM).
The storage medium of a general computer system is composed of a RAM used as a process memory and a hard disk (HDD) or a semiconductor disk (SSD) storing data. The memory of the processor is volatile, Is used to temporarily store the operating system, device driver, application program, etc., or to temporarily store the data currently being worked on. When it is necessary to store the data, And is stored using a semiconductor memory (SSD).
In the case of a hard disk (HDD), there is a merit that it can be used in a large capacity, but the writing / reading speed of the data is slow and the vibration is weak.
On the other hand, semiconductor memory (SSD) has been evaluated as having lower performance than expected due to higher price and slower data access speed than continuous hard disk for reading and writing.
In order to compensate for these drawbacks, a part of dynamic memory (RAM) is allocated as a ramdisk to improve the speed of the disk.
However, using ramdisk makes it possible to process data faster by taking full advantage of the memory bandwidth of the processor. However, since the part of system memory is allocated dynamically, the capacity is limited. If the system suddenly fails, The work contents are lost and recovery is difficult.
In order to solve this problem, the volatile memory disk using the DRAM is constructed as a storage medium to improve the speed of the system. However, it is also difficult to recover the data if the power is turned off or the system fails.
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a nonvolatile memory which is a combination of a storage device having a fast data processing speed and a long lifetime, which is an advantage of a DRAM, By combining the advantages of a dual in-line memory module (NVDIMM), the system is able to back up data at high speed during idle or off-hours during normal computer operation, so you can work without slowing down.
Another object of the present invention is to prevent data loss when a computer configured as a memory disk is powered off or a system failure occurs.
According to an aspect of the present invention, there is provided a method and apparatus for driving a memory disk using a nonvolatile dual inline memory module (NVDIMM)
(NVDIMM) and NVDIMM that temporarily back up the data on the RAM disk (DDR / DDR1 / DDR2 / DDR3 / DDR4) used for main memory and work HDD or SSD for permanent storage.
According to this aspect of the present invention, a RAM disk (DDR / DDR1 / DDR2 / DDR3 / DDR4) is used as a main memory and a memory disk used for work, and a memory for temporarily backing up data , It is possible to solve the problem of speed reduction when data is stored in the HDD or SSD.
In addition, if the computer is turned off or the system fails, you can prevent data loss during the operation.
1 is a block diagram of a method and apparatus for driving a memory disk using an NVDIMM in an embodiment of the present invention.
2 is a flowchart illustrating an operation of a method and apparatus for driving a memory disk using an NVDIMM according to an embodiment of the present invention.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.
It is to be understood that when an element is referred to as being "connected" to another element, it may be directly connected to the other element, but it is to be understood that there may be other elements in between. On the other hand, when an element is referred to as being "directly connected" to another element, it should be understood that there are no other elements in between.
A method and apparatus for driving a memory disk using the NVDIMM of the present invention will now be described with reference to the accompanying drawings.
First, referring to FIG. 1, an apparatus for configuring a memory disk using an NVDIMM according to an embodiment of the present invention will be described in detail.
The memory disk device using the NVDIMM of the present invention includes a
Hereinafter, an operation of the method and apparatus for driving a memory disk using the NVDIMM according to an embodiment of the present invention will be described.
In this case, it is determined whether the contents of the operation of the
Then, at the time of the system's rest, the HDD /
If the memory disk is managed in this way, even if there is a problem that the system fails or the power is turned off during the operation, the data which is being worked on is stored in the NVDIMM 30, so that the data can be saved.
On the other hand, when a failure occurs or power is turned off, a failure is recovered or the system is powered on again, the backup mode is activated and data stored in the NVDIMM 30 is transferred to the memory disk 300), so that it can be restored to the point of time when the failure or the power is turned off, and work can be performed without loss of data.
Hereinafter, a method of driving a memory disk using an NVDIMM according to an embodiment of the present invention will be described in detail with reference to FIG.
The method of driving a memory disk using the NVDIMM of the present invention includes a
A method of driving (operating) a memory disk using the NVDIMM of the present invention will now be described.
It is determined whether the power of the computer is on or not (step 100). If it is not turned on, the power is turned on (step 200) (400).
When the backup is started, the data of the
When the backup is completed, it is determined whether to continue the job. If the job is continued, the
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.
10: memory disk 20: device drive
30: Nonvolatile dual inline memory module
40: HDD / SSD
Claims (3)
A device drive for controlling peripheral devices,
An NVDIMM for temporarily backing up data from the memory disk, and
An HDD / SDD for permanently storing data of the NVDIMM
Volatile dual in-line memory module (NVDIMM).
Powering on the computer system,
Determining whether the computer system should be backed up or restored,
Start backup step to start backup,
If you need to do a recovery, start recovery,
Backing up the data of the memory disk to the NVDIMM,
Determining whether data to be backed up on the memory disk and data to be backed up on the NVDIMM are identical,
It is determined whether or not the backup has been completed,
Determining whether to continue the job,
Waiting for a job,
Copying the NVDIMM data to the memory disk, and
Step of judging whether or not the copying is completed
Volatile dual in-line memory module (NVDIMM).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160009291A KR20170089194A (en) | 2016-01-26 | 2016-01-26 | Memeory disk operating method and apparatus using nvdimm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160009291A KR20170089194A (en) | 2016-01-26 | 2016-01-26 | Memeory disk operating method and apparatus using nvdimm |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170089194A true KR20170089194A (en) | 2017-08-03 |
Family
ID=59655609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160009291A KR20170089194A (en) | 2016-01-26 | 2016-01-26 | Memeory disk operating method and apparatus using nvdimm |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170089194A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190113359A (en) | 2018-03-28 | 2019-10-08 | 주식회사 리얼타임테크 | Data storing and restoring method based on In-memory database using NVDIMM |
-
2016
- 2016-01-26 KR KR1020160009291A patent/KR20170089194A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190113359A (en) | 2018-03-28 | 2019-10-08 | 주식회사 리얼타임테크 | Data storing and restoring method based on In-memory database using NVDIMM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170010832A1 (en) | Non-volatile memory systems and methods of managing power of the same | |
US9952785B2 (en) | Enabling non-volatile random access to data | |
US11579775B2 (en) | Storage system and method of operating the same | |
KR102211867B1 (en) | Auxiliary power supply device and nonvolatile memory system including the same | |
US11422860B2 (en) | Optimizing save operations for OS/hypervisor-based persistent memory | |
US20160062690A1 (en) | Data storage device, data processing system including the same, and operating method thereof | |
US11740983B2 (en) | High availability for persistent memory | |
JP2009064263A (en) | Memory device | |
US20180276092A1 (en) | Recovering using write data stored by a powerloss data protection technique | |
KR20150025782A (en) | Memory apparatus and computer system including the same | |
CN101661435A (en) | Data processing apparatus | |
US9047923B1 (en) | Fast shingled tracks recording | |
WO2015116100A1 (en) | Managing data using a number of non-volatile memory arrays | |
CN112020843A (en) | Temporary area in non-volatile memory device | |
KR20170089194A (en) | Memeory disk operating method and apparatus using nvdimm | |
JP3541349B2 (en) | Cache memory backup system | |
KR102155611B1 (en) | Data storage device | |
US20130073792A1 (en) | Electronic apparatus using nand flash and memory management method thereof | |
JP2008059007A (en) | Semiconductor storage device | |
CN114265550A (en) | Solid state disk power failure protection method and system | |
US10496303B2 (en) | Method for reducing power consumption memory, and computer device | |
WO2016006108A1 (en) | Storage and control method therefor | |
JP2018022404A (en) | Storage system, storage control device, and storage control program | |
WO2017145360A1 (en) | Information processing device and information processing method | |
JP2006318105A (en) | Monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |