Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and a system for constructing a consistent hash table based on a non-volatile memory

A construction method and a consistent technology, which can be used in the generation of response errors, redundancy in operations as data error detection, instruments, etc. Reduce overhead, eliminate the effect of extra write operations

Active Publication Date: 2019-01-08
HUAZHONG UNIV OF SCI & TECH
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the above defects or improvement needs of the prior art, the present invention provides a method and system for constructing a consistent hash table based on non-volatile memory, thereby solving the problem that the prior art cannot Technical Issues in Achieving Data Consistency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and a system for constructing a consistent hash table based on a non-volatile memory
  • A method and a system for constructing a consistent hash table based on a non-volatile memory
  • A method and a system for constructing a consistent hash table based on a non-volatile memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0039] like figure 1 As shown, the embodiment of the present invention first divides all the hash units in the hash table into two layers, the first layer is the hash function accessible unit, the second layer is the hash function inaccessible unit, and the second layer is used for When a hash conflict occurs in the first layer, conflict processing is performed; the hash units of each layer are...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a system for constructing a consistency hash table based on a non-volatile memory. The method of the invention constructs a consistent hash table, and divides allhash units in the hash table into two layers. The first layer is a hash function accessible unit, the second layer is a hash function inaccessible unit, and the second layer is used for collision processing when a hash conflict occurs in the first layer. The hash cells of each layer are divided into an equal number of n groups, and the groups of the first layer and the second layer with the same number are matched. When the i-th group of the first layer has hash collision, the i-th group of the second layer handles the collision, and the hash table guarantees the consistency of the data by using the 8-byte atomic write technique. The hash table can be restored to a consistent state after a system crash. The invention also realizes a hash table construction system based on non-volatile memory. The hash table constructed by the technical scheme of the invention can reduce the consistency overhead and has low request delay.

Description

technical field [0001] The invention belongs to the field of computer data storage, and more specifically relates to a nonvolatile memory-based consistent hash table construction method and system. Background technique [0002] In recent years, DRAM has been widely used in computer systems as main memory. However, it faces issues such as increasing idle power consumption and limited scalability. To solve these problems, some new non-volatile memory (NVM) technologies have emerged, such as phase change memory (PCM), memristor (ReRAM), spin torque magnetic memory (STT-MRAM) and 3D-XPoint, etc. NVM not only has the power-down non-volatility of traditional disks, but also has the characteristics of fast memory access and byte-based addressing of DRAM. These excellent characteristics allow NVM to be directly connected to the memory bus to form a hybrid memory like DRAM, and even completely replace DRAM in the future. When NVM is used as memory, applications can quickly access ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/901G06F11/14
CPCG06F11/1458
Inventor 冯丹陈俭喜华宇张晓祎付曼迪
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products