KR20170089194A - Memeory disk operating method and apparatus using nvdimm - Google Patents

Memeory disk operating method and apparatus using nvdimm Download PDF

Info

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
Application number
KR1020160009291A
Other languages
Korean (ko)
Inventor
정용완
Original Assignee
주식회사 범우시스템
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 범우시스템 filed Critical 주식회사 범우시스템
Priority to KR1020160009291A priority Critical patent/KR20170089194A/en
Publication of KR20170089194A publication Critical patent/KR20170089194A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error 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/2017Error 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing 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/0868Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/068Hybrid storage device

Abstract

The present invention relates to a memory disk configuring device using a non-volatile dual in-line memory module (NVDIMM), comprising: a device drive to control a memory disk used as a main memory, and peripherals; an NVDIMM to temporarily back up data worked in the memory disk; and a hard disk drive (HDD)/solid disk drive (SDD) to permanently store the data of the NVDIMM. According to the present invention, the method comprises: a step of determining whether or not computer power is turned on; a step of turning on power of a computer system; a step of determining whether the computer system should be backed up or recovered; a recovery start step of starting recovery when the recovery should be performed; a step of backing up the data of the memory disk to the NVDIMM; a step of determining whether or not the data to be backed up from the memory disk is identical with the data backed up to the NVDIMM; a backup completion determination step of determining whether backup is completed; a step of determining continual of work; a standby step; a step of copying the data of the NVDIMM to the memory disk; and a step of determining whether copy is completed.

Description

[0001] MEMORY DISK OPERATING METHOD AND APPARATUS USING NVDIMM FIELD OF THE INVENTION [0001] The present invention relates to a method and apparatus for driving a memory disk using a nonvolatile dual in-line memory module (NVDIMM)

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.

Korean Patent Application No. 10-2011-0121579 (Publication date: November 07, 2011, entitled: SYSTEM AND METHOD FOR BACKUP AND RESTORATION OF SEMICONDUCTOR STORAGE DEVICE, APPLIANCE: TAINJIN INFOTEC CO., LTD.) Korean Patent Application No. 10-2011-0062929 (Published Date: June 10, 2011, entitled: METHOD AND APPARATUS FOR CONSTRUCTING MEMORY DISK USING MAIN MEMORY, Applicant: Korea Electronics and Telecommunications Research Institute)

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 memory disk 10 corresponding to a ramdisk (DDR / DDR1 / DDR2 / DDR3 / DDR4) normally used for main memory and work and a device drive 20 for controlling peripheral devices. An NVDIMM 30 for temporarily backing up data on the memory disk 10, and an HDD / SDD 40 for permanently storing data of the NVDIMM.

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 memory disk 10 are the same as the contents of the operation to be backed up. If the contents of the operation are the same, the device driver 20 ) To the NVDIMM 30 in real time.

Then, at the time of the system's rest, the HDD / SSD 40 stores data permanently.

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 step 100 of determining whether a computer is on, a step 200 of turning on a computer system, A backup start step 400 for starting backup, a recovery start step 500 for starting recovery if recovery is to be performed, data of the memory disk 10 to the NVDIMM 30 A step 700 of determining whether the data to be backed up on the memory disk 10 is the same as data to be backed up on the NVDIMM 30, (Step 1000) of copying data of the NVDIMM 30 to the memory disk 10 (step 1100), and judging whether copying is completed or not Gt; 1200 < / RTI >

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 memory disk 10 is backed up to the NVDIMM 30 in operation 600. It is determined whether the data of the memory disk 10 and the data of the NVDIMM 30 are identical to each other If the two data are not the same, the backup is continued until the data of the memory disk 10 and the data of the NVDIMM 30 become the same.

When the backup is completed, it is determined whether to continue the job. If the job is continued, the step 300 is performed. If the job is not continued, the NVDIMM 30 stores data in the HDD / SSD while waiting for the job .

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 memory disk used as main memory,
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).
Determining whether the computer is powered on,
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).
A method of driving a memory disk using a nonvolatile dual inline memory module (NVDIMM), the method further comprising storing data of an NVDIMM in a HDD / SSD.
KR1020160009291A 2016-01-26 2016-01-26 Memeory disk operating method and apparatus using nvdimm KR20170089194A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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