KR102597640B1 - Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application - Google Patents

Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application Download PDF

Info

Publication number
KR102597640B1
KR102597640B1 KR1020160149705A KR20160149705A KR102597640B1 KR 102597640 B1 KR102597640 B1 KR 102597640B1 KR 1020160149705 A KR1020160149705 A KR 1020160149705A KR 20160149705 A KR20160149705 A KR 20160149705A KR 102597640 B1 KR102597640 B1 KR 102597640B1
Authority
KR
South Korea
Prior art keywords
hash
buckets
virtual
memory
bucket
Prior art date
Application number
KR1020160149705A
Other languages
Korean (ko)
Other versions
KR20170112952A (en
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 삼성전자주식회사
Publication of KR20170112952A publication Critical patent/KR20170112952A/en
Application granted granted Critical
Publication of KR102597640B1 publication Critical patent/KR102597640B1/en

Links

Images

Classifications

    • 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/10Address translation
    • G06F12/1009Address translation using page tables, e.g. page table structures
    • G06F12/1018Address translation using page tables, e.g. page table structures involving hashing techniques, e.g. inverted page tables
    • 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/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • 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/061Improving I/O performance
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • G06F3/0641De-duplication techniques
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7821Tightly coupled to memory, e.g. computational memory, smart memory, processor in memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1748De-duplication implemented within the file system, e.g. based on file segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • 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/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • 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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0625Power saving in storage 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • G06F3/0649Lifecycle management
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
    • 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
    • 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/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • 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/0683Plurality of storage devices
    • G06F3/0685Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/74Masking faults in memories by using spares or by reconfiguring using duplex memories, i.e. using dual copies
    • 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/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1041Resource optimization
    • G06F2212/1044Space efficiency improvement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/40Specific encoding of data in memory or cache
    • G06F2212/401Compressed data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

메모리 중복제거 방법은, 복수의 해시 테이블들 각각은 해시 함수에 대응하고, 복수의 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 버킷은 웨이들로 구성되고 데이터를 저장하는, 복수의 해시 테이블들을 식별하는 단계, 복수의 가상 버킷(Virtual bucket)들 각각은 상기 물리적인 해시 버킷들 중 일부로 구성되고 상기 복수의 가상 버킷들 중 다른 가상 버킷과 적어도 하나의 상기 물리적인 해시 버킷들을 공유하는, 복수의 가상 버킷들을 식별하는 단계, 상기 가상 버킷들 중 해당 가상 버킷에 할당되어 저장된 데이터를 갖는 상기 복수의 물리적인 버킷들 각각을 식별하는 단계, 해시 값(Hash value)을 생성하기 위해 해시 함수들 중 해당 해시 함수에 따라 데이터 라인(Data line)을 해싱(Hashing)하는 단계, 해당 해시 테이블의 상기 가상 버킷들 중 해당 가상 버킷이 상기 해시 값에 따라 데이터 블락을 위한 사용 가능한 공간을 갖는지를 결정하는 단계, 상기 가상 버킷들 중 해당 가상 버킷이 상기 데이터 블락을 위한 공간을 가질 때까지 상기 가상 버킷들 중 해당 가상 버킷이 사용 가능한 공간을 갖지 않은 때 상기 가상 버킷들 중 해당 가상 버킷으로부터 상기 가상 버킷들 중 인접한 가상 버킷으로 순차적으로 데이터를 움직이는 단계, 및 상기 해당 가상 버킷에 상기 데이터 블락을 저장하는 단계를 포함할 수 있다.In the memory deduplication method, each of the plurality of hash tables corresponds to a hash function, each of the plurality of hash tables consists of physical hash buckets, and each physical bucket consists of ways and stores data. Identifying a plurality of hash tables, each of a plurality of virtual buckets consisting of a portion of the physical hash buckets and at least one of the physical hash buckets and another virtual bucket among the plurality of virtual buckets. Identifying a plurality of shared virtual buckets, identifying each of the plurality of physical buckets having data allocated to and stored in the corresponding virtual bucket among the virtual buckets, generating a hash value Hashing a data line according to a corresponding hash function among the hash functions, determining whether the corresponding virtual bucket among the virtual buckets of the hash table has available space for a data block according to the hash value. determining, when the corresponding virtual bucket among the virtual buckets does not have available space until the corresponding virtual bucket among the virtual buckets has space for the data block, from the corresponding virtual bucket among the virtual buckets It may include sequentially moving data to adjacent virtual buckets among virtual buckets, and storing the data block in the corresponding virtual bucket.

Description

중복제거 어플리케이션을 즉시 처리하는 효율적인 메모리를 위한 최적화된 합스카치 복수의 해시 테이블들{OPTIMIZED HOPSCOTCH MULTIPLE HASH TABLES FOR EFFICIENT MEMORY IN-LINE DEDUPLICATION APPLICATION}{OPTIMIZED HOPSCOTCH MULTIPLE HASH TABLES FOR EFFICIENT MEMORY IN-LINE DEDUPLICATION APPLICATION}

본 발명은 합스카치 복수의 해시 테이블들에 관한 것으로, 좀 더 자세하게는 중복제거 어플리케이션을 즉시 처리하는 효율적인 메모리를 위한 최적화된 합스카치 복수의 해시 테이블들에 관한 것이다.The present invention relates to Hapscotch multiple hash tables, and more specifically, to Hapscotch multiple hash tables optimized for memory efficiency that immediately processes deduplication applications.

데이터 중복제거는 메모리 장치의 용량 비용을 줄이기 위해, 메모리 장치에서 불필요한 데이터를 줄이는 것을 의미한다. 데이터 중복제거에서, 데이터 대상/항목(예를 들면, 데이터 파일)은 하나 또는 그 이상의 데이터 라인들/덩어리들/블락들로 나뉜다. 동일한 데이터로 구성된 복수의 데이터 블락들을 하나의 저장된 데이터 블락으로 연관시킴으로써, 데이터 블락들의 중복 복사본들은 컴퓨터 메모리에 의해 감소되거나 제거될 수 있고, 그렇게 함으로써 메모리 장치의 데이터 중복 블락들의 전체 양은 감소된다. 데이터의 불필요한 복사본들의 감소는 읽기 속도 및 메모리 대역폭을 증가시킬 수 있고, 잠재적으로 전력 절감을 야기할 수 있다.Data deduplication refers to reducing unnecessary data in a memory device to reduce the capacity cost of the memory device. In data deduplication, a data object/item (e.g., a data file) is divided into one or more data lines/chunks/blocks. By associating multiple data blocks comprised of the same data into one stored data block, redundant copies of data blocks can be reduced or eliminated by the computer memory, thereby reducing the overall amount of redundant blocks of data in the memory device. Reducing unnecessary copies of data can increase read speeds and memory bandwidth, and potentially result in power savings.

따라서, 만약 중복된 데이터 복사본들이 하나의 데이터 복사본으로 감소될 수 있으면, 물리적인 자원의 양은 동일하게 사용하면서 메모리 장치의 전체 사용 가능한 용량은 증가된다. 그 결과로 메모리 장치의 경제적 사용은 데이터 다시 쓰기(Rewrite) 횟수의 감소를 가능하게 하고, 메모리에 이미 저장된 중복된 데이터 블록들에 대한 쓰기 요청은 버려질 수 있으므로, 데이터 중복제거가 적용된 메모리 장치의 수명은 효과적으로 쓰기 내구성을 증가시킴으로써 오랫동안 늘어날 수 있다.Accordingly, if redundant data copies can be reduced to a single data copy, the overall usable capacity of the memory device is increased while using the same amount of physical resources. As a result, economical use of memory devices enables a reduction in the number of data rewrites, and write requests for duplicate data blocks already stored in memory can be discarded, making it possible to use memory devices with data deduplication applied. Lifespan can be extended for a long time by effectively increasing write endurance.

일반적인 데이터 중복제거 방법론은 CPU 중심의 접근으로 중복제거 엔진이 CPU 또는 메모리 컨트롤러(Memory Controller; MC)에 집적되는 메모리 내 중복제거(in-memory deduplication) 기술을 사용할 수 있다. 이러한 방법론은 중복을 CPU 프로세서가 인식할 수 있도록 그리고 메모리 컨트롤러의 제어에 따라 중복제거 메모리 동작들(예를 들면, 컨텐츠 검색(Content lookups), 참조 카운트 업데이트(Reference Count Updates), 등)의 제공을 시도하도록 메모리 컨트롤러와 동작하는 중복제거 캐시(Deduplicated Cache; DDC)를 구현한다. 중복제거 방법론은 또한, 중요한 경로로부터 변환 패치(Fetch)를 제거하여 데이터 읽기를 증가시키기 위해 변환 라인들을 캐싱(Caching)하는 캐시이고, 색인 버퍼(Lookaside Buffer)와 유사할 수 있는, 직접 변환 버퍼(Direct Translation Buffer; DTB)를 구현할 수 있다.A common data deduplication methodology is a CPU-centric approach that can use in-memory deduplication technology in which the deduplication engine is integrated into the CPU or memory controller (MC). This methodology allows duplicates to be recognized by the CPU processor and provides deduplication memory operations (e.g., Content lookups, Reference Count Updates, etc.) under the control of the memory controller. Implement a Deduplicated Cache (DDC) that works with the memory controller to try. The deduplication methodology is also a cache that caches conversion lines to increase data reads by removing conversion fetches from critical paths, and a direct conversion buffer (which may be similar to a lookaside buffer). Direct Translation Buffer (DTB) can be implemented.

중복제거는 보통 하드 드라이브를 위해 사용된다. 그러나, DRAM(Dynamic Random Access Memory)과 같은 휘발성 메모리의 영역에서 미세한 중복제거를 제공하는데 관심이 있다.Deduplication is usually used for hard drives. However, there is interest in providing fine-grained deduplication in areas of volatile memory such as dynamic random access memory (DRAM).

이러한 배경 기술에서 전술한 정보는 단지 발명의 이해를 돕기 위한 것이고, 그러므로 종래 기술을 구성하지 않는 정보를 포함할 수 있다.The information described above in this background art is merely to aid understanding of the invention and may therefore include information that does not constitute prior art.

본 발명은 상술한 기술적 과제를 해결하기 위한 것으로, 본 발명은 중복제거 어플리케이션을 즉시 처리하는 효율적인 메모리를 위한 최적화된 합스카치 복수의 해시 테이블들을 제공할 수 있다.The present invention is intended to solve the above-described technical problem, and the present invention can provide a plurality of hash tables optimized for efficient memory that immediately processes deduplication applications.

본 발명의 실시 예들의 측면들은 DRAM(Dynamic random access memory) 시스템에서 메모리 중복제거에 관한 것이다Aspects of embodiments of the present invention relate to memory deduplication in dynamic random access memory (DRAM) systems.

본 발명의 실시 예에 따라 메모리 중복제거 방법이 제공되고, 상기 방법은 복수의 해시 테이블들 각각은 해시 함수에 대응하고, 복수의 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 버킷은 웨이들로 구성되고 데이터를 저장하는, 복수의 해시 테이블들을 식별하는 단계, 복수의 가상 버킷들 각각은 상기 물리적인 해시 버킷들 중 일부로 구성되고 상기 복수의 가상 버킷들 중 다른 가상 버킷과 적어도 하나의 상기 물리적인 해시 버킷들을 공유하는, 복수의 가상 버킷들을 식별하는 단계. 상기 가상 버킷들 중 해당 가상 버킷에 할당되어 저장된 데이터를 갖는 상기 복수의 물리적인 버킷들 각각을 식별하는 단계, 해시 값을 생성하기 위해 해시 함수들 중 해당 해시 함수에 따라 데이터 라인을 해싱하는 단계, 해당 해시 테이블의 상기 가상 버킷들 중 해당 가상 버킷이 상기 해시 값에 따라 데이터 블락을 위한 사용 가능한 공간을 갖는지를 결정하는 단계, 상기 가상 버킷들 중 해당 가상 버킷이 상기 데이터 블락을 위한 공간을 가질 때까지 상기 가상 버킷들 중 해당 가상 버킷이 사용 가능한 공간을 갖지 않은 때 상기 가상 버킷들 중 해당 가상 버킷으로부터 상기 가상 버킷들 중 인접한 가상 버킷으로 순차적으로 데이터를 움직이는 단계, 및 상기 가상 버킷들 중 해당 가상 버킷에 상기 데이터 블락을 저장하는 단계를 포함할 수 있다. According to an embodiment of the present invention, a memory deduplication method is provided, wherein each of a plurality of hash tables corresponds to a hash function, each of the plurality of hash tables consists of physical hash buckets, and each physical hash bucket is provided. Identifying a plurality of hash tables, wherein the bucket is composed of waders and stores data, each of the plurality of virtual buckets is composed of a portion of the physical hash buckets and is at least similar to another virtual bucket among the plurality of virtual buckets. Identifying a plurality of virtual buckets sharing one of the physical hash buckets. Identifying each of the plurality of physical buckets having data allocated and stored in a corresponding virtual bucket among the virtual buckets, hashing a data line according to a corresponding hash function among the hash functions to generate a hash value, Determining whether a corresponding virtual bucket among the virtual buckets of the hash table has available space for a data block according to the hash value, when the corresponding virtual bucket among the virtual buckets has space for the data block sequentially moving data from a corresponding virtual bucket among the virtual buckets to an adjacent virtual bucket among the virtual buckets when a corresponding virtual bucket among the virtual buckets does not have available space, and a corresponding virtual bucket among the virtual buckets It may include storing the data block in a bucket.

방법은 상기 움직여진 데이터 블락에 해당하는 하나 이상의 검색 어드레스들(Lookup addresses)을 변경하기 위해 어드레스 검색 테이블 메모리를 업데이트하는 단계를 더 포함할 수 있다.The method may further include updating an address lookup table memory to change one or more lookup addresses corresponding to the moved data block.

상기 복수의 해시 테이블들 각각은 참조 카운트 라인, 서명 라인, 그리고 합워드 라인을 더 포함할 수 있다.Each of the plurality of hash tables may further include a reference count line, a signature line, and a sumword line.

방법은 상기 가상 버킷에 대응하는 데이터를 포함하는 상기 물리적인 해시 버킷들을 나타내기 위한 합워드 벡터를 생성하는 단계를 더 포함할 수 있다.The method may further include generating a sumword vector to represent the physical hash buckets containing data corresponding to the virtual bucket.

상기 합워드 벡터를 생성하는 단계는, 상기 복수의 가상 버킷들 각각을 위해, 상기 복수의 가상 버킷들 중 상대적인 가상 버킷의 상기 복수의 물리적인 해시 버킷들 각각이 상기 복수의 가상 버킷들 중 상기 상대적인 가상 버킷과 연동되는 데이터 블락을 포함하는지를 나타내기 위해 이진 표시자를 사용하는 단계를 포함할 수 있다.The step of generating the sumword vector includes, for each of the plurality of virtual buckets, each of the plurality of physical hash buckets of the relative virtual bucket among the plurality of virtual buckets. It may include using a binary indicator to indicate whether it contains a data block associated with the virtual bucket.

방법은 상기 복수의 가상 버킷들 중 어떤 가상 버킷에 대응하는 데이터를 포함하는 상기 복수의 물리적인 해시 버킷들 중 어떤 물리적인 해시 버킷을 나타내기 위해 물리적인 해시 버킷들마다 log2(H) 비트들로 구성되는 합워드 값을 생성하는 단계를 더 포함할 수 있다.The method uses log2(H) bits for each physical hash bucket to indicate which of the plurality of physical hash buckets contains data corresponding to a certain virtual bucket among the plurality of virtual buckets. A step of generating a composed sumword value may be further included.

상기 합워드 값을 생성하는 단계는 상기 복수의 물리적인 해시 버킷들 그리고 가상 버킷들의 쌍들과 연관되어 표현되는 위치에 데이터를 포함하는 상기 복수의 물리적인 해시 버킷들을 각각을 위한 유사 주소들로 구성되는 2차원 어레이를 생성하는 단계를 포함할 수 있다.The step of generating the sumword value consists of pseudo-addresses for each of the plurality of physical hash buckets containing data in a location expressed in association with pairs of the plurality of physical hash buckets and virtual buckets. It may include generating a two-dimensional array.

상기 복수의 해시 테이블은 휘발성 메모리에 저장될 수 있다.The plurality of hash tables may be stored in volatile memory.

상기 휘발성 메모리는 DRAM(Dynamic random access memory)를 포함할 수 있다.The volatile memory may include dynamic random access memory (DRAM).

방법은 상기 해시 테이블을 log2(H) 비트들의 가상 버킷 이용 값 필드로 구성되는 물리적인 라인 ID(PLID)로 색인하는 단계를 더 포함할 수 있고, 상기 값은 상기 복수의 가상 버킷들 중 해당 가상 버킷의 데이터 블락들의 숫자와 동일할 수 있다.The method may further include indexing the hash table with a physical line ID (PLID) consisting of a virtual bucket usage value field of log2(H) bits, where the value corresponds to a corresponding virtual bucket among the plurality of virtual buckets. It may be the same as the number of data blocks in the bucket.

방법은 상기 복수의 가상 버킷들 중 상기 해당 가상 버킷에 항목을 쓰는 경우, 상기 가상 버킷 이용 값 필드를 1 증가시키는 단계를 더 포함할 수 있다.The method may further include increasing the virtual bucket usage value field by 1 when writing an item to the corresponding virtual bucket among the plurality of virtual buckets.

방법은 상기 해당 해시 테이블이 가득 찬 경우, 버퍼 메모리에 상기 데이터 블락을 저장하는 단계를 더 포함할 수 있다.The method may further include storing the data block in a buffer memory when the corresponding hash table is full.

본 발명의 실시 예에 따라 중복제거 메모리를 위해 메모리에서 데이터 블락들의 중복을 감소시키는 중복제거 DRAM 메모리 모듈이 제공되고, 중복제거 DRAM 메모리 모듈은 중복제거된 데이터 블락들을 저장하기 위한 해시 테이블 메모리, 상기 중복제거된 데이터 블락들과 대응하는 어드레스들을 저장하기 위한 어드레스 검색 테이블 메모리, 및 상기 중복제거 DRAM 메모리 모듈이 상기 해시 테이블 메모리로부터 데이터 블락들을 검색하도록 하는 읽기 요청들을 수신하고, 그리고 상기 중복제거 DRARM 메모리 모듈이 상기 해시 테이블 메모리의 상기 데이터 블락들을 저장하도록 하는 쓰기 요청들을 수신하는 프로세서를 포함할 수 있다.According to an embodiment of the present invention, a deduplication DRAM memory module is provided for reducing duplication of data blocks in a memory for deduplication memory, and the deduplication DRAM memory module includes a hash table memory for storing deduplicated data blocks, an address lookup table memory for storing deduplicated data blocks and corresponding addresses, and receiving read requests to cause the deduplicated DRAM memory module to retrieve data blocks from the hash table memory, and the deduplicated DRAM memory. A module may include a processor that receives write requests to store the data blocks in the hash table memory.

상기 해시 테이블 메모리는, 상기 해시 테이블 메모리에 저장되는 해시 테이블들의 3차원 어레이로 구성될 수 있고, 상기 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 해시 버킷은 웨이들로 구성되고 상기 중복제거된 데이터 블락들을 저장할 수 있다.The hash table memory may be composed of a three-dimensional array of hash tables stored in the hash table memory, each of the hash tables composed of physical hash buckets, and each physical hash bucket composed of waders. and the deduplicated data blocks can be stored.

상기 해시 테이블들 각각은 복수의 가상 버킷들을 더 포함하되, 각 가상 버킷들은 두 개 이상의 상기 물리적인 해시 버킷들로 구성될 수 있다.Each of the hash tables further includes a plurality of virtual buckets, and each virtual bucket may be composed of two or more physical hash buckets.

중복제거 DRAM 메모리 모듈은 상기 해시 테이블들 중 해당 해시 테이블 내에서 상기 복수의 가상 버킷들 중 인접한 가상 버킷들 사이에서 상기 중복제거된 데이터 블락들을 움직일 수 있다.The deduplication DRAM memory module may move the deduplicated data blocks between adjacent virtual buckets among the plurality of virtual buckets within a corresponding hash table.

중복제거 DRAM 메모리 모듈은 외부에서 제공되는 명령들 없이 데이터 중복제거를 수행할 수 있다.The deduplication DRAM memory module can perform data deduplication without externally provided commands.

중복제거 DRAM 메모리 모듈은 상기 해시 테이블 메모리가 가득 찬 경우, 데이터를 저장하기 위한 버퍼 메모리를 더 포함할 수 있다.The deduplication DRAM memory module may further include a buffer memory for storing data when the hash table memory is full.

본 발명의 실시 예에 따라 중복제거 메모리를 위해 메모리에서 데이터 블락들의 중복을 감소시키기 위한 중복제거 DRAM 메모리 모듈이 제공되고, 중복제거 DRAM 메모리 모듈은, 복수의 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 해시 버킷은 웨이들로 구성되고 상기 데이터 블락들을 저장하고, 상기 중복제거 DRAM 메모리 모듈에 저장되는 해시 테이블들의 3차원 어레이, 프로세서, 및 메모리를 포함하되, 상기 메모리는 명령들을 저장하고, 상기 명령들이 상기 프로세서에 의해 실행될 때, 상기 메모리는 상기 중복제거 DRAM 메모리 모듈이 상기 복수의 해시 테이블들 중 해시 테이블의 인접 가상 버킷들 사이에서 사전에 저장된 중복제거된 데이터 블락을 움직이도록 야기하고, 상기 가상 버킷들 각각은 두 개 이상의 물리적인 해시 버킷들로 구성될 수 있다.According to an embodiment of the present invention, a deduplication DRAM memory module is provided for reducing duplication of data blocks in a memory for deduplication memory, and the deduplication DRAM memory module includes a plurality of hash tables, each of which has physical hash buckets. Each physical hash bucket is composed of waders and stores the data blocks, and includes a three-dimensional array of hash tables stored in the deduplication DRAM memory module, a processor, and memory, wherein the memory contains instructions. and when the instructions are executed by the processor, the memory causes the deduplication DRAM memory module to move a pre-stored deduplicated data block between adjacent virtual buckets of a hash table among the plurality of hash tables. Each of the virtual buckets may be composed of two or more physical hash buckets.

상기 메모리는 명령들을 더 저장하고, 상기 명령들이 상기 프로세서에 의해 실행될 때, 상기 메모리는 중복제거 DRAM 메모리 모듈이 상기 사전에 저장된 중복제거된 데이터 블락이 움직여진 것으로부터 가상 버킷들 중 하나의 가상 버킷에 인커밍 데이터를 저장하도록 야기할 수 있다.The memory further stores instructions, and when the instructions are executed by the processor, the memory causes a deduplication DRAM memory module to store instructions in one of the virtual buckets from which the prestored deduplicated data block is moved. This may cause the incoming data to be stored in .

본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈에 의하면, 메모리 접근은 감소될 수 있고, DRAM 시스템의 수명은 연장될 수 있다.According to the deduplication DRAM memory module according to an embodiment of the present invention, memory accesses can be reduced and the lifespan of the DRAM system can be extended.

본 발명의 이들 및 다른 측면들은 명세서, 청구 범위, 그리고 첨부된 도면을 참조하여 이해될 수 있다.
도 1은 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처의 블록도이다.
도 2는 도 1의 실시 예의 중복제거 메모리 모듈 내 메모리 형태들의 블록도이다.
도 3은 도 2의 실시 예의 해시 테이블 메모리의 해시 테이블의 블록도이다.
도 4는 본 발명의 실시 예에 따른 복수의 해시 테이블 어레이의 블록도이다.
도 5a, 도 5b, 및 도 5c는 본 발명의 실시 예들에 따라 가상 버킷들과 특정 물리적인 버킷들을 연관시키기 위한 합워드들(Hopwords)을 생성하기 위한 2차원의 어레이들을 묘사한다.
도 6은 본 발명의 실시 예에 따른 해시 테이블 메모리의 데이터 블락들의 어드레싱을 위한 물리적인 라인 ID(PLID)의 블록도이다.
도 7은 본 발명의 실시 예에 따른, 합스카치 방법을 사용하는 메모리 모듈의 복수의 해시 테이블 어레이로 데이터를 쓰는 과정을 보여주는 순서도이다.
도 8은 본 발명의 실시 예에 따른, 메모리 모듈의 복수의 해시 테이블 어레이로부터 데이터를 읽는 과정을 보여주는 순서도이다.
These and other aspects of the invention may be understood by reference to the specification, claims, and accompanying drawings.
1 is a block diagram of a deduplication DRAM system architecture according to an embodiment of the present invention.
Figure 2 is a block diagram of memory types within the deduplication memory module of the embodiment of Figure 1.
Figure 3 is a block diagram of a hash table of the hash table memory of the embodiment of Figure 2.
Figure 4 is a block diagram of a plurality of hash table arrays according to an embodiment of the present invention.
5A, 5B, and 5C depict two-dimensional arrays for generating Hopwords for associating virtual buckets with specific physical buckets according to embodiments of the present invention.
Figure 6 is a block diagram of a physical line ID (PLID) for addressing data blocks of a hash table memory according to an embodiment of the present invention.
Figure 7 is a flowchart showing a process of writing data to a plurality of hash table arrays of a memory module using the Hapscotch method according to an embodiment of the present invention.
Figure 8 is a flowchart showing a process of reading data from a plurality of hash table arrays of a memory module according to an embodiment of the present invention.

본 발명의 특징, 그리고 그것을 달성하는 방법은 실시 예의 상세한 설명 및 첨부 된 도면들을 참조하면 명확해질 것이다. 이하, 예시적인 실시 예들은 유사한 참조 번호들은 유사한 구성 요소들을 지칭하는 첨부 도면을 참조하여 상세히 설명될 것이다. 그러나 본 발명은 여러 가지 다양한 형태로 구현 될 수 있고, 본 명세서에서 단지 예시 된 실시 예에 한정되는 것은 아니다. 오히려, 이러한 실시 예들은 이 개시가 철저하고 완전하게 되기 위한 예로서 제공되며, 당업자에게 본 발명의 특징 및 기능을 완전하게 전달할 것이다. 따라서, 본 발명의 기술 분야에서 통상의 지식을 가진 자가 본 발명의 특징 및 기능을 완벽하게 이해하기 위해 필요하지 않은 프로세스, 요소들, 및 기술들은 설명되지 않을 수 있다. 특별히 언급하지 않는 한, 유사한 참조 번호들은 첨부된 도면들 및 쓰여진 설명에서 유사한 구성요소들을 나타내고, 따라서 그것에 대한 설명은 반복되지 않을 것이다. 도면에서, 구성 요소, 층 및 영역들의 상대적인 크기는 명확성을 위해 과장될 수 있다.The features of the present invention and how to achieve them will become clear by referring to the detailed description of the embodiments and the accompanying drawings. Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings, where like reference numerals designate like elements. However, the present invention may be implemented in many different forms and is not limited to the embodiments merely illustrated herein. Rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the nature and functionality of the invention to those skilled in the art. Accordingly, processes, elements, and techniques that are not necessary for a person skilled in the art to fully understand the features and functions of the present invention may not be described. Unless specifically noted, like reference numbers indicate like elements in the accompanying drawings and written description, and thus description thereof will not be repeated. In the drawings, the relative sizes of components, layers and regions may be exaggerated for clarity.

비록 여기에서 제 1, 제 2, 제3 등의 용어들은 다양한 요소들, 성분들, 영역들, 층들 그리고/또는 섹션들을 설명하기 위해 사용되지만, 이러한 요소들, 성분들, 영역들, 층들 그리고/또는 섹션들은 이러한 용어들로 인해 제한되지 않는 것으로 이해될 것이다. 이러한 용어들은 다른 요소, 성분, 영역, 층, 또는 섹션으로부터 하나의 요소, 구성, 영역, 층 또는 섹션을 구별하기 위해 사용된다. 따라서, 후술하는 제 1 구성 요소, 성분, 영역, 층, 또는 섹션은 본 발명의 사상 및 범위를 벗어나지 않고, 제 2 구성 요소, 성분, 영역, 층, 또는 섹션을 지칭 할 수 있다.Although the terms first, second, third, etc. are used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections Alternatively, the sections will not be understood as being limited by these terms. These terms are used to distinguish one element, component, region, layer, or section from another element, component, region, layer, or section. Accordingly, a first component, component, region, layer, or section described below may refer to a second component, component, region, layer, or section without departing from the spirit and scope of the present invention.

하나의 요소 또는 도면에서 도시된 다른 구성 요소(들) 또는 특징(들)과의 특징적인 관계를 설명하기 위한 설명을 용이하게 하기 위해 “아래의”, “아래”, “낮은”, “특정 부분 아래”, “위에”, “상부”와 같은 공간적이고 상대적인 용어들이 여기에서 사용될 수 있다. 공간적이고 상대적인 용어들은 도면에서 묘사된 방향에 더해 사용 또는 동작에서 장치의 다른 방향들을 포함하도록 의도된 것이 이해될 것이다. 예를 들면, 만약 도면의 장치가 뒤집어지면, 다른 구성 요소들 또는 특징들의 “아래” 또는 “아래의” 또는 “특정 부분 아래”로 설명된 구성요소들은 다른 구성 요소들 또는 특징들의 “위로” 맞춰지게 된다. 따라서, “아래의” 또는 “특정 부분 아래”의 예시적인 용어들은 위 또는 아래 방향 모두를 포함할 수 있다. 장치는 다르게 맞춰질 수 있으며(예를 들면, 90도 도는 다른 방향으로 회전됨) 그리고 공간적으로 상대적인 기술어들은 그에 따라 해석되어야 한다.“Under”, “below”, “lower”, “particular part” or “particular part” are used to facilitate description to describe an element or its characteristic relationship with other component(s) or feature(s) shown in the drawing. Spatial and relative terms such as “below”, “above”, and “above” may be used here. It will be understood that spatial and relative terms are intended to include other orientations of the device in use or operation in addition to the orientation depicted in the drawings. For example, if the device in the drawing is turned over, components described as “below” or “under” or “particularly below” other components or features will be positioned “above” the other components or features. You lose. Accordingly, example terms “below” or “below a particular portion” may include both upward and downward directions. Devices may be adjusted differently (eg, rotated 90 degrees in different directions) and spatially relative descriptors should be interpreted accordingly.

요소, 층, 영역, 또는 성분이 다른 요소, 층, 영역 또는 성분 “에”, “에 결합된”, “에 연결된” 것으로 언급되는 때, 그것은 다른 요소, 층, 영역, 또는 성분 “에 직접적으로”, “에 직접적으로 결합된”, “에 직접적으로 연결된”일 수 있거나, 하나 또는 그 이상의 사이의 요소들, 층들, 영역들, 또는 성분들이 존재할 수 있다. 또한, 요소 또는 층이 두 개의 요소들 또는 층들 사이로 언급되는 때, 그것은 단지 요소 또는 층이 두 요소들 또는 층들 사이에 있을 수 있거나, 또는 하나 또는 그 이상의 사이의 요소들 또는 층들이 또한 존재할 수 있다. When an element, layer, region, or component is referred to as “to,” “coupled to,” or “connected to” another element, layer, region, or component, it refers to “the other element, layer, region, or component.” “, “directly coupled to,” “directly connected to,” or there may be one or more intervening elements, layers, regions, or components. Additionally, when an element or layer is referred to as between two elements or layers, it may be that only the element or layer is between the two elements or layers, or one or more intervening elements or layers may also be present. .

다음의 예들에서, x축, y축, 그리고 z축은 직각 좌표 시스템의 3가지 축들로 한정되지 않고, 넓은 의미로 해석될 수 있다. 예를 들어, x축, y축, 그리고 z축은 서로 직교할 수 있고, 또는 서로 직교하지 않은 다른 방향들을 나타낼 수 있다.In the following examples, the x-axis, y-axis, and z-axis are not limited to the three axes of the rectangular coordinate system and can be interpreted in a broad sense. For example, the x-axis, y-axis, and z-axis may be orthogonal to each other, or may represent different directions that are not orthogonal to each other.

본 명세서에서 사용된 용어들은 단지 특정한 실시 예들을 설명하기 위한 것이고, 본 발명을 제한하려는 것으로 의도되지 않았다. 본 명세서에서 사용된 바와 같이, 문맥상 명백하게 다르게 뜻하지 않는 한, 단수 형태 “하나”는 복수의 형태도 포함하는 것으로 의도된다. “구성되는”, “구성되고 있는”, “포함하는”, 그리고 “포함하고 있는” 용어들이 본 명세서에서 사용될 때, 이러한 용어들은 정해진 특징들, 정수들, 단계들, 동작들, 요소들, 그리고/또는 성분들이 존재를 명시하나, 하나 또는 그 이상의 다른 특징들, 정수들, 단계들, 동작들, 요소들, 성분들, 그리고/또는 그것들의 그룹들의 추가 또는 존재를 불가능하게 하지 않는다. 본 명세서에서 사용된 바와 같이, “그리고/또는” 용어는 하나 또는 그 이상의 열거된 항목들과 연관된 임의의 그리고 모든 조합들 포함한다. “적어도 하나”와 같은 표현들은 요소들 전체 리스트를 수정하고 그리고 리스트의 개별 요소들을 수정하지 않는다.The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the invention. As used herein, the singular forms “a” and “a” are intended to include the plural forms as well, unless the context clearly dictates otherwise. When the terms “consisting of,” “consisting of,” “comprising,” and “comprising” are used herein, such terms refer to defined features, integers, steps, operations, elements, and /or specifies the presence of components, but does not preclude the addition or presence of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations associated with one or more listed items. Expressions like “at least one” modify the entire list of elements and do not modify individual elements of the list.

본 명세서에서 사용된 바와 같이, “대체로”, “약” 용어 그리고 이와 유사한 용어들은 근사치의 용어들로서 사용되고, 정도의 용어들로서 사용되지 않고. 본 발명의 당업자에 의해 식별되는 측정된 또는 계산된 값들의 고유한 변동을 고려하기 위한 것이다. 또한, 본 발명의 실시 예들을 기술할 때 "할 수 있다"의 사용은 "본 발명의 하나 이상의 실시 예들"을 의미한다. 본 명세서에서 사용된 바와 같이, “사용”, “사용되는”, 그리고 “사용된” 용어들은 “이용”, “이용되는”, 그리고 “이용된” 용어들의 동의어로 각각 간주 될 수 있다. 또한, "예시" 용어는 예 또는 그림을 의미한다.As used herein, the terms “generally,” “about,” and similar terms are used as terms of approximation and not as terms of degree. This is to take into account inherent variations in measured or calculated values as recognized by those skilled in the art. Additionally, the use of “may” when describing embodiments of the invention means “one or more embodiments of the invention.” As used herein, the terms “use,” “used,” and “used” may be considered synonyms for the terms “use,” “used,” and “utilized,” respectively. Additionally, the term “exemplary” means an example or illustration.

특정 실시 예는 상이하게 구현 될 수 있는 경우, 특정 프로세스 순서는 설명 된 순서와 다르게 수행 될 수 있다. 예를 들면, 설명된 연속적인 두 개의 프로세서들은 동시에 대체적으로 수행되거나 설명된 순서와 반대 순서로 수행될 수도 있다.Certain embodiments may be implemented differently, and certain process sequences may be performed differently from the described sequence. For example, two sequential processes described may alternatively be performed simultaneously or may be performed in the reverse order from that described.

본 명세서에서 기술된 본 발명의 실시 예에 따른 전자 또는 전기 장치들 그리고/또는 다른 임의의 관련된 장치들 또는 요소들은 임의의 적합한 하드웨어, 펌웨어(예를 들면, Application Specific Integrated Circuit; ASIC), 소프트웨어, 또는 소프트웨어, 펌웨어, 그리고 하드웨어의 조합을 이용하여 구현될 수 있다. 예를 들어, 이러한 장치들의 다양한 요소들은 하나의 집적 회로(Integrated Circuit; IC) 칩 또는 분리된 IC 칩들로 형성될 수 있다. 또한, 이러한 장치들의 다양한 요소들은 유연한 인쇄 회로 필름(Flexible Printed Circuit Film), TCP(Tape Carrier Package), 인쇄 회로 기판(Printed Circuit Board; PCB) 위에 구현되거나 하나의 기판 위에서 형성될 수 있다. 또한, 이러한 장치들의 다양한 요소들은 컴퓨터 프로그램 명령들을 실행하고 본 명세서에서 설명된 다양한 기능들을 수행하기 위한 다른 시스템 요소들과 상호 작용하는 하나 이상의 컴퓨팅 장치들에서 또는 하나 이상의 프로세서들에서 수행되는 프로세스 또는 스레드(Thread)일 수 있다. Electronic or electrical devices and/or any other related devices or elements according to embodiments of the invention described herein may include any suitable hardware, firmware (e.g., Application Specific Integrated Circuit; ASIC), software, Alternatively, it may be implemented using a combination of software, firmware, and hardware. For example, the various elements of these devices may be formed from a single integrated circuit (IC) chip or from separate IC chips. Additionally, various elements of these devices may be implemented on a flexible printed circuit film, a tape carrier package (TCP), a printed circuit board (PCB), or formed on a single substrate. Additionally, various elements of these devices may be processes or threads that execute on one or more processors or on one or more computing devices that execute computer program instructions and interact with other system elements to perform the various functions described herein. It can be (Thread).

컴퓨터 프로그램 명령들은 예를 들면 RAM(Random Access Memory)과 같은 표준 메모리 장치를 이용하는 컴퓨팅 장치에서 구현되는 메모리 내에 저장된다. 컴퓨터 프로그램 명령들은 또한 예를 들면 CD-ROM, 플래시 드라이브(Flash Drive), 또는 그와 같은 다른 일시적이지 않은 컴퓨터 읽기 가능한 미디어(Non-transitory Computer Readable Media)에 저장될 수도 있다. 또한, 본 발명의 당업자는 본 발명의 예시적인 실시 예들의 사상 및 범위를 벗어나지 않고 다양한 컴퓨팅 장치들의 기능은 단일 컴퓨팅 장치에 통합되거나 집적되고, 특정 컴퓨팅 장치의 기능이 하나 또는 그 이상의 다른 컴퓨팅 장치들에 분산될 수 있음을 인식해야 한다. Computer program instructions are stored in memory implemented in a computing device using standard memory devices such as random access memory (RAM), for example. Computer program instructions may also be stored on, for example, a CD-ROM, a flash drive, or other non-transitory computer readable media. Additionally, those skilled in the art will understand that, without departing from the spirit and scope of the exemplary embodiments of the present invention, the functions of various computing devices may be integrated or integrated into a single computing device, and the functions of a particular computing device may be integrated into one or more other computing devices. It must be recognized that it may be distributed across .

다르게 정의되지 않는 한, 본 명세서에서 사용된 모든 용어들(기술적 그리고 과학적 용어들을 포함하는)은 본 발명이 속한 기술 분야에서 당업자에 의해 일반적으로 이해되는 동일한 의미를 갖는다. 일반적으로 사용되는 사전에 정의된 이러한 용어들은 본 명세서 그리고/또는 관련 기술의 문맥에서 그들의 의미와 일치하는 의미를 갖는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의되지 않는 한 이상화되거나 지나지게 형식적인 감각으로 해석되지 않아야 한다.Unless otherwise defined, all terms (including technical and scientific terms) used in this specification have the same meaning as commonly understood by a person skilled in the art to which the present invention pertains. These terms, as defined in commonly used dictionaries, should be construed to have meanings consistent with their meanings in the context of this specification and/or related art and, unless expressly defined herein, not in an idealized or overly formal sense. It should not be interpreted.

도 1은 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처의 블록도이다.1 is a block diagram of a deduplication DRAM system architecture according to an embodiment of the present invention.

도 1을 참조하면, 컴퓨터 메모리로서 기능하기 위해, 중복제거 메모리는 원본 데이터의 컨텐츠 그리고 중복제거된 고유의 메모리 블락들의 세트(Set) 사이의 관계를 기록하기 위한 “변환(Translation)”으로 알려진 기능을 수행하고, 기록된 관계는 압축된 형태로 기록된다. 예를 들면, 원본 데이터의 어드레스들은 검색 테이블(Lookup Table)에 저장될 수 있다.Referring to Figure 1, in order to function as a computer memory, deduplication memory uses a function known as “translation” to record the relationship between the content of the original data and the set of unique deduplicated memory blocks. is performed, and the recorded relationships are recorded in compressed form. For example, addresses of original data may be stored in a lookup table.

일반적으로, CPU의 프로세서(Processor, 110)는 물리적인 메모리(예를 들면, 중복제거 DRAM 메모리 모듈(130))로 직접적인 접근이 어렵고, 상술한 접근은 메모리 라인들(Memory Lines)의 어레이(Array)로 메모리 컨트롤러(120)에 의해 대신 관리된다. CPU 중심의 중복제거 시스템은 데이터가 메모리 시스템에 도달하기 전에 CPU 내부의 캐시 데이터를 구한다.In general, it is difficult for the processor 110 of the CPU to directly access the physical memory (e.g., the deduplication DRAM memory module 130), and the above-described access requires an array of memory lines. ) is instead managed by the memory controller 120. CPU-centric deduplication systems rescue cache data inside the CPU before the data reaches the memory system.

본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(Deduplication DRAM System Architecture, 100)는 종래의 CPU 중심의 중복제거가 아닌 메모리 중심의 중복제거를 사용하고, 이는 중복제거 DRAM 메모리 모듈(130)은 프로세서(110)로부터의 명령들 없이도 메모리 중복제거를 수행하는 것을 의미한다. 중복제거 DRAM 시스템 아키텍처(100)는 또한 메모리의 용량 이득을 증가시키고, 그렇게 함으로써 고용량 메모리 솔루션을 제공하기 위해, 중복제거 DRAM 메모리 모듈(130)에 저장된 설정 가능한 중복제거 알고리즘을 사용한다. 즉, CPU 중심의 중복제거와 달리, 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(100)는 RAM 모듈(예를 들면, 중복제거 DRAM 메모리 모듈(130)) 내 포함된 모든 중복제거 지능(Intelligence)을 갖는다. 따라서, 중복제거는 CPU 모듈(140)이 모르는 사이에 중복제거 DRAM 메모리 모듈(130) 내에서 수행되는 것이 가능하고, 그렇게 함으로써 중복제거 DRAM 메모리 모듈(130)의 용량이 증가되게 한다. 즉, 중복제거는 미세 혹은 정교(fine grain)하며, 그리고 휘발성 메모리(예를 들면, 중복제거 DRAM 메모리 모듈(130)) 내에서 동작하기 때문에, 본 발명의 실시 예에 따른 모든 중복제거 정보는 중복제거 DRAM 메모리 모듈(130) 자체 내에서 발생하고, 반면에 CPU 내 커널 모듈(Kernel Module, 140)은 중복제거 DRAM 메모리 모듈(130) 내에서 수행되는 중복제거 동작들의 세부 사항을 알지 못할 수 있다.The deduplication DRAM system architecture (100) according to an embodiment of the present invention uses memory-centered deduplication rather than the conventional CPU-centered deduplication, and the deduplication DRAM memory module 130 is a processor. This means performing memory deduplication without commands from (110). The deduplication DRAM system architecture 100 also uses a configurable deduplication algorithm stored in the deduplication DRAM memory module 130 to increase the capacity gain of the memory, thereby providing a high capacity memory solution. That is, unlike CPU-centered deduplication, the deduplication DRAM system architecture 100 according to an embodiment of the present invention provides all deduplication intelligence ( Intelligence). Accordingly, deduplication can be performed within the deduplication DRAM memory module 130 without the CPU module 140 knowing, thereby increasing the capacity of the deduplication DRAM memory module 130. That is, since deduplication is fine-grained and operates within volatile memory (e.g., deduplication DRAM memory module 130), all deduplication information according to an embodiment of the present invention is redundant. The deduplication occurs within the DRAM memory module 130 itself, and on the other hand, the kernel module (140) within the CPU may not know the details of the deduplication operations performed within the deduplication DRAM memory module 130.

본 발명의 실시 예는 중복제거 DRAM 메모리 모듈(130)로서 DRAM을 사용하여 설명하였으나, 다른 종류의 메모리가 본 발명의 다른 실시 예들에 사용될 수 있음이 이해되어야 한다. 또한, 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(100)는 다양한 종류의 메모리와 인터페이싱(Interfacing)을 지원하는 것이 가능하다. 즉, 본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈(130)은 메모리 컨트롤러(120)를 통해 다양한 다른 종류의 메모리 인터페이스들과 연관될 수 있다(예를 들면, DDR4(Double Data Rate Fourth-Generation Synchronous Dynamic Random-Access Memory), 컴퓨터와 하나 이상의 주변 장치들을 연결하기 위한 직렬 확장 버스 표준인 PCIe(Peripheral Component Interconnect Express), DDR-T, 그리고 KTI). 따라서, 중복제거 DRAM 시스템 아키텍처(100)에 중복제거 DRAM 메모리 모듈(130)을 집적하기 위해 다른 아키텍처들이 사용될 수 있다는 것을 주목해야 한다.Although embodiments of the present invention have been described using DRAM as the deduplication DRAM memory module 130, it should be understood that other types of memory may be used in other embodiments of the present invention. Additionally, the deduplication DRAM system architecture 100 according to an embodiment of the present invention is capable of supporting various types of memory and interfacing. That is, the deduplication DRAM memory module 130 according to an embodiment of the present invention may be associated with various other types of memory interfaces through the memory controller 120 (for example, DDR4 (Double Data Rate Fourth-Generation Synchronous Dynamic Random-Access Memory), Peripheral Component Interconnect Express (PCIe), a serial expansion bus standard for connecting a computer and one or more peripheral devices, DDR-T, and KTI). Accordingly, it should be noted that other architectures may be used to integrate deduplication DRAM memory module 130 into deduplication DRAM system architecture 100.

또한, 본 발명의 실시 예를 구현하기 위해, 기존 DRAM 메모리 모듈에 약간의 변화(예를 들면, 드라이버 업그레이드(Driver Upgrade))가 있을 수 있지만, 소프트웨어 구현은 운영 체제(Operating System; OS)/CPU 모듈(140) 또는 프로세서(110)의 물리적인 변화 없이 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(100)를 사용하게 할 수 있다.Additionally, in order to implement embodiments of the present invention, there may be some changes to the existing DRAM memory module (e.g., driver upgrade), but the software implementation is based on the operating system (OS)/CPU. The deduplication DRAM system architecture 100 according to an embodiment of the present invention can be used without physically changing the module 140 or the processor 110.

본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(100)는 중복제거, 컨텐츠 주소부여(Content Addressability), 보안(Security), 메모리 내 처리(Processor-in-memory; PIM), 연관된 어드레스가 그것에 의하여 DRAM 내 데이터 비트가 열 어드레스 및 행 어드레스 등의 교차점에 위치되는 셀에 저장되는 행 어드레스인 것을 DRAM에 알려주기 위해 DRAM에 전송된 신호인 RAS(Row Address Strobe)와 같은 DRAM의 지능적인 프로토콜을 위해 중복제거 DRAM 메모리 모듈(130)에 SoC(System on Chip)를 구현할 수 있다.The deduplication DRAM system architecture 100 according to an embodiment of the present invention includes deduplication, content addressability, security, processor-in-memory (PIM), and associated addresses. For DRAM's intelligent protocols such as RAS (Row Address Strobe), which is a signal sent to DRAM to inform DRAM that the data bit in DRAM is a row address stored in a cell located at the intersection of column address and row address. A System on Chip (SoC) can be implemented in the deduplication DRAM memory module 130.

중복제거 DRAM 시스템 아키텍처(100)는 또한 프로세서(110)가 메모리 컨트롤러(120)와 관련된 가상 밀도 관리(Virtual Density Management), 스마트 데이터 배치(Smart Data Placement), 그리고 DRAM 지능적인 APIs(Application Programming Interfaces), 등을 가능하게 하는 것을 야기하는 스마트 시스템 소프트웨어(Smart System Software)를 가질 수 있다.Deduplication DRAM system architecture 100 also allows processor 110 to implement virtual density management, smart data placement, and DRAM intelligent application programming interfaces (APIs) associated with memory controller 120. , etc. may have Smart System Software that causes it to be possible.

중복제거 DRAM 메모리 모듈(130)은 다양한 폼 팩터들(form factors, 예를 들면, DIMM(Dual In-line Memory Module), 2.5In, FHHL(Full Height Half Length), HHHL(Half Height Half Length), FHFL(Full Height Full Length), 등)의 고용량 DRAM 메모리 모듈과 같은 3DS DRAM 구성 요소들을 더 가질 수 있다.The deduplication DRAM memory module 130 has various form factors (e.g., DIMM (Dual In-line Memory Module), 2.5In, FHHL (Full Height Half Length), HHHL (Half Height Half Length), It may have additional 3DS DRAM components such as high-capacity DRAM memory modules (Full Height Full Length (FHFL), etc.).

따라서, 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처(100)를 사용하는 메모리 중심의 중복제거 시스템을 제공하는 것에 의해, 중복제거 쓰기 프로세스(Deduplicate Write Process)는 메모리 인터페이스에서 직접적으로 수행될 수 있고, 그렇게 함으로써 중복제거 DRAM 메모리 모듈(130)의 용량이 증가된다.Therefore, by providing a memory-centric deduplication system using the deduplication DRAM system architecture 100 according to an embodiment of the present invention, the deduplicate write process can be performed directly at the memory interface. There is, and by doing so, the capacity of the deduplication DRAM memory module 130 is increased.

도 2는 도 1의 실시 예의 중복제거 DRAM 메모리 모듈 내 메모리 형태들의 블록도이고, 도 3은 도 2의 실시 예의 해시 테이블 메모리의 해시 테이블의 블록도이다.FIG. 2 is a block diagram of memory types in the deduplication DRAM memory module of the embodiment of FIG. 1, and FIG. 3 is a block diagram of a hash table of the hash table memory of the embodiment of FIG. 2.

도 2를 참조하면, 본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈(130)은 중복제거 알고리즘 아키텍처를 가질 수 있고, 여기서 중복제거 메모리 DRAM 모듈(130) 내부의 메모리 영역은 3개의 다른 영역들로 분류된다. 3개의 다른 영역들은 중복제거된 데이터 블락들(Blocks of data)이 저장되는 위치를 나타내기 위한 어드레스 검색 테이블 메모리(Address Lookup Table Memory; 이하 ALUTM, 210), 중복제거된 데이터 블락들을 저장하기 위한 해시 테이블 메모리(Hash Table Memory, 220), 그리고 해시 테이블 메모리의 해시 테이블의 해시 웨이들(Hash ways)이 가득 찬 때 데이터를 저장하기 위한 초과/버퍼 메모리(Overflow/Buffer Memory, 230)를 포함한다.Referring to FIG. 2, the deduplication DRAM memory module 130 according to an embodiment of the present invention may have a deduplication algorithm architecture, where the memory area inside the deduplication memory DRAM module 130 is divided into three different areas. It is classified as The three other areas are Address Lookup Table Memory (ALUTM, 210) to indicate the location where deduplicated blocks of data are stored, and a hash to store deduplicated data blocks. It includes a table memory (Hash Table Memory, 220), and an Overflow/Buffer Memory (230) for storing data when the hash ways of the hash table are full.

데이터 블락이 중복제거 DRAM 메모리 모듈(130)로 입력될 때, 중복제거 알고리즘은 데이터 블락이 새로운 것인지, 이전에 저장되지 않은 ALUTM(210) 내 임의의 대응하는 어드레스가 없는 데이터 블락인지를 결정하기 위해 동작할 수 있다. 이러한 동작을 수행하기 위해, 중복제거 알고리즘은 ALUTM(210)에 접근할 것이다. 동일한 데이터 블락들은 단지 하나의 항목으로 저장되는 것을 보장하기 위해, ALUTM(210) 내 포인터(예를 들면, 아래의 도 5에서 설명되는 물리적인 라인 ID(Physical Line ID; PLID))는 해시 테이블 메모리(220)에 동일한 데이터 블락 저장 위치를 나타낸다. 즉, ALUTM(210)은 해시 테이블 내에서 검색 어드레스 맵핑 포인터(Lookup Address Mapping Pointer, 예를 들면 PLID)와 연관되는 위치들(예를 들면, 어드레스들)을 위한 저장 장치이다. 따라서, 데이터 블락이 해시 테이블 메모리(220)에 이전에 저장되었다면, ALUTM(210) 내 포인터는 동일한 데이터 블록이 저장된 해시 테이블 메모리(220)의 어드레스를 가리키는 것이 가능하고, 그렇게 함으로써 데이터 블락의 중복 카피를 저장할 필요를 제거하고, 중복제거 DRAM 메모리 모듈(130)의 용량은 증가한다.When a block of data is input to the deduplication DRAM memory module 130, the deduplication algorithm is used to determine whether the data block is new or a data block without any corresponding address in the ALUTM 210 that has not been previously stored. It can work. To perform this operation, the deduplication algorithm will access ALUTM 210. To ensure that identical data blocks are stored as only one entry, a pointer (e.g., a Physical Line ID (PLID), as described in Figure 5 below) within ALUTM 210 is stored in the hash table memory. The same data block storage location is indicated at 220. That is, the ALUTM 210 is a storage device for locations (eg, addresses) associated with a lookup address mapping pointer (eg, PLID) in a hash table. Therefore, if a data block has previously been stored in hash table memory 220, it is possible for a pointer in ALUTM 210 to point to an address in hash table memory 220 where the same data block is stored, thereby creating a redundant copy of the data block. The need to store is eliminated, and the capacity of the deduplication DRAM memory module 130 is increased.

도 3을 참조하면, 메모리 중복제거는 높은 수준의 중복제거, 그리고 그에 대응하는, 중복제거 DRAM 메모리 모듈(130)의 큰 메모리 용량을 보장하기 위해, 상대적으로 효율적이지만 간단한 다중 방식 해시 테이블/해시 어레이(Multiple-way Hash Table/Hash Array, 380)를 사용할 수 있다. 본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈(130)의 해시 테이블 메모리(220)는 하나 이상의 해시 테이블들(380)이 있고, 데이터 블락이 유일한지 여부를 결정하는데 있어서 그것들의 유용성을 위해 사용된다. 해시 테이블(380)은 해시 버킷들(Hash Buckets, 행들, 310) 그리고 해시 웨이들(Hash Ways, 열들, 320)로 구성되는 2차원 어레이로 생각될 수 있다. 즉, 본 발명의 실시 예에 따른 해시 테이블(380)은 m개의 해시 버킷들(310)을 행으로 포함하고, 각 해시 버킷(310)은 해시 버킷(310)의 용량을 나타내는 데이터 라인들/슬롯들/항목들/해시 웨이들(320)의 n개 열들을 포함한다(m 및 n은 정수).Referring to Figure 3, memory deduplication uses a relatively efficient but simple multi-way hash table/hash array to ensure a high level of deduplication and, correspondingly, a large memory capacity of the deduplication DRAM memory module 130. (Multiple-way Hash Table/Hash Array, 380) can be used. The hash table memory 220 of the deduplicated DRAM memory module 130 according to an embodiment of the present invention has one or more hash tables 380 and is used for their usefulness in determining whether a data block is unique. do. The hash table 380 can be thought of as a two-dimensional array consisting of hash buckets (rows, 310) and hash ways (columns, 320). That is, the hash table 380 according to an embodiment of the present invention includes m hash buckets 310 in rows, and each hash bucket 310 has data lines/slots indicating the capacity of the hash bucket 310. Contains n columns of fields/items/hash wads 320 (m and n are integers).

해시 테이블 메모리(220)의 해시 웨이들(320)에 데이터 블락들이 저장되고, ALUTM(210)의 어드레스 포인터들은 특정 데이터 블락과 연관된 특정 해시 버킷(310) 그리고 특정 해시 웨이(320)를 나타내는 값들을 저장할 수 있다. 따라서, 어드레스(예를 들면, 64-비트 어드레스)는 ALUTM(210)로 색인될 수 있고, 그것으로부터, 어드레스에 대응하는 데이터 블락을 저장하는 해시 테이블(380)의 해시 버킷(310)의 연관된 해시 웨이(320)가 결정될 수 있다.Data blocks are stored in the hash ways 320 of the hash table memory 220, and the address pointers of the ALUTM 210 contain values representing a specific hash bucket 310 and a specific hash way 320 associated with a specific data block. You can save it. Accordingly, an address (e.g., a 64-bit address) can be indexed into the ALUTM 210, and from there, the associated hash of the hash bucket 310 of the hash table 380 storing the data block corresponding to the address. Way 320 may be determined.

따라서, 쓰기 프로세스(예를 들면, 64-바이트(64-byte)의 데이터 쓰기) 동안, 쓰기 요청(즉, 하나 이상의 데이터 블락들로 구성되는 인커밍(Incoming) 데이터를 기록하기 위한 요청)을 수신한 후, 해시 값이 해당 해시 버킷(310) 및 해시 웨이(320)가 결정될 수 있기 위해 해시 함수/해시 알고리즘(즉, 인커밍 데이터가 “해시됨”)을 이용하여 인커밍 데이터에 대해 계산된다. 따라서, 해시 값은 데이터 블락이 어디에 배치되는지를 나타내거나, 또는, 데이터 블락(예를 들면, 64 바이트의 데이터 블락)이 중복인 경우, 해시 값은 데이터 블락이 해시 테이블 메모리(220)에 이미 저장된 위치를 나타낸다. 메모리에 데이터 컨텐츠가 추가됨에 따라, m 해시 버킷(310) 중 일부는 먼저 포화 상태에 도달할 수 있다. 따라서, 중복제거 DRAM 메모리 모듈(130)은 해시 테이블 메모리(220)로 들어갈 수 없는 데이터 블락들을 저장하기 위한 버퍼 메모리(230)를 사용하는 초과 제공(Overflow Provision)을 포함한다. 그 후, 원본 검색 어드레스(Original Lookup Address)는 검색될 수 있고, ALUTM(210)은 인커밍 데이터의 해싱(Hashing)으로부터 계산된 검색 어드레스에 따라 업데이트될 수 있다. Therefore, during a write process (e.g., writing 64-bytes of data), a write request (i.e., a request to write incoming data consisting of one or more data blocks) is received. Then, a hash value is calculated for the incoming data using a hash function/hash algorithm (i.e., the incoming data is “hashed”) so that the corresponding hash bucket 310 and hash way 320 can be determined. . Accordingly, the hash value indicates where the data block is placed, or, if the data block (e.g., a 64-byte data block) is redundant, the hash value indicates where the data block is already stored in the hash table memory 220. Indicates the location. As data content is added to memory, some of the m hash buckets 310 may reach saturation first. Accordingly, the deduplication DRAM memory module 130 includes an overflow provision that uses the buffer memory 230 to store data blocks that cannot enter the hash table memory 220. The Original Lookup Address can then be retrieved and ALUTM 210 updated according to the lookup address calculated from hashing the incoming data.

시도된 쓰기 프로세스 동안, 해시 웨이들(320) 모두가 가득 찬 것으로 판단될 때, 버퍼 메모리(230)가 사용될 수 있다. 즉, 해시 테이블(380)이 가득 차면, 데이터는 버퍼 메모리(230)의 중복제거 되지 않은 초과 영역(non-deduplicated overflow region)에 배치될 수 있고, 그렇게 함으로써 중복제거 수준이 감소된다. 따라서, 버퍼 메모리(230)는 근본적으로 예약된, 표준의, 간단한 초과 메모리 영역이고, 가상 밀도 과잉-제공 관리 초과(virtual density over-provision management overflow)를 구현하기 위한 SOC 메모리 버퍼/캐시로 제공된다. 데이터가 버퍼 메모리(230)에 일단 배치되면, 더 이상 해시되지 않고, 그리고 더 이상 중복제거될 수 없다.During an attempted write process, when all of the hash waddles 320 are determined to be full, the buffer memory 230 may be used. That is, when the hash table 380 is full, data may be placed in a non-deduplicated overflow region of the buffer memory 230, thereby reducing the level of deduplication. Accordingly, buffer memory 230 is essentially a reserved, standard, simple excess memory area and serves as a SOC memory buffer/cache to implement virtual density over-provision management overflow. . Once data is placed in buffer memory 230, it can no longer be hashed and can no longer be deduplicated.

컴퓨터 어플리케이션이 여러 번에 걸쳐 메모리에 동일한 시퀀스의 값을 저장하도록 시도하면, ALUTM(210)에 저장된 변환 어레이의 다중 항목들은 해시 테이블 메모리(220)에 저장된 데이터 블록의 동일한 어드레스를 참조하고, 여기서, ALUTM(210)의 항목들은 원본의 고유한 데이터 블록들보다 작고, 그렇게 함으로써 효율적인 압축이 달성될 수 있다.When a computer application attempts to store the same sequence of values in memory multiple times, multiple items in the translation array stored in ALUTM 210 reference the same address of a block of data stored in hash table memory 220, where: The items of ALUTM 210 are smaller than the original unique data blocks, thereby allowing efficient compression to be achieved.

m개의 해시 버킷들(310) 각각은 해시 버킷(310)의 해당 해시 웨이(320)를 나타내기 위한 고유한 식별자를 포함하는 참조/빈도 카운트 라인(340), 그리고 서명 라인(Signature Line, 330)을 더 포함할 수 있다. 각 해시 버킷(310)을 위한, 해당 서명 라인(330)은 비어있는 라인(Free Line)을 나타내기 위한 0, 또는 컨텐츠 검색 최적화를 위한 0이 아닌 이차적인 해시 값 중 어느 하나를 포함한다. 따라서, 컨텐츠 검색을 위해, 일반적으로 서명 라인의 0 항목에 기초하여 비어 있는 라인이 할당되도록 요청하는 서명 일치가 없거나, 후속의 데이터 라인 읽기 및 컨텐츠 비교가 중복의 존재를 확인하게끔 하는 하나의 서명 일치가 존재한다. m개의 해시 버킷들(310) 각각은 아래의 도 5a, 도 5b, 및 도 5c에서 설명되는 합워드 라인(Hopword Line)을 더 포함할 수 있다.Each of the m hash buckets 310 has a reference/frequency count line 340 containing a unique identifier to indicate the corresponding hash way 320 of the hash bucket 310, and a signature line 330. It may further include. For each hash bucket 310, the corresponding signature line 330 includes either 0 to indicate a free line or a non-zero secondary hash value for content search optimization. Therefore, for content retrieval, typically either there is no signature match requiring that an empty line be assigned based on the zero occurrence of the signature line, or one signature match such that subsequent data line reads and content comparisons confirm the presence of a duplicate. exists. Each of the m hash buckets 310 may further include a hopword line described in FIGS. 5A, 5B, and 5C below.

물리적인 라인 ID(PLID, 350)는 데이터를 해시 테이블(380)로 색인 하기 위해 사용될 수 있다. PLID(350)는 ALUTM(210), 해시 테이블 메모리(220), 또는 버퍼 메모리(230) 중 어느 하나로 구별되는 메모리 라인들을 식별하기 위해 사용될 수 있다. 각 메모리 라인은 해시 테이블(380)에 고유의 컨텐츠를 저장하기 위한 데이터 라인, 또는 각각의 PLID들(350)을 저장하고 프로세서 버스 어드레스(Processor Bus Address)로부터 해시 테이블(380)의 중복제거된 데이터 블락으로의 맵핑을 제공하기 위한 변환 라인(Translation Line) 중 어느 하나에 관련될 수 있다. 즉, 버스 어드레스는 변환 라인을 식별하고, 차례로 특정 데이터 라인을 지정하는 관련 있는 PLID(350)가 포함된 변환 라인 내 항목을 더 식별한다. 따라서, PLID(350)는 초과 태그(Overflow Tag)를 포함하도록 구현될 수 있고, 특정 해당 해시 테이블(350), 해당 해시 버킷 비트들, 그리고 PLID(350)에 대응하는 데이터 블락의 위치를 나타내는 해당 웨이 비트들(Way Bits)을 나타내기 위한 데이터를 포함할 수 있다.The physical line ID (PLID, 350) can be used to index data into the hash table (380). PLID 350 may be used to identify distinct memory lines in either ALUTM 210, hash table memory 220, or buffer memory 230. Each memory line is a data line for storing unique content in the hash table 380, or stores each PLID 350 and deduplicated data of the hash table 380 from the processor bus address. It may be related to any one of the translation lines to provide mapping to blocks. That is, the bus address identifies the conversion line, which in turn further identifies the item within the conversion line containing the associated PLID 350 that specifies the specific data line. Accordingly, the PLID 350 may be implemented to include an overflow tag, a specific hash table 350, corresponding hash bucket bits, and a corresponding tag indicating the location of the data block corresponding to the PLID 350. It may contain data representing way bits.

각 해시 버킷(310)에는, 해시 버킷들(310)로 데이터를 색인 하기 위해 사용되는 log2(m)-비트 해시를 생성하는 알고리즘인 해시 함수/해시 알고리즘 “h(x)”와 연관된 것이 있다(예를 들면, 해시 테이블(380)이 8개 물리적인 해시 버킷들(310)을 갖고 있다면, 해시 테이블(380)의 해시 함수는 3-비트 해시를 생성할 것이다.). 즉, 해시 함수 h(x)는 상대적으로 큰 입력 데이터 양(예를 들면, 메모리에 저장되는 입력 데이터 파일)을 해시 함수 h(x)로 입력하는 것을 가능하게 하고, 출력 데이터(예를 들면, 해시 값)의 상당히 다른 작은 양이 해시 테이블(380)에 저장되도록 하기 위해 해시 함수 h(x)에 의해 생성되고 출력된다. 따라서, 서로 다른 데이터 세트들은 가끔 같은 해시 값으로 해시될 수 있으므로, 해시 함수 h(x)는 압축을 가능하게 한다.Each hash bucket 310 has an associated hash function/hash algorithm “h(x)”, which is an algorithm that generates a log2(m)-bit hash used to index data into hash buckets 310 ( For example, if hash table 380 has eight physical hash buckets 310, the hash function of hash table 380 will generate a 3-bit hash.) In other words, the hash function h(x) makes it possible to input a relatively large amount of input data (e.g., an input data file stored in memory) into the hash function h(x), and output data (e.g., Significantly different small quantities of hash values) are generated and output by the hash function h(x) to be stored in the hash table 380. Therefore, the hash function h(x) enables compression because different data sets can sometimes hash to the same hash value.

중복제거된 메모리로의 쓰기에 있어서, 데이터 파일에 대응하는 쓰기 요청을 수신한 후, 중복제거된 메모리는 첫 번째로 동일/중복 데이터 블락이 이미 해시 테이블(380)에 저장되어 있는지 여부를 결정하기 위해 중복 검색을 수행한다. 그러면 중복제거된 메모리는 ALUTM(210) 그리고 해시 테이블 메모리(220)의 항목들을 업데이트한다. 예를 들면, 참조/빈도 카운트 라인(340)은 해시 테이블 메모리(220) 내 원본 검색 어드레스(즉, 1씩 감소되는)의 빈도 카운트를 업데이트하여 업데이트될 수 있고, 참조 카운트가 0에 도달하면, 해당 데이터 블락은 삭제된다. 뿐만 아니라, 새로운 PLID(350)가 ALUTM(210)에서 생성된다.In writing to deduplicated memory, after receiving a write request corresponding to a data file, the deduplicated memory first determines whether an identical/duplicate data block is already stored in the hash table 380. Perform a duplicate search for Then, the deduplicated memory updates the items of the ALUTM (210) and the hash table memory (220). For example, reference/frequency count line 340 may be updated by updating the frequency count of the original search address (i.e., decremented by 1) in hash table memory 220, and when the reference count reaches 0, The corresponding data block is deleted. In addition, a new PLID 350 is created in ALUTM 210.

컨텐츠 검색으로 지칭될 수 있는 중복 검색 동안, 중복제거 DRAM 메모리 모듈(130)은 쓰여지기 위해 의도되는 데이터 파일 또는 그 일부의 기존의 인스턴스들(Pre-existing instances)을 찾는다. 해시 테이블 메모리(220)에 저장된 데이터의 기존의 인스턴트가 있는 경우, 중복 검색은 해당 데이터 라인을 가리키는 PLID(350)를 돌려준다. 데이터의 기존의 인스턴스를 찾지 못하면, 해당 데이터 블락을 위한 새로운 데이터 라인이 해시 테이블(380)의 공간을 할당하고, 그곳에 컨텐츠를 쓰고, 그리고 새로운 PLID(350)를 돌려주는 것에 의해 생성된다. 컨텐츠는 버스 어드레스에 의해 결정된 오프셋에서 ALUTM(210)에 PLID(350)을 저장하는 것에 의해 기록될 수 있다.During duplicate search, which may be referred to as content search, deduplication DRAM memory module 130 finds pre-existing instances of a data file or portion thereof that is intended to be written. If there is an existing instance of data stored in hash table memory 220, duplicate search returns a PLID 350 pointing to that data line. If an existing instance of the data is not found, a new data line for that data block is created by allocating space in the hash table 380, writing the content there, and returning a new PLID 350. Content can be written by storing PLID 350 in ALUTM 210 at an offset determined by the bus address.

해시 테이블(380)로 데이터 라인 “C”를 삽입하기 위해, C의 해당 해시 함수 “h(C)”는 수학적 연산으로 계산될 수 있다. 데이터 라인 C를 위해 해시 함수가 계산되면, 해시 테이블 T(h(C))의 행은 데이터 라인 C의 삽입을 허용하기 위해 사용 가능한 충분한 공간이 있는지를 알기 위한(또는 해시 테이블(380)에 중복되는 데이터 라인 C가 이미 있는지를 알기 위한) 컨텐츠 검색 동작에 의해 체크될 수 있다. To insert data line “C” into hash table 380, the corresponding hash function “h(C)” of C can be calculated with a mathematical operation. When a hash function is computed for data line C, the rows of the hash table T(h(C)) are This can be checked by a content search operation (to see if the corresponding data line C already exists).

전술한 바와 같이, 해시 테이블(380)의 각 해시 버킷(310)은 추가적으로 서명 라인(330) 그리고 참조/빈도 카운트 라인(340)을 더 포함하고, 서명 라인(330)의 서명들(332) 그리고 참조/빈도 카운트 라인(340)의 참조 카운트들(342)이 여러 수량들을 각 해시 버킷(310)에 채우기에 충분하도록 작게 설계될 수 있다는 사실로 인해 서명 라인(330) 그리고 참조/빈도 카운트 라인(340) 각각은 단지 하나의 해시 웨이(320)를 점유할 수 있다. 즉, 해시 테이블(380)에서, 해시 테이블(380)의 하나의 전체 열은 각각 해시 버킷들(310)에 속하는 서명 라인들(330)에 할당될 수 있고, 하나의 전체 열은 각각 해시 버킷들(310)에 속하는 참조/빈도 카운트 라인들(340)에 할당될 수 있다.As described above, each hash bucket 310 of hash table 380 additionally includes a signature line 330 and a reference/frequency count line 340, and the signatures 332 of the signature line 330 and Due to the fact that the reference counts 342 of the reference/frequency count line 340 can be designed to be small enough to fill each hash bucket 310 with multiple quantities, the signature line 330 and the reference/frequency count line ( 340) Each can occupy only one hash way 320. That is, in the hash table 380, one entire row of the hash table 380 may be assigned to signature lines 330 belonging to each hash bucket 310, and one entire row may be assigned to each hash bucket 310. Reference/frequency count lines 340 belonging to 310 may be assigned.

데이터 라인 “C”와 같은 실제 데이터 블락들이 해시 테이블(380)에 더해지면서, 해시 테이블(380)에는 ALUTM(210)에 저장된 해당 PLID(350)를 각 개별적인 중복제거된 데이터 라인의 해시 테이블(380) 내 어드레스에 매칭함으로써 나중에 접근될 수 있는 데이터가 채워지기 시작한다. 해시 테이블(380) 내 어드레스는 데이터가 위치하는 특정 해시 버킷(310) 그리고 특정 해시 웨이(320)를 식별하는 것(예를 들면, 해시 테이블(380)의 행 및 열을 식별하는 것)에 의해 식별될 수 있다. 따라서, 해시 테이블(380)에 저장되는 각 데이터 블락을 위해, 데이터 블락의 위치를 가리키는 ALUTM(210)에 저장되는 해당 PLID들(380)에 의해 식별되는 하나 이상의 해당 어드레스들이 있다. 해시 테이블(380)이 데이터로 가득 채워지면, 새로이 도입되는 데이터는 중복제거 되지 않은 초과 영역/버퍼 메모리(230)에 배치되고, 그렇게 함으로써 중복제거 수준이 감소된다.As actual data blocks such as data line “C” are added to the hash table 380, the hash table 380 stores the corresponding PLID 350 stored in the ALUTM 210 in the hash table 380 of each individual deduplicated data line. ) By matching my address, data that can be accessed later begins to fill in. The address within the hash table 380 is determined by identifying a specific hash bucket 310 and a specific hash way 320 where the data is located (e.g., identifying the rows and columns of the hash table 380). can be identified. Accordingly, for each data block stored in hash table 380, there are one or more corresponding addresses identified by corresponding PLIDs 380 stored in ALUTM 210 that point to the location of the data block. Once the hash table 380 is filled with data, newly introduced data is placed in the non-deduplicated excess area/buffer memory 230, thereby reducing the level of deduplication.

중복제거된 메모리로부터의 읽기에서, 중복제거된 메모리는 해시 테이블 메모리(220)로부터의 데이터 라인 또는 버퍼 메모리(230)로부터의 초과 라인 중 어느 하나의 복사본을 돌려준다. 예를 들면, 저장된 데이터가 읽혀지는 때, 읽기 요청을 수신한 후, 해시 테이블(380)의 해당 어드레스들이 ALUTM(210)에 저장된 PLID들(350)을 이용하여 검색된다. 그러면, 각 어드레스에 대응하는 블락들이 검색되고 재조립된다.On a read from deduplicated memory, the deduplicated memory returns a copy of either the data line from hash table memory 220 or the excess lines from buffer memory 230. For example, when stored data is read, after receiving a read request, corresponding addresses in hash table 380 are searched using PLIDs 350 stored in ALUTM 210. Then, blocks corresponding to each address are searched and reassembled.

도 4는 본 발명의 실시 예에 따른 복수의 해시 테이블 어레이의 블록도이다.Figure 4 is a block diagram of a plurality of hash table arrays according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 실시 예에 따른 중복제거 DRAM 시스템 아키텍처는 복수의 해시 테이블들(Multiple Hash Tables; MHT, 480)로 구성되는 해시 테이블 어레이(400)를 사용하고, 각각의 복수의 해시 테이블들(480)은 m개의 해시 버킷들(410)을 포함하고, 각 해시 버킷(410)은 n개의 해시 웨이들(420)을 포함한다. 비록, 본 발명의 실시 예는 해시 테이블들(480) 그리고 해시 버킷들(410)을 그것들의 크기가 일정한 것으로 설명하지만(예를 들면, m 그리고 n의 정수로서 설명된), 다른 실시 예들에 있어서, 동일한 복수의 해시 테이블 어레이 내에서 다른 해시 테이블들은 다른 수의 해시 버킷들을 가질 수 있고, 그리고 유사하게, 복수의 해시 테이블 어레이 내에서 다른 해시 버킷들, 또는 심지어 동일한 해시 테이블 내에서, 다른 수의 해시 웨이들을 가질 수 있다. 뿐만 아니라, 복수의 해시 테이블들(480)이 집합적으로 이용되어도, 어느 측면에서는, 서로 다른 해시 테이블들(480)은 서로 독립적이다(예를 들면, 서로 다른 해시 테이블들(480)은 각각의 서로 다른 해시 함수들을 가질 수 있거나, 공통된 해시 함수를 가질 수 있다.).Referring to FIG. 4, the deduplication DRAM system architecture according to an embodiment of the present invention uses a hash table array 400 composed of multiple hash tables (MHT, 480), each of a plurality of Hash tables 480 include m hash buckets 410, and each hash bucket 410 includes n hash ways 420. Although embodiments of the invention describe hash tables 480 and hash buckets 410 as being constant in size (e.g., with m and n described as integers), in other embodiments , different hash tables within the same plurality of hash table arrays may have different numbers of hash buckets, and similarly, within the plurality of hash table arrays, different hash buckets, or even within the same hash table, different numbers of hash buckets. You can have hash waddles. Furthermore, even if a plurality of hash tables 480 are used collectively, in some respects, different hash tables 480 are independent of each other (e.g., different hash tables 480 are independent of each other). You can have different hash functions, or you can have a common hash function).

해시 테이블의 어레이(400)가 k개의 병렬 해시 테이블들(T1, T2, …, Tk, k는 정수)을 포함하고, 각 해시 테이블(480)은 분리되고, 독립적인 해시 함수들(h1(x), h2(x), …, hk(x))을 각각 사용하는 경우, 각각의 해시 테이블들(T1, T2, …, Tk)은 m개의 해시 버킷들(410)을 포함하기 때문에, 해시 함수들(h1(x), h2(x), …, hk(x))은 여전히 log2(m)-비트의 해시들을 생성하고, 그리고 각 물리적인 버킷(410)은 n개의 해시 웨이들(420)을 포함하기 때문에, 3차원(3D)의 해시 테이블 어레이(예를 들면, 복수의 해시 테이블들의 어레이)의 용량은 m x n x k 다.The hash table array 400 includes k parallel hash tables (T 1 , T 2 , …, T k , k is an integer), and each hash table 480 has separate, independent hash functions ( When using h 1 (x), h 2 (x), …, h k (x)), each hash table (T 1 , T 2 , …, T k ) has m hash buckets ( 410), the hash functions h 1 (x), h 2 (x), ..., h k (x)) still produce hashes of log2(m)-bits, and each physical bucket Since 410 includes n hash ways 420, the capacity of a three-dimensional (3D) hash table array (eg, an array of multiple hash tables) is mxnxk.

각 해시 테이블(480)은 어떻게 데이터가 색인되는지 결정하는 하나의 해시 함수와 부합할 수 있다. 쓰여지기 위한 인커밍 데이터를 해싱하는 것에 의해, 결과 계산(예를 들면, 검색 어드레스 및 키를 포함하는 해시 값)은 키 그리고 값이 비교될 수 있고, 그리고 값이 일치하는 경우, 해당 해시 버킷(410)의 참조/빈도 카운트 라인(340)은 증가되고, 그렇게 함으로써 ALUTM(210)의 추가적인 PLID(350)는 특정 라인을 가리키는 것을 나타낸다.Each hash table 480 may correspond to one hash function that determines how the data is indexed. By hashing the incoming data to be written, the resulting computation (e.g., a hash value containing the search address and key) can be compared, and if the values match, the corresponding hash bucket ( The reference/frequency count line 340 of 410 is incremented, thereby indicating that the additional PLID 350 of ALUTM 210 points to that particular line.

종래 해시 테이블들과 달리, 본 발명의 실시 예에 따른 복수의 해시 테이블들(480)은 복수의 가상 해시 버킷들/가상 버킷들(Virtual Bucket; VB, 460)을 포함하고, 가상 버킷들(460)은 복수의 물리적인 해시 버킷들/물리적인 버킷들(410)로 구성된다. 이하에서 “물리적인 버킷”은 전술한 해시 버킷들(310)을 나타낼 것이고, 가상 버킷들(460)로부터 전술한 해시 버킷들(310)을 구별하기 위해 사용될 것이다.Unlike conventional hash tables, the plurality of hash tables 480 according to an embodiment of the present invention includes a plurality of virtual hash buckets/virtual buckets (VB, 460), and virtual buckets 460 ) consists of a plurality of physical hash buckets/physical buckets 410. Hereinafter, “physical bucket” will refer to the above-described hash buckets 310 and will be used to distinguish the above-described hash buckets 310 from virtual buckets 460.

각 가상 버킷(460)은 해당 해시 테이블(480)의 m개 물리적인 버킷들(410)의 H를 포함할 수 있고, H는 m 보다 작은 정수이다. 그러나, 동일한 해시 테이블(480)에서 가상 버킷들(460) 중 다른 가상 버킷들은 하나 이상의 물리적인 버킷들(410)을 공유할 수 있음을 주목해야 한다. 후술하는 바와 같이, 본 발명의 실시 예에 따른 가상 버킷들(460)을 사용하는 것에 의해, 제 4 차원이 3차원의 복수의 해시 테이블 어레이에 더해진다. 따라서, 데이터를 배치하고 정렬하는데 있어서 큰 유연성이 제공될 수 있고, 그렇게 함으로써 중복제거 DRAM 시스템 아키텍처의 효율 및 압축 비율이 높아진다.Each virtual bucket 460 may include H of m physical buckets 410 of the hash table 480, and H is an integer smaller than m. However, it should be noted that other of the virtual buckets 460 in the same hash table 480 may share one or more physical buckets 410. As will be described later, by using virtual buckets 460 according to an embodiment of the present invention, a fourth dimension is added to the three-dimensional multiple hash table array. Accordingly, great flexibility can be provided in placing and sorting data, thereby increasing the efficiency and compression ratio of the deduplication DRAM system architecture.

본 발명의 실시 예는 또 다른 수준의 데이터 배치 유연성을 높이기 위해 가상 버킷들(460)을 사용하는데, 다른 가상 버킷들(460)에 의해 공유되는 다른 물리적인 버킷들(410)을 자유롭게 하기 위해, 해시 테이블들(480) 중 어느 하나에 저장된 데이터 블락은 해당 가상 버킷(460) 내에서, 또는 다른 물리적인 버킷(410)으로 움직이게 될 수 있다. 해시 테이블(480) 내에서 공간을 자유롭게 함으로써, 중복제거는 쓸모없거나/중복된 데이터를 제거함으로써 달성될 수 있다. 즉, 본 발명의 실시 예에 따른 가상 버킷들(460)의 사용에 의해, 제한된 해당 위치로의 해시 함수를 이용하여 데이터 라인을 해싱함으로 인하여 야기되는 엄격한 제한은 없고, 그리고 데이터는 “가까운 위치”의 해시 버킷(410)에 배치되는 것이 가능하고, 이는 초기 의도된(그러나 점유된) 물리적인 해시 버킷(410)을 포함하는 동일한 가상 버킷(460) 내에 존재하는 물리적인 버킷(410)을 나타낸다.An embodiment of the present invention uses virtual buckets 460 to increase another level of data placement flexibility, to free up other physical buckets 410 from being shared by other virtual buckets 460: A data block stored in one of the hash tables 480 may be moved within the corresponding virtual bucket 460 or to another physical bucket 410. By freeing up space within hash table 480, deduplication can be achieved by removing useless/duplicate data. That is, by using the virtual buckets 460 according to an embodiment of the present invention, there are no strict restrictions caused by hashing a data line using a hash function to a limited location, and the data is stored in a “near location.” It is possible to place a hash bucket 410 in a hash bucket 410 , which represents a physical bucket 410 that exists within the same virtual bucket 460 that contains the initially intended (but occupied) physical hash bucket 410 .

하나의 예에서, 컨텐츠(예를 들면, 데이터 라인 C)는 k개의 해시 테이블들(T1(h1(C)), T2(h2(C)), …, Tk(hk(C))) 중 어느 하나의 물리적인 버킷들(410) 중 어느 하나로 배치될 수 있다. 만약 데이터 라인 C가 T1(h1(C))에 배치되고자 한다면, 데이터 라인 C가 T1(h1(C))로 표시되는 물리적인 버킷(410)으로 배치되기 위한 요청을 하는 대신에, 본 발명의 실시 예는 하나의 물리적인 버킷(410)보다 더 크고, 그리고 T1(h1(C))으로 표시되는 물리적인 버킷(410) 뿐만 아니라 H의 총 물리적인 버킷들(460)을 포함하는 가상 버킷(460)을 허용한다. 즉, 가상 버킷(460)은 T1(h1(C)), T1(h1(C)+1), T1(h1(C)+2), …, T1(h1(C)+H-1)을 포함하는 해시 테이블(480) 내에서 정렬된 근접적이거나 인접한 H 물리적인 버킷들(410) 총합을 포함한다. In one example, the content (e.g., data line C) is stored in k hash tables T 1 (h 1 (C)), T 2 (h 2 (C)), ..., T k (h k ( C))) may be placed in any one of the physical buckets 410. If data line C wishes to be placed at T1(h1(C)), instead of requesting that data line C be placed into the physical bucket 410 indicated by T1(h1(C)), the method of the present invention An embodiment is a virtual bucket ( 460) is allowed. That is, the virtual bucket 460 has T 1 (h 1 (C)), T 1 (h 1 (C)+1), T 1 (h 1 (C)+2), … , T 1 (h 1 (C)+H-1).

따라서, 가상 버킷들(460)은 데이터 블락들이 해시 테이블(480) 내에서 움직이게 되거나 미래 쓰기 동작들을 위해 공간을 자유롭게 하는 것을 가능하게 한다. 이전에 해시 테이블(480) (해시 테이블(480)의 물리적인 버킷들(410)을 포함하는 가상 버킷들(460) 내)로 들어간 데이터 블락들의 이동을 가능하게 하는 본 발명의 실시 예의 동작은 합스카치(Hopscotch)로 나타낼 수 있다. 메모리 중복제거를 위한 복수의 해시 테이블들(480)을 사용하는 합스카치 동작은 후술하는 바와 같이 개선될 수 있다.Accordingly, virtual buckets 460 allow blocks of data to be moved within hash table 480 or free up space for future write operations. The operation of an embodiment of the invention to enable movement of data blocks previously entered into hash table 480 (within virtual buckets 460 including physical buckets 410 of hash table 480) includes It can be expressed as Hopscotch. The Hapscotch operation using a plurality of hash tables 480 for memory deduplication can be improved as described later.

첫 번째로, 중복제거 DRAM 모듈(130)은 해시 테이블(480)의 해시 함수의 결과로서 해시 테이블(480)로 데이터 라인 C를 삽입하려는 시도를 할 수 있다. 그러나, 종종 다른 데이터 라인이 동일한 해시 함수의 결과로 이전에 해시 테이블(480)에 들어갔을 수 있다. 즉, 다른 데이터 라인들은, 그것이 다름에도 불구하고, 해시 함수의 결과로서 해시 테이블(480)내 동일한 위치에 보내질 수 있다. 데이터 라인 C가 어디에 삽입되는지 결정하기 위해, 동작은 우선 T(h(C))로서 표현되는 물리적인 버킷(410)에서(또는 후속의) 첫 번째로 사용 가능한 물리적인 버킷(410)을 찾을 수 있다.First, deduplication DRAM module 130 may attempt to insert data line C into hash table 480 as a result of the hash function of hash table 480. However, often other data lines may have previously entered hash table 480 as a result of the same hash function. That is, different data lines, despite being different, may be sent to the same location in hash table 480 as a result of the hash function. To determine where data line C is inserted, the operation may first find the first available physical bucket 410 in (or subsequent to) the physical bucket 410, represented as T(h(C)). there is.

따라서, 데이터 라인 C를 어디에 쓸지 결정하는데 있어서, T(h(C))로서 표현되는 초기에 의도된 물리적인 버킷(410)은 점유될 수 있으므로, 첫 번째로 사용 가능한 물리적인 버킷(410, 즉, 데이터 라인이 삽입될 수 있는 첫 번째 빈 공간)은 T(h(C)+f)로서 표현될 수 있고, 여기서 f는 0 이상이다. T(h(C))로서 표현되는 물리적인 버킷(410)이 해당 가상 버킷(460)의 H 물리적인 버킷들(410)의 첫 번째 물리적인 버킷(410)이라 가정하면, 만약 f가 H보다 작다면(즉, 만약 동일 가상 버킷(460) 내 점유되지 않은 물리적인 버킷(410)이 존재하면), 데이터 라인 C는 해당 가상 버킷(460)으로 배치될 수 있다. 유사하게, T(h(C))로서 표현되는 물리적인 버킷(410)이 해당 가상 버킷(460)의 두 번째 물리적인 버킷이면, f가 H-1보다 작으면, 데이터 라인 C는 해당 가상 버킷(460)으로 배치될 수 있다.Therefore, in determining where to spend data line C, the initially intended physical bucket 410, represented as T(h(C)), may be occupied, and thus the first available physical bucket 410, i.e. , the first empty space into which a data line can be inserted) can be expressed as T(h(C)+f), where f is greater than or equal to 0. Assuming that the physical bucket 410 expressed as T(h(C)) is the first physical bucket 410 of the H physical buckets 410 of the corresponding virtual bucket 460, if f is greater than H If it is small (i.e., if there is an unoccupied physical bucket 410 within the same virtual bucket 460), data line C may be placed into the corresponding virtual bucket 460. Similarly, if physical bucket 410, expressed as T(h(C)), is the second physical bucket of the corresponding virtual bucket 460, then if f is less than H-1, then data line C is in the corresponding virtual bucket 460. It can be placed at (460).

그러나, 해당 가상 버킷(460)의 첫 번째 물리적인 버킷(410)이 의도된 물리적인 버킷(410)이라 가정하고, 만약 f가 H보다 크거나 같으면(즉, 가상 버킷(460)의 물리적인 버킷(410)으로 데이터 라인 C가 들어갈 수 없는 경우), 비록 데이터 라인 C가 그것의 가상 버킷(460)과 들어맞지 않을 지라도, 동작은 다음과 같은 방식으로 가상 버킷(460) 내 빈 공간을 만들기 위한 시도를 할 수 있다. 예를 들면, 본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈(130)은 T(h(C)+f-1)로 표현되는 물리적인 버킷(410)이 그 안에 포함된 데이터를 갖는지 여부를 결정할 때까지 T(h(C)+f-H)로 표현되는 물리적인 버킷(410)에서 시작해서 물리적인 버킷들(410)을 찾을 수 있고, 그 다음에 T(h(C)+f-H+1)로 표현되는 물리적인 버킷(410), 그리고 기타 등등을 찾을 수 있다(예를 들면, 가상 버킷(460)의 처음부터 끝까지 스캔 할 수 있다.). 그 다음에, 중복제거 DRAM 메모리 모듈(130)은 T(h(C)+f-H)로부터 T(h(C)+f-1)까지의 물리적인 버킷들(410) 내에 들어있는 임의의 데이터 대상이 빈 공간 T(h(C)+f)으로 배치될 수 있는지 여부를 결정할 수 있다. 즉, 중복제거 DRAM 메모리 모듈(130)은 T(h(C)+f-H)로부터 T(h(C)+f-1)까지의 물리적인 버킷들 중 어떤 것이 물리적인 버킷 T(h(C)+f)을 갖는 공통의 가상 버킷(460) 내에 있는지 여부를 결정할 수 잇고, 그렇게 함으로써 그 안에 들어있는 데이터가 움직일 수 있도록 가능케 한다. 그 다음에, 중복제거 DRAM 메모리 모듈(130)은 발견된 가장 초기의 그러한 데이터 대상을 빈 공간 내에 배치할 수 있고, 그렇게 함으로써 T(h(C)+e, e는 f보다 작은 정수)로 표현되는 물리적인 버킷들(410) 내의 새로운 빈 공간을 만들 수 있다. 이러한 과정은 e 가 H 보다 작아질 때까지 반복될 수 있고(예를 들면, 데이터는 연속적인 방식(Cascading Fashion)으로 해시 테이블 내에서 움직이게 될 수 있다.), 그렇게 함으로써 해당 가상 버킷(460) 내에서 데이터 라인 C의 배치를 하기 위해 필요한 공간을 확보할 수 있다.However, assuming that the first physical bucket 410 of the virtual bucket 460 is the intended physical bucket 410, if f is greater than or equal to H (i.e., the first physical bucket 410 of the virtual bucket 460 (410), even if data line C does not fit into its virtual bucket 460, the operation is to create empty space in the virtual bucket 460 in the following way. You can try. For example, the deduplication DRAM memory module 130 according to an embodiment of the present invention determines whether the physical bucket 410 represented by T(h(C)+f-1) has data contained therein. You can find the physical buckets 410 starting from the physical bucket 410, expressed as T(h(C)+f-H), and then T(h(C)+f-H+ You can find the physical bucket 410 represented by 1), and so on (for example, you can scan the virtual bucket 460 from start to finish). Then, the deduplication DRAM memory module 130 selects any data object contained within the physical buckets 410 from T(h(C)+f-H) to T(h(C)+f-1). It can be determined whether this empty space T(h(C)+f) can be placed. That is, the deduplication DRAM memory module 130 determines which of the physical buckets from T(h(C)+f-H) to T(h(C)+f-1) is the physical bucket T(h(C) +f) can be determined whether it is within a common virtual bucket 460, thereby allowing the data contained therein to be moved. Deduplication DRAM memory module 130 may then place the earliest such data object found into the empty space, thereby expressing it as T(h(C)+e, where e is an integer less than f). New empty space within the physical buckets 410 can be created. This process can be repeated until e becomes smaller than H (e.g., data can be moved within a hash table in a cascading fashion), thereby allowing The space required to place data line C can be secured.

예를 들면, 도 5b를 참조하면, 본 발명의 실시 예에 있어서, 물리적인 버킷 PB2를 의도된 물리적인 버킷(410)으로 할당할 수 있다. 의도된 물리적인 버킷 PB2는 가상 버킷 VB1과 연관되어 점유되었으므로, 가상 버킷 VB2는 처음부터 끝까지 스캔될 수 있다(예를 들면, 물리적인 버킷 PB2부터 물리적인 버킷 PB5까지). 물리적인 버킷들 PB3, PB4, 그리고 PB5 또한 점유되었으므로, 첫 번째로 사용 가능한 물리적인 버킷(410)은 물리적인 버킷 PB6이다((즉, f 가 4와 동일하고, 그리고 f 가 그러므로 H와 같거나 H보다 크고, 그리고 첫 번째로 사용 가능한 물리적인 버킷(410)은 해당 가상 버킷 VB2에 있지 않다.). 따라서, 물리적인 버킷 PB5 내 데이터는 물리적인 버킷 PB6으로 움직이게 될 수 있고, 그렇게 함으로써 가상 버킷 VB2 내 공간을 확보하고, 데이터 라인 C는 해당 가상 버킷 VB2 내 (물리적인 버킷 PB5 내) 배치될 수 있다. 그러나, 의도된 물리적인 버킷이 PB1 이었다면(즉, 해당 가상 버킷(460)은 VB1), 처리 과정은 물리적인 버킷 PB4 내의 데이터가 가상 버킷 VB1으로부터 인접 가상 버킷 VB2로 즉, 물리적인 버킷 PB5의 새로이 확보된 공간으로 움직이게 될 수 있게 반복될 수 있다. 그 후에, 데이터 라인 C는 의도된 물리적인 버킷 PB1에 해당하는 가상 버킷 VB1의 물리적인 버킷 PB4에 쓰여질 수 있다.For example, referring to FIG. 5B, in an embodiment of the present invention, physical bucket PB2 may be allocated as the intended physical bucket 410. Since the intended physical bucket PB2 is occupied in association with virtual bucket VB1, virtual bucket VB2 can be scanned from beginning to end (e.g., from physical bucket PB2 to physical bucket PB5). Since physical buckets PB3, PB4, and PB5 are also occupied, the first available physical bucket 410 is physical bucket PB6 (i.e., f is equal to 4, and f is therefore equal to H or greater than H, and the first available physical bucket 410 is not in that virtual bucket VB2.) Therefore, data in physical bucket PB5 can be moved to physical bucket PB6, thereby creating a virtual bucket. To reserve space in VB2, data line C can be placed in the corresponding virtual bucket VB2 (in the physical bucket PB5). However, if the intended physical bucket was PB1 (i.e., the corresponding virtual bucket 460 is VB1) , the process can be repeated so that the data in physical bucket PB4 can be moved from virtual bucket VB1 to adjacent virtual bucket VB2, i.e., into the newly freed space in physical bucket PB5. Afterwards, data line C is transferred to the intended It can be written to physical bucket PB4 of virtual bucket VB1, which corresponds to physical bucket PB1.

따라서, 다른 가상 버킷들(460)의 중복으로 여겨질 수 있는 다른 가상 버킷들(460)에 의한 특정 물리적 버킷들(410)의 공통 소유로 인하여, 데이터는 하나의 가상 버킷(460)에서 다른 가상 버킷(460)으로 움직이게 될 수 있고, 그렇게 함으로써 초기 해시 버킷(410)을 위한 공간을 창출할 수 있다.Accordingly, due to the common ownership of certain physical buckets 410 by other virtual buckets 460, which may be considered duplicates of other virtual buckets 460, data is transferred from one virtual bucket 460 to another virtual bucket 460. Bucket 460 may be moved, thereby creating space for the initial hash bucket 410.

다른 실시 예에 있어서, 쓰기 과정 동안, 데이터 블락을 해시 테이블들의 어레이(400)에 쓰는 요청을 수신한 후, 중복제거 DRAM 메모리 모듈(130)은 기존의 항목이 이미 해시 테이블들(480) 중 하나에 있는지를 체크하기 위해, 데이터에 대해 의미가 있는 각 해시 테이블의 전체 가상 버킷(460)을 검색할 수 있다. 만약 첫 번째로 의도된 해시 테이블(480)이 가득 찬 경우, 그리고 데이터 블락이 첫 번째로 의도된 해시 테이블(480)에서 찾을 수 없는 경우(즉, 각 물리적인 버킷(410)의 각 해시 웨이(420)가 다른 데이터 블락에 의해 점유된 경우), 중복제거 DRAM 메모리 모듈(130)은 해시 테이블 어레이(400)의 다른 해시 테이블(480)로 데이터를 입력하는 것을 추구할 수 있다. 그러나, 복수의 해시 테이블 어레이(400)의 해시 테이블들(480) 전부가 가득 찬 경우, 데이터 블락은 버퍼 메모리(230)로 넘칠 수 있다(Spill over). 이러한 실시 예에 있어서, 해시 테이블 어레이(400) 내에서 데이터 이동은 중복제거 DRAM 메모리 모듈(130)에 의해 허용되지 않을 수 있다.In another embodiment, during a write process, after receiving a request to write a data block to the array of hash tables 400, the deduplication DRAM memory module 130 determines whether the existing entry is already in one of the hash tables 480. You can search the entire virtual bucket 460 of each hash table for data that is meaningful to you. If the first intended hash table 480 is full, and a data block cannot be found in the first intended hash table 480 (i.e., each hash way ( 420 is occupied by another data block), deduplication DRAM memory module 130 may seek to input data into another hash table 480 of hash table array 400. However, when all hash tables 480 of the plurality of hash table arrays 400 are full, data blocks may spill over into the buffer memory 230. In this embodiment, data movement within the hash table array 400 may not be permitted by the deduplication DRAM memory module 130.

도 5a, 도 5b, 및 도 5c는 본 발명의 실시 예들에 따라 가상 버킷들과 특정 물리적인 버킷들을 연관시키기 위한 합워드들(Hopwords)을 생성하기 위한 2차원의 어레이들을 묘사한다.5A, 5B, and 5C depict two-dimensional arrays for generating Hopwords for associating virtual buckets with specific physical buckets according to embodiments of the present invention.

도 5a, 도 5b, 및 도 5c를 참조하면, 본 발명의 실시 예에 따라, 다양한 가상 버킷들(460)은 합워드 값(591) 또는 합워드 벡터(592) 중 어느 하나를 이용하는 것 그리고, 데이터 움직임을 효과적으로 쫓기 위한 가상 버킷 이용 값을 이용하는 것에 의해 그들의 해당 물리적인 버킷들(410)과 연관될 수 있다. 각 점유된 물리적인 버킷(410)은 단지 하나의 가상 버킷(460)에 해당할 수 있으므로, 합워드 값(591) 또는 합워드 벡터(492)는 어떤 가상 버킷(460)이 각 점유된 물리적 버킷(410)에 해당하는지를 쫓기 위해 사용될 수 있다.5A, 5B, and 5C, according to an embodiment of the present invention, various virtual buckets 460 use either a sumword value 591 or a sumword vector 592, and Data movement can be associated with their corresponding physical buckets 410 by using virtual bucket usage values to effectively track data movement. Since each occupied physical bucket 410 may correspond to only one virtual bucket 460, the sumword value 591 or sumword vector 492 determines which virtual bucket 460 corresponds to each occupied physical bucket. It can be used to track whether it corresponds to (410).

본 발명의 예에서 4개의 가상 버킷들 VB0, VB1, VB2, 및 VB3 각각은 물리적인 버킷들 PB0, PB1, PB2, PB3, PB4, PB5, 및 PB6의 그룹으로부터 4개의 인접한 물리적인 버킷들이 서로 다른 세트를 갖는다(즉, H는 4).In the example of the present invention, each of the four virtual buckets VB0, VB1, VB2, and VB3 has four adjacent physical buckets from the group of physical buckets PB0, PB1, PB2, PB3, PB4, PB5, and PB6. has a set (i.e. H is 4).

예를 들면, 도 5a 및 도 5b를 참조하면, 합워드 벡터(592)는 물리적인 버킷 위치들 그리고 가상 버킷 위치들(예를 들면, 유사 주소들(quasi-addresses))로 구성되는 2차원 어레이를 창출하는 것, 그리고 해당 물리적인 버킷들(410)에 해당하는 임의의 열에는 단지 하나의 1이 있음을 나타내는 각 가상 버킷(460)을 위한 데이터를 포함하는 각 물리적인 버킷(410)에 1(예를 들면, 2진 표시자)을 배치하는 것에 의해 결정될 수 있다. 따라서, 합워드 벡터(592)는 각 가상 버킷(460)을 위한 물리적인 버킷 사용을 쫓기 위해 사용될 수 있는 1들 또는 0들의 어레이를 포함할 수 있다. 본 발명의 예에 있어서, 물리적인 버킷들 PB0, PB1, 그리고 PB3는 첫 번째 가상 버킷 VB0를 위해 점유되고, 물리적인 버킷들 PB2 그리고 PB4는 두 번째 가상 버킷 VB1을 위해 점유되고, 단지 물리적인 버킷 PB5는 세 번째 가상 버킷 VB2를 위해 점유되고, 그리고 네 번째 가상 버킷 VB3는 점유되지 않는다.For example, referring to FIGS. 5A and 5B, sumword vector 592 is a two-dimensional array consisting of physical bucket locations and virtual bucket locations (e.g., quasi-addresses). creating a 1 in each physical bucket 410 containing data for each virtual bucket 460, indicating that there is only one 1 in any column corresponding to that physical bucket 410. It can be determined by placing (e.g. a binary indicator). Accordingly, sumword vector 592 may include an array of 1s or 0s that can be used to track physical bucket usage for each virtual bucket 460. In an example of the invention, physical buckets PB0, PB1, and PB3 are occupied for the first virtual bucket VB0, physical buckets PB2 and PB4 are occupied for the second virtual bucket VB1, and only the physical bucket PB5 is occupied for the third virtual bucket VB2, and the fourth virtual bucket VB3 is unoccupied.

유사하게, 도 5c를 참조하면, 합워드 값(591)은 어느 가상 버킷들(460)이 점유되는 물리적인 버킷들에 해당되는지를 아는 것에 의해 점유되는 물리적인 버킷들(410)에 기초하여 창출될 수 있다. 합워드 값(591)은 log2(H) 길이의 비트들이 될 수 있다(H는 가상 버킷(460) 마다 물리적인 해시 버킷들(410)의 개수)Similarly, referring to Figure 5C, sumword value 591 is generated based on occupied physical buckets 410 by knowing which virtual buckets 460 correspond to occupied physical buckets. It can be. The sumword value 591 can be log2(H) length bits (H is the number of physical hash buckets 410 per virtual bucket 460).

합워드 벡터(592) 또는 합워드 값(591)의 정보는 각 해시 버킷(410)의 합워드 라인에 저장될 수 있고, 물리적인 버킷들(410) 그리고 가상 버킷들(460) 사이의 관계는 메모리에 색인될 수 있다.Information on the sumword vector 592 or sumword value 591 may be stored in the sumword line of each hash bucket 410, and the relationship between the physical buckets 410 and the virtual buckets 460 is Can be indexed into memory.

도 6은 본 발명의 실시 예에 따른 해시 테이블 메모리의 데이터 블락들의 어드레싱을 위한 물리적인 라인 ID(PLID)의 블록도이다.Figure 6 is a block diagram of a physical line ID (PLID) for addressing data blocks of a hash table memory according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 실시 예에 따라, 수정된 PLID(650)가 제공된다. 본 발명의 실시 예에 의한 PLID(650)는 주소, 오프셋들, 테이블의 색인, 해시, 그리고 슬롯/웨이(Way), 그리고 가상 버킷들(460) 사이에의 움직이는 항목들을 쫓기 위한 특정 가상 버킷(460)과 쌍을 이루는 키(651) 각각을 가리키는 복수의 비트들을 포함할 수 있다. 따라서, 만약 키(651)가 특정 가상 버킷(460)과 일치하면, 그 특정 가상 버킷(460)은 그곳에 쓰여진 데이터 항목을 포함할 수 있다.Referring to Figure 6, according to an embodiment of the present invention, a modified PLID 650 is provided. PLID 650 according to an embodiment of the present invention includes addresses, offsets, table index, hash, and slot/way, and a specific virtual bucket (460) for tracking moving items between virtual buckets 460. It may include a plurality of bits indicating each key 651 paired with 460). Accordingly, if key 651 matches a particular virtual bucket 460, then that particular virtual bucket 460 can contain the data item written there.

그러나, 다른 실시 예에 있어서, PLID(650)는 키(651)를 log2(H) 비트들 로 구성되는 가상 버킷 이용 값 필드(652, 예를 들면, 가상 버킷 색인)로 대체한다 (예를 들면, 16개 물리적인 버킷들의 높이를 갖는 가상 버킷은 PLID(650)의 4 비트 가상 버킷 이용 값 필드에 대응된다.). 가상 버킷 이용 값 필드(652)는 각 점유된 물리적인 버킷(410)에 어느 가상 버킷(460)이 대응하는지를 가리킨다. 따라서, 데이터 항목을 가상 버킷(460)에 쓰는 때, 가상 버킷(460)에 이미 존재하는 항목들의 수는 계산될 수 있고, 그리고 가상 버킷에 이미 존재하는 아이템들의 수에서 1을 더한 것과 동일한 P값은 가상 버킷 이용 값(652)으로 쓰여질 수 있다. PLID(650)의 가상 버킷 이용 값(652)을 이용하는 것에 의해, PLID(650)의 스토리지(Storage) 과부하는 감소될 수 있다.However, in another embodiment, PLID 650 replaces key 651 with a virtual bucket usage value field 652 (e.g., virtual bucket index) consisting of log2(H) bits (e.g. , a virtual bucket with a height of 16 physical buckets corresponds to the 4-bit virtual bucket usage value field of the PLID (650). The virtual bucket usage value field 652 indicates which virtual bucket 460 corresponds to each occupied physical bucket 410. Accordingly, when writing a data item to virtual bucket 460, the number of items already existing in virtual bucket 460 can be calculated, and a P value equal to the number of items already existing in the virtual bucket plus 1. may be written as the virtual bucket usage value 652. By using the virtual bucket usage value 652 of the PLID 650, the storage overload of the PLID 650 can be reduced.

도 7은 본 발명의 실시 예에 따른, 합스카치 방법을 사용하는 메모리 모듈의 복수의 해시 테이블 어레이로 데이터를 쓰는 과정을 보여주는 순서도이다.Figure 7 is a flowchart showing a process of writing data to a plurality of hash table arrays of a memory module using the Hapscotch method according to an embodiment of the present invention.

도 7을 참조하면, S701 동작에서, 복수의 해시 테이블들은 식별될 수 있고, 해시 테이블들 각각은 해시 함수에 대응되고, 그리고 각각은 물리적인 해시 버킷들을 포함하고, 각 물리적인 해시 버킷은 해시 웨이들을 포함하고 데이터를 저장하도록 구성된다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 k개의 해시 테이블들(480)을 식별할 수 있고, 각각은 해시 함수 h(x)에 대응되고, 각각은 m개의 물리적인 해시 버킷들(410)을 포함하고, 각 물리적인 해시 버킷들은 n개의 해시 웨이들(420)을 포함한다.).Referring to Figure 7, in operation S701, a plurality of hash tables can be identified, each of the hash tables corresponds to a hash function, and each includes physical hash buckets, and each physical hash bucket has a hash way. and configured to store data (e.g., the deduplication DRAM memory module 130 may identify k hash tables 480, each corresponding to a hash function h(x), each includes m physical hash buckets 410, and each physical hash bucket includes n hash ways 420.

S702 단계에서, 복수의 가상 버킷들이 식별될 수 있고, 가상 버킷들 각각은 물리적인 해시 버킷들의 일부를 포함하고, 그리고 각각은 다른 가상 버킷과 적어도 하나의 물리적인 해시 버킷을 공유한다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 복수의 가상 버킷들(460)을 식별할 수 있고, 가상 버킷들(460) 각각은 m개의 물리적인 해시 버킷들(410)의 H를 포함하고, 그리고 도 4에 도시된 바와 같이, 각 가상 버킷(460)은 다른 가상 버킷(460)과 적어도 하나의 물리적인 해시 버킷들(410)을 공유한다.). S702a 단계에서, 복수의 가상 버킷들은 log2(h) 비트들의 가상 버킷 이용 값 필드, 그리고 가상 버킷들 중 대응하는 하나의 가상 버킷에서의 데이터 블락들의 수와 동일한 값을 포함하는 물리적인 라인 ID(PLID)로 해시 테이블을 색인하는 것, 그리고 가상 버킷들 중 대응하는 하나의 가상 버킷에 항목이 쓰여지는 때 가상 버킷 이용 값 필드를 1 증가시키는 것에 의해 식별될 수 있다(예를 들면, 도 6에 도시된 바와 같이, 가상 버킷들(460)은 가상 버킷 이용 값 필드(652), 그리고 가상 버킷들(460) 중 대응하는 하나의 가상 버킷에서의 데이터 블락들의 수와 동일한 값을 포함하는 물리적인 라인 ID(PLID, 650)로 해시 테이블(480)을 색인하는 것에 의해 식별될 수 있고, 가상 버킷 이용 값 필드(652)는 가상 버킷들(460) 중 대응하는 하나의 가상 버킷에 항목 또는 데이터 블락이 쓰여질 때 1이 증가될 수 있다.).At step S702, a plurality of virtual buckets may be identified, each of the virtual buckets including a portion of physical hash buckets, and each sharing at least one physical hash bucket with another virtual bucket (e.g. , the deduplication DRAM memory module 130 may identify a plurality of virtual buckets 460, each of the virtual buckets 460 including H of m physical hash buckets 410, and As shown in Figure 4, each virtual bucket 460 shares at least one physical hash bucket 410 with other virtual buckets 460.). In step S702a, the plurality of virtual buckets have a virtual bucket usage value field of log2(h) bits, and a physical line ID (PLID) containing a value equal to the number of data blocks in the corresponding one of the virtual buckets. ), and incrementing the virtual bucket usage value field by 1 when an entry is written to the corresponding one of the virtual buckets (e.g., shown in Figure 6 As described above, the virtual buckets 460 have a virtual bucket usage value field 652, and a physical line ID containing a value equal to the number of data blocks in the corresponding virtual bucket of the virtual buckets 460. It can be identified by indexing the hash table 480 with (PLID, 650), and the virtual bucket usage value field 652 indicates that an item or data block will be written to the corresponding one of the virtual buckets 460. When 1 can be increased).

S703 단계에서, 물리적인 해시 버킷들에 저장된 데이터를 갖는 물리적인 해시 버킷들 각각은 가상 버킷들 중 대응하는 하나의 가상 버킷에 할당되는 것으로 식별될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 도 55b 및 도 5c에서 도시된 바와 같이 PB0, PB1, PB2, PB3, PB4, 그리고, PB5에 저장된 데이터를 갖는 물리적인 해시 버킷들(410)을 가상 버킷들(460, VB0, VB1, 그리고 VB2) 중 대응하는 하나의 가상 버킷에 할당하여 식별할 수 있다.). S703a 단계에서, 데이터를 포함하는 물리적인 해시 버킷들 중 어떤 것이 가상 버킷들 중 어떤 것에 대응되는지를 나타내기 위한 합워드 벡터 또는 합워드 값을 생성하는 것에 의해 식별될 수 있다(예를 들면, 도 5b 및 도 5c에서 도시된 바와 같이, 중복제거 DRAM 메모리 모듈(130)은 데이터를 포함하는 물리적인 해시 버킷들(410) 중 어떤 것이 가상 버킷들(460) 중 어떤 것에 대응되는지를 나타내기 위한 합워드 벡터(592) 또는 합워드 값(591)을 생성할 수 있다).In step S703, each of the physical hash buckets having data stored in the physical hash buckets may be identified as being assigned to a corresponding one of the virtual buckets (e.g., a deduplication DRAM memory module ( 130) is a physical hash bucket 410 with data stored in PB0, PB1, PB2, PB3, PB4, and PB5, as shown in FIGS. 55B and 5C, and virtual buckets 460, VB0, VB1, And it can be identified by assigning it to a corresponding virtual bucket in VB2). In step S703a, it may be identified by generating a sumword vector or sumword value to indicate which of the physical hash buckets containing data corresponds to which of the virtual buckets (e.g., Figure As shown in FIGS. 5B and 5C, the deduplication DRAM memory module 130 uses a sum to indicate which of the physical hash buckets 410 containing data corresponds to which of the virtual buckets 460. A word vector (592) or a sumword value (591) can be generated).

S704 단계에서, 데이터 라인은 해시 값을 생성하기 위해 해시 함수들 중 대응하는 대응하는 하나의 해시 함수에 따라 해시될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 메모리 컨트롤러(120)로부터 데이터 라인 C에 해당하는 쓰기 요청을 수신하고, 그리고 해시 값을 생성하기 위해 해시 함수들 h(x) 중 대응하는 대응하는 하나의 해시 함수에 따라 인커밍(incoming) 데이터를 해시할 수 있다.).In step S704, the data line may be hashed according to a corresponding one of the hash functions to generate a hash value (e.g., the deduplication DRAM memory module 130 may be connected to the memory controller 120. A write request corresponding to data line C may be received from , and the incoming data may be hashed according to a corresponding one of the hash functions h(x) to generate a hash value. ).

S705 단계에서, 해당 해시 테이블의 가상 버킷들 중 대응하는 하나의 가상 버킷이 해시 값에 따른 데이터 블락을 위한 사용 가능한 공간을 갖는지 여부가 결정될 수 있다(예를 들면, 도 5b 및 도 5c에서 도시된 바와 같이, 중복제거 DRAM 메모리 모듈(130)은 가상 버킷(460, VB3)이 데이터 블락을 위한 물리적인 버킷(PB6)에 공간을 갖는지 결정할 수 있다.).In step S705, it may be determined whether a corresponding one virtual bucket among the virtual buckets of the hash table has available space for a data block according to the hash value (e.g., as shown in FIGS. 5B and 5C) As shown, the deduplication DRAM memory module 130 may determine whether the virtual bucket 460 (VB3) has space in the physical bucket (PB6) for a data block.

S706 단계에서, 데이터는 가상 버킷들 중 대응하는 하나의 가상 버킷이 데이터 블락을 위한 공간을 가질 때까지 가상 버킷들 중 대응하는 하나의 가상 버킷이 사용 가능한 공간을 갖지 않는 경우 가상 버킷들 중 대응하는 하나의 가상 버킷으로부터 가상 버킷들 중 인접한 하나의 가상 버킷으로 순차적으로 움직이게 될 수 있다(예를 들면, 도 5b 및 도 5c에서 도시된 바와 같이, 중복제거 DRAM 메모리 모듈(130)은 가상 버킷(VB2)이 데이터 블락을 위한 공간을 가질 때까지 가상 버킷(VB2)이 임의의 다른 사용 가능한 물리적인 버킷들을 갖지 않는 경우 가상 버킷(VB2)의 물리적인 버킷(PB5)으로부터 가상 버킷(VB3)으로 데이터를 순차적으로 움직일 수 있고, 상술한 과정은 만약 가상 버킷(VB1)이 가상 버킷들(460) 중 대응하는 하나의 가상 버킷이면, 가상 버킷(VB1)의 물리적인 버킷(PB4)으로부터 가상 버킷(VB2)의 물리적인 버킷(PB5)으로 데이터를 움직이기 위해 반복될 수 있다.). S706a 단계에서, 어드레스 검색 테이블 메모리는 이동된 데이터 블락에 대응되는 하나 또는 그 이상의 검색 어드레스들로 변경하기 위해 업데이트될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 해시 테이블 메모리(220)의 이동된 데이터 블락의 새로운 어드레스가 검색될 수 있도록 이동된 데이터 블락에 대응되는 하나 또는 그 이상의 어드레스 포인터들을 변경하기 위해 ALUTM(210)을 업데이트할 수 있다.).In step S706, the data is stored in the corresponding one of the virtual buckets if the corresponding one of the virtual buckets does not have space available until the corresponding one of the virtual buckets has space for a data block. It may be sequentially moved from one virtual bucket to an adjacent one of the virtual buckets (e.g., as shown in FIGS. 5B and 5C, the deduplication DRAM memory module 130 is connected to the virtual bucket VB2. ) to transfer data from the physical bucket (PB5) of the virtual bucket (VB2) to the virtual bucket (VB3) if the virtual bucket (VB2) does not have any other available physical buckets until ) has space for the data block. It can be moved sequentially, and the above-described process is, if the virtual bucket (VB1) is a corresponding virtual bucket among the virtual buckets 460, the virtual bucket (VB2) is moved from the physical bucket (PB4) of the virtual bucket (VB1). can be repeated to move data into the physical bucket (PB5). In step S706a, the address lookup table memory may be updated to change one or more lookup addresses corresponding to the moved data block (e.g., the deduplication DRAM memory module 130 may use the hash table memory 220 ALUTM 210 may be updated to change one or more address pointers corresponding to the moved data block so that the new address of the moved data block can be retrieved.).

S707 단계에서, 데이터 블락은 가상 버킷들 중 대응하는 하나의 가상 버킷에 저장될 수 있다(예를 들면, 도 5b 및 도 5c에 도시된 바와 같이, 중복제거 DRAM 메모리 모듈(130)은 만약 가상 버킷(VB1)이 의도된 가상 버킷(460)이면 데이터 블락을 가상 버킷(VB1)의 물리적인 버킷(PB4)에 저장할 수 있다. ). 만약, 가상 버킷(VB1)을 포함하는 해시 테이블(480)이 가득 찬 것으로 결정되면, 데이터 블락은 버퍼 메모리(230)에 저장될 수 있다.In step S707, the data block may be stored in a corresponding one of the virtual buckets (e.g., as shown in FIGS. 5B and 5C, the deduplication DRAM memory module 130 is If (VB1) is the intended virtual bucket 460, the data block can be stored in the physical bucket (PB4) of the virtual bucket (VB1). ). If the hash table 480 including the virtual bucket VB1 is determined to be full, the data block may be stored in the buffer memory 230.

도 8은 본 발명의 실시 예에 따른, 메모리 모듈의 복수의 해시 테이블 어레이로부터 데이터를 읽는 과정을 보여주는 순서도이다.Figure 8 is a flowchart showing a process of reading data from a plurality of hash table arrays of a memory module according to an embodiment of the present invention.

S801 단계에서, 해시 테이블 어레이에 저장된 복수의 데이터 블락들에 대응하는 읽기 요청이 수신될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 메모리 컨트롤러(120)로부터 데이터 라인 C로 구성되는 복수의 데이터 블락들에 해당하는 읽기 요청을 수신할 수 있고, 복수의 데이터 블락들은 해시 테이블 메모리(220)의 해시 테이블 어레이(400)에 저장되어 있다.).In step S801, a read request corresponding to a plurality of data blocks stored in the hash table array may be received (for example, the deduplication DRAM memory module 130 is configured with a data line C from the memory controller 120). A read request corresponding to a plurality of data blocks may be received, and the plurality of data blocks are stored in the hash table array 400 of the hash table memory 220.

S802 단계에서, 복수의 데이터 블락들에 대응하는 포인터들 중 해당하는 포인터들은 ALUTM(210)으로부터 검색될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 ALUTM(210)으로부터 데이터 라인 C로 구성되는 복수의 데이터 블락들에 대응하는 어드레스 포인터들을 검색할 수 있다.).In step S802, the corresponding pointers among the pointers corresponding to the plurality of data blocks may be retrieved from the ALUTM 210 (for example, the deduplication DRAM memory module 130 may retrieve data line C from the ALUTM 210). Address pointers corresponding to a plurality of data blocks composed of can be searched.).

S803 단계에서, 포인터들 중 해당하는 포인터들에 기초하는 복수의 데이터 블락들은 해시 테이블 메모리에서 접근될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 해시 테이블 메모리(220)의 해시 테이블 어레이(400) 내의 검색된 어드레스 포인터들에 대응하는 상이한 어드레스들로부터 데이터 블락들을 접근하고 검색할 수 있다.).In step S803, a plurality of data blocks based on corresponding pointers among the pointers may be accessed from the hash table memory (for example, the deduplication DRAM memory module 130 may access the hash table of the hash table memory 220. Data blocks can be accessed and retrieved from different addresses corresponding to the retrieved address pointers in array 400.).

S804 단계에서, 복수의 데이터 블락들은 재조립된 데이터를 생성하기 위해 재조립될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 수신된 읽기 요청에 대응하는 데이터 라인 C와 동등할 수 있는 재조립된 데이터를 생성하기 위해 해시 테이블 메모리(220)로부터 검색된 데이터 블락들을 재조립할 수 있다.).In step S804, the plurality of data blocks may be reassembled to generate reassembled data (e.g., the deduplication DRAM memory module 130 may be equivalent to the data line C corresponding to the received read request. Data blocks retrieved from the hash table memory 220 can be reassembled to generate reassembled data.

S805 단계에서, 재조립된 데이터는 메모리 모듈로부터 메모리 컨트롤러로 전송될 수 있다(예를 들면, 중복제거 DRAM 메모리 모듈(130)은 데이터 라인 C를 메모리 컨트롤러(120)로 전송할 수 있다.).In step S805, the reassembled data may be transmitted from the memory module to the memory controller (for example, the deduplication DRAM memory module 130 may transmit data line C to the memory controller 120).

전술한대로, 데이터 중복제거는 본 발명의 실시 예에 따른 중복제거 DRAM 메모리 모듈을 사용하여 수행될 수 있다. 따라서, 메모리 접근은 감소될 수 있고, DRAM 시스템의 수명은 연장될 수 있다. As described above, data deduplication can be performed using a deduplication DRAM memory module according to an embodiment of the present invention. Accordingly, memory accesses can be reduced and the lifespan of the DRAM system can be extended.

전술한 내용은 예시적인 실시 예를 예시하며, 그것에 의해 한정되지 않는다. 비록 몇몇의 예시적인 실시 예들이 설명되었지만, 당업자는 예시적인 실시 예들에서 신규한 교시 및 예시적인 실시 예들의 이점에서 벗어나지 않고 다양한 변형이 가능한 것은 쉽게 이해할 것이다. 따라서, 그러한 모든 변형은 청구 범위에 기재된 예시적인 실시 예의 범위 내에 포함되는 것으로 의도된다. 청구 범위에서, 기능식 절들은 인용된 기능을 수행하는 구조들 그리고 구조적 균등물 뿐만 아니라 균등한 구조물들도 포함하는 것으로 의도된다. 그러므로, 전술한 내용은 개시된 특정한 실시 예들에 제한되지 않고, 그리고 개시된 예시적인 실시 예들의 변형들, 뿐만 아니라 다른 예시적인 실시 예들은 첨부된 청구항의 범위 내에 포함되는 것으로 의도되는 것으로 이해되어야 한다. 본 발명은 청구항에 포함되는 청구항의 균등물 내의, 이하의 청구 범위에 의해 정의된다.The foregoing illustrates exemplary embodiments and is not limited thereto. Although several exemplary embodiments have been described, those skilled in the art will readily understand that various modifications may be made in the exemplary embodiments without departing from the novel teachings and advantages of the exemplary embodiments. Accordingly, all such modifications are intended to be included within the scope of the exemplary embodiments recited in the claims. In the claims, functional clauses are intended to include equivalent structures as well as structures that perform the recited function and structural equivalents. Therefore, it is to be understood that the foregoing is not limited to the specific embodiments disclosed, and that variations of the disclosed exemplary embodiments, as well as other exemplary embodiments, are intended to be included within the scope of the appended claims. The invention is defined by the following claims, within which equivalents of the claims are included.

100: 중복제거 DRAM 시스템 아키텍처
110: 프로세서
120: 메모리/PCIe/KIT 컨트롤러
130: 중복제거 DRAM 메모리 모듈
140: 운영 체제
210: 어드레스 검색 테이블 메모리
220: 해시 테이블 메모리
230: 버퍼 메모리
100: Deduplication DRAM system architecture
110: processor
120: Memory/PCIe/KIT controller
130: Deduplication DRAM memory module
140: operating system
210: Address search table memory
220: Hash table memory
230: buffer memory

Claims (20)

복수의 해시 테이블(Hash table)들 각각은 해시 함수에 대응하고, 상기 복수의 해시 테이블들 각각은 물리적인 해시 버킷(Hash bucket)들로 구성되고, 각 물리적인 버킷은 웨이들(Ways)로 구성되고 데이터를 저장하는, 상기 복수의 해시 테이블들을 식별하는 단계;
복수의 가상 버킷(Virtual bucket)들 각각은 상기 물리적인 해시 버킷들 중 일부로 구성되고 상기 복수의 가상 버킷들 중 다른 가상 버킷과 적어도 하나의 상기 물리적인 해시 버킷들을 공유하는, 상기 복수의 가상 버킷들을 식별하는 단계;
상기 가상 버킷들 중 대응하는 하나의 가상 버킷에 할당되어 저장된 데이터를 갖는 상기 복수의 물리적인 버킷들 각각을 식별하는 단계;
해시 값(Hash value)을 생성하기 위해 해시 함수들 중 해당 해시 함수에 따라 데이터 라인(Data line)을 해싱(Hashing)하는 단계;
해당 해시 테이블의 상기 가상 버킷들 중 해당 가상 버킷이 상기 해시 값에 따라 데이터 블락을 위한 사용 가능한 공간을 갖는지 여부를 결정하는 단계;
상기 가상 버킷들 중 상기 해당 가상 버킷이 상기 데이터 블락을 위한 공간을 가질 때까지 상기 가상 버킷들 중 상기 해당 가상 버킷이 사용 가능한 공간을 갖지 않은 때 상기 가상 버킷들 중 상기 해당 가상 버킷으로부터 상기 가상 버킷들 중 인접한 가상 버킷으로 순차적으로 데이터를 움직이는 단계; 및
상기 가상 버킷들 중 상기 해당 가상 버킷에 상기 데이터 블락을 저장하는 단계를 포함하는 메모리의 중복제거 동작 방법.
Each of the plurality of hash tables corresponds to a hash function, each of the plurality of hash tables consists of physical hash buckets, and each physical bucket consists of Ways. identifying the plurality of hash tables to store data;
Each of the plurality of virtual buckets consists of a portion of the physical hash buckets and shares at least one of the physical hash buckets with another virtual bucket among the plurality of virtual buckets. identifying;
identifying each of the plurality of physical buckets having data allocated and stored in a corresponding one of the virtual buckets;
Hashing a data line according to a hash function among hash functions to generate a hash value;
determining whether a corresponding virtual bucket among the virtual buckets of the hash table has available space for a data block according to the hash value;
When the corresponding virtual bucket among the virtual buckets does not have available space until the corresponding virtual bucket among the virtual buckets has space for the data block, the virtual bucket from the corresponding virtual bucket among the virtual buckets Among them, sequentially moving data to adjacent virtual buckets; and
A memory deduplication operation method comprising storing the data block in a corresponding virtual bucket among the virtual buckets.
제 1 항에 있어서,
움직여진 데이터 블락에 해당하는 하나 이상의 검색 어드레스들(Lookup addresses)을 변경하기 위해 어드레스 검색 테이블 메모리를 업데이트하는 단계를 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 1,
A method of deduplicating memory, further comprising updating an address lookup table memory to change one or more lookup addresses corresponding to the moved data block.
제 1 항에 있어서,
상기 복수의 해시 테이블들 각각은 참조 카운트 라인(Reference count line), 서명 라인(Signature line), 그리고 합워드 라인(Hopword line)을 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 1,
Each of the plurality of hash tables further includes a reference count line, a signature line, and a hopword line.
제 3 항에 있어서,
상기 가상 버킷에 대응하는 데이터를 포함하는 상기 물리적인 해시 버킷들을 나타내기 위한 합워드 벡터(Hopword vector)를 생성하는 단계를 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 3,
A memory deduplication operation method further comprising generating a Hopword vector to represent the physical hash buckets containing data corresponding to the virtual bucket.
제 4 항에 있어서,
상기 합워드 벡터를 생성하는 단계는:
상기 복수의 가상 버킷들 각각을 위해, 상기 복수의 가상 버킷들 중 상대적인 가상 버킷의 상기 복수의 물리적인 해시 버킷들 각각이 상기 복수의 가상 버킷들 중 상기 상대적인 가상 버킷과 연동되는 데이터 블락을 포함하는지를 나타내기 위해 이진 표시자(Binary indicator)를 사용하는 단계를 포함하는 메모리의 중복제거 동작 방법.
According to claim 4,
The steps for generating the sumword vector are:
For each of the plurality of virtual buckets, whether each of the plurality of physical hash buckets of the relative virtual bucket among the plurality of virtual buckets includes a data block linked to the relative virtual bucket among the plurality of virtual buckets. A method of operating deduplication in memory comprising using a binary indicator to indicate.
제 3 항에 있어서,
상기 복수의 가상 버킷들 중 어떤 가상 버킷에 대응하는 데이터를 포함하는 상기 복수의 물리적인 해시 버킷들 중 어떤 물리적인 해시 버킷을 나타내기 위해 물리적인 해시 버킷들마다 log2(H) 비트들로 구성되는 합워드 값을 생성하는 단계를 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 3,
Consisting of log2(H) bits for each physical hash bucket to indicate a physical hash bucket among the plurality of physical hash buckets containing data corresponding to a certain virtual bucket among the plurality of virtual buckets. A memory deduplication operation method further comprising the step of generating a sumword value.
제 6 항에 있어서,
상기 합워드 값을 생성하는 단계는 상기 복수의 물리적인 해시 버킷들 그리고 가상 버킷들의 쌍들과 연관되어 표현되는 위치에 데이터를 포함하는 상기 복수의 물리적인 해시 버킷들을 각각을 위한 유사 주소들로 구성되는 2차원 어레이를 생성하는 단계를 포함하는 메모리의 중복제거 동작 방법.
According to claim 6,
The step of generating the sumword value consists of pseudo-addresses for each of the plurality of physical hash buckets containing data in a location expressed in association with pairs of the plurality of physical hash buckets and virtual buckets. A memory deduplication operation method including the step of creating a two-dimensional array.
제 1 항에 있어서,
상기 복수의 해시 테이블은 휘발성 메모리에 저장되는 메모리의 중복제거 동작 방법.
According to claim 1,
A memory deduplication operation method in which the plurality of hash tables are stored in volatile memory.
제 8 항에 있어서,
상기 휘발성 메모리는 DRAM(Dynamic random access memory)으로 구성되는 메모리의 중복제거 동작 방법.
According to claim 8,
A method of deduplicating a memory in which the volatile memory consists of dynamic random access memory (DRAM).
제 1 항에 있어서,
상기 해시 테이블을 log2(H) 비트들의 가상 버킷 이용 값 필드로 구성되는 물리적인 라인 ID(PLID)로 색인(Indexing)하는 단계를 더 포함하되, 상기 값은 상기 복수의 가상 버킷들 중 해당 가상 버킷의 데이터 블락들의 숫자와 동일한 메모리의 중복제거 동작 방법.
According to claim 1,
Further comprising indexing the hash table with a physical line ID (PLID) consisting of a virtual bucket usage value field of log2(H) bits, wherein the value is a corresponding virtual bucket among the plurality of virtual buckets. A method of deduplicating memory with the same number of data blocks.
제 10 항에 있어서,
상기 복수의 가상 버킷들 중 상기 해당 가상 버킷에 항목을 쓰는 경우, 상기 가상 버킷 이용 값 필드를 1 증가시키는 단계를 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 10,
A memory deduplication operation method further comprising: increasing the virtual bucket usage value field by 1 when writing an item to the corresponding virtual bucket among the plurality of virtual buckets.
제 1 항에 있어서,
상기 해당 해시 테이블이 가득 찬 경우, 버퍼 메모리에 상기 데이터 블락을 저장하는 단계를 더 포함하는 메모리의 중복제거 동작 방법.
According to claim 1,
When the corresponding hash table is full, a memory deduplication operation method further comprising storing the data block in a buffer memory.
중복제거 메모리를 위해 메모리에서 데이터 블락들의 중복을 감소시키는 중복제거 DRAM(Dynamic random access memory) 메모리 모듈에 있어서,
중복제거된 데이터 블락들을 저장하기 위한 해시 테이블 메모리;
상기 중복제거된 데이터 블락들에 대응하는 어드레스들을 저장하기 위한 어드레스 검색 테이블 메모리; 및
상기 중복제거 DRAM 메모리 모듈이 상기 해시 테이블 메모리로부터 상기 데이터 블락들을 검색하고 상기 상기 데이터 블락들을 전송하도록 하는 읽기 요청들을 수신하고, 그리고 상기 중복제거 DRAM 메모리 모듈이 상기 해시 테이블 메모리의 상기 데이터 블락들을 저장하도록 하는 쓰기 요청들을 수신하는 프로세서를 포함하는 중복제거 DRAM 메모리 모듈.
In a deduplication dynamic random access memory (DRAM) memory module that reduces duplication of data blocks in memory for deduplication memory,
Hash table memory for storing deduplicated data blocks;
an address lookup table memory for storing addresses corresponding to the deduplicated data blocks; and
The deduplication DRAM memory module receives read requests that cause the deduplication DRAM memory module to retrieve the data blocks from the hash table memory and transmit the data blocks, and the deduplication DRAM memory module stores the data blocks in the hash table memory. A deduplicated DRAM memory module including a processor that receives write requests to perform.
제 13 항에 있어서,
상기 해시 테이블 메모리는, 상기 해시 테이블 메모리에 저장되는 해시 테이블들의 3차원 어레이로 구성되고, 상기 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 해시 버킷은 웨이들(Ways)로 구성되고 상기 중복제거된 데이터 블락들을 저장하는 중복제거 DRAM 메모리 모듈.
According to claim 13,
The hash table memory consists of a three-dimensional array of hash tables stored in the hash table memory, each of the hash tables consists of physical hash buckets, and each physical hash bucket is divided into Ways. A deduplicated DRAM memory module configured to store the deduplicated data blocks.
제 14 항에 있어서,
상기 해시 테이블들 각각은 복수의 가상 버킷들을 더 포함하되, 각 가상 버킷들은 두 개 이상의 상기 물리적인 해시 버킷들로 구성되는 중복제거 DRAM 메모리 모듈.
According to claim 14,
Each of the hash tables further includes a plurality of virtual buckets, and each virtual bucket is comprised of two or more of the physical hash buckets.
제 15 항에 있어서,
상기 해시 테이블들 중 해당 해시 테이블 내에서 상기 복수의 가상 버킷들 중 인접한 가상 버킷들 사이에서 상기 중복제거된 데이터 블락들을 움직이는 중복제거 DRAM 메모리 모듈.
According to claim 15,
A deduplication DRAM memory module that moves the deduplicated data blocks between adjacent virtual buckets among the plurality of virtual buckets within the hash table.
제 13 항에 있어서,
외부에서 제공되는 명령들 없이 데이터 중복제거를 수행하는 중복제거 DRAM 메모리 모듈.
According to claim 13,
A deduplication DRAM memory module that performs data deduplication without externally provided commands.
제 13 항에 있어서,
상기 해시 테이블 메모리가 가득 찬 경우, 데이터를 저장하기 위한 버퍼 메모리를 더 포함하는 중복제거 DRAM 메모리 모듈.
According to claim 13,
A deduplication DRAM memory module further comprising a buffer memory for storing data when the hash table memory is full.
메모리에서 데이터 블락들의 중복을 감소시키기 위한 중복제거 DRAM(Dynamic random access memory) 메모리 모듈에 있어서,
복수의 해시 테이블들 각각은 물리적인 해시 버킷들로 구성되고, 각 물리적인 해시 버킷은 웨이들(Ways)로 구성되고 상기 데이터 블락들을 저장하고, 상기 중복제거 DRAM 메모리 모듈에 저장되는 해시 테이블들의 3차원 어레이;
프로세서; 및
메모리를 포함하되, 상기 메모리는 명령들을 저장하고, 상기 명령들이 상기 프로세서에 의해 실행될 때, 상기 메모리는 상기 중복제거 DRAM 메모리 모듈이 상기 복수의 해시 테이블들 중 해시 테이블의 인접 가상 버킷들 사이에서 사전에 저장된 중복제거된 데이터 블락을 움직이도록 야기하고, 상기 가상 버킷들 각각은 두 개 이상의 물리적인 해시 버킷들로 구성되는 중복제거 DRAM 메모리 모듈.
In a deduplication DRAM (Dynamic random access memory) memory module to reduce duplication of data blocks in memory,
Each of the plurality of hash tables is composed of physical hash buckets, each physical hash bucket is composed of Ways and stores the data blocks, and 3 of the hash tables are stored in the deduplication DRAM memory module. dimensional array;
processor; and
Includes a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the memory is configured to allow the deduplication DRAM memory module to select a dictionary between adjacent virtual buckets of the hash table among the plurality of hash tables. A deduplicated DRAM memory module that causes a deduplicated data block stored in to move, and each of the virtual buckets consists of two or more physical hash buckets.
제 19 항에 있어서,
상기 메모리는 명령들을 더 저장하고, 상기 명령들이 상기 프로세서에 의해 실행될 때, 상기 메모리는 중복제거 DRAM 메모리 모듈이 상기 사전에 저장된 중복제거된 데이터 블락이 움직여진 것으로부터 가상 버킷들 중 하나의 가상 버킷에 인커밍 데이터를 저장하도록 야기하는 중복제거 DRAM 메모리 모듈.
According to claim 19,
The memory further stores instructions, and when the instructions are executed by the processor, the memory causes a deduplication DRAM memory module to store instructions in one of the virtual buckets from which the prestored deduplicated data block is moved. A deduplicated DRAM memory module that causes the incoming data to be stored in the.
KR1020160149705A 2016-03-29 2016-11-10 Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application KR102597640B1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201662314918P 2016-03-29 2016-03-29
US62/314,918 2016-03-29
US15/161,136 2016-05-20
US15/161,136 US9983821B2 (en) 2016-03-29 2016-05-20 Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application

Publications (2)

Publication Number Publication Date
KR20170112952A KR20170112952A (en) 2017-10-12
KR102597640B1 true KR102597640B1 (en) 2023-11-03

Family

ID=59958768

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160149705A KR102597640B1 (en) 2016-03-29 2016-11-10 Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application

Country Status (5)

Country Link
US (2) US9983821B2 (en)
JP (1) JP6764362B2 (en)
KR (1) KR102597640B1 (en)
CN (1) CN107239230B (en)
TW (1) TWI710901B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10437785B2 (en) 2016-03-29 2019-10-08 Samsung Electronics Co., Ltd. Method and apparatus for maximized dedupable memory
KR102190403B1 (en) * 2016-05-20 2020-12-11 삼성전자주식회사 Method and apparatus for enabling larger memory capacity than physical memory size
US10462059B2 (en) * 2016-10-19 2019-10-29 Intel Corporation Hash table entries insertion method and apparatus using virtual buckets
US11644992B2 (en) * 2016-11-23 2023-05-09 Samsung Electronics Co., Ltd. Storage system performing data deduplication, method of operating storage system, and method of operating data processing system
US10394784B2 (en) 2016-12-22 2019-08-27 Intel Corporation Technologies for management of lookup tables
US10700974B2 (en) * 2018-01-30 2020-06-30 Marvell Israel (M.I.S.L) Ltd. Dynamic allocation of memory for packet processing instruction tables in a network device
CN108427539B (en) * 2018-03-15 2021-06-04 深信服科技股份有限公司 Offline de-duplication compression method and device for cache device data and readable storage medium
US11392491B2 (en) * 2018-06-27 2022-07-19 Intel Corporation Hardware-assisted paging mechanisms
US10915470B2 (en) 2018-07-23 2021-02-09 SK Hynix Inc. Memory system
US11288012B2 (en) 2018-07-23 2022-03-29 SK Hynix Inc. Memory system
US11487473B2 (en) 2018-07-23 2022-11-01 SK Hynix Inc. Memory system
KR102516584B1 (en) 2018-11-21 2023-04-03 에스케이하이닉스 주식회사 Memory system
KR102513919B1 (en) 2018-11-05 2023-03-27 에스케이하이닉스 주식회사 Memory system
KR20200013461A (en) * 2018-07-30 2020-02-07 삼성전자주식회사 Performing internal processing operations of memory device
US11079954B2 (en) * 2018-08-21 2021-08-03 Samsung Electronics Co., Ltd. Embedded reference counter and special data pattern auto-detect
US10628072B2 (en) * 2018-08-21 2020-04-21 Samsung Electronics Co., Ltd. Scalable architecture enabling large memory system for in-memory computations
KR20200036461A (en) * 2018-09-28 2020-04-07 삼성전자주식회사 Memory device and memory system for direct communication between the memory devices
US11308036B2 (en) * 2019-04-11 2022-04-19 EMC IP Holding Company LLC Selection of digest hash function for different data sets
CN112068948B (en) * 2019-06-10 2024-03-26 上海赜睿信息科技有限公司 Data hashing method, readable storage medium and electronic device
EP3764233A1 (en) * 2019-07-08 2021-01-13 Continental Teves AG & Co. OHG Method of identifying errors in or manipulations of data or software stored in a device
US11429573B2 (en) * 2019-10-16 2022-08-30 Dell Products L.P. Data deduplication system
CN111143340B (en) * 2019-12-25 2023-03-21 北京中网易企秀科技有限公司 Data processing method and device, server and client
US11500815B2 (en) 2020-03-26 2022-11-15 EMC IP Holding Company LLC Dual relationship-based hash structure for non-volatile memory technology
US20210326271A1 (en) * 2020-04-18 2021-10-21 International Business Machines Corporation Stale data recovery using virtual storage metadata
US11468193B2 (en) 2020-05-20 2022-10-11 EMC IP Holding Company LLC Data masking in a microservice architecture
US11347690B2 (en) * 2020-05-20 2022-05-31 EMC IP Holding Company LLC Data masking in a microservice architecture
US11475160B2 (en) 2020-05-20 2022-10-18 EMC IP Holding Company LLC Data masking in a microservice architecture
CN112799841B (en) * 2021-01-29 2023-04-25 烽火通信科技股份有限公司 Method and device for data object storage management
TWI780696B (en) 2021-05-10 2022-10-11 創鑫智慧股份有限公司 Look-up table compression method and look-up table reading method and computation equipment, host and device thereof
CN113298930A (en) * 2021-05-12 2021-08-24 天海欧康科技信息(厦门)有限公司 Three-dimensional process visual design method based on webgl technology

Family Cites Families (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438560B1 (en) 1999-09-16 2002-08-20 International Business Machines Corporation Reuse of immutable objects during object creation
US8504791B2 (en) 2007-01-26 2013-08-06 Hicamp Systems, Inc. Hierarchical immutable content-addressable memory coprocessor
EP2115593B1 (en) 2007-01-26 2018-10-24 Intel Corporation Hierarchical immutable content-addressable memory processor
US8407428B2 (en) 2010-05-20 2013-03-26 Hicamp Systems, Inc. Structured memory coprocessor
JP5026213B2 (en) * 2007-09-28 2012-09-12 株式会社日立製作所 Storage apparatus and data deduplication method
US8219534B2 (en) 2008-02-27 2012-07-10 Dell Products L.P. Multiple file compaction for network attached storage
US7984022B2 (en) 2008-04-18 2011-07-19 International Business Machines Corporation Space recovery with storage management coupled with a deduplicating storage system
US8370593B2 (en) 2010-04-14 2013-02-05 Hitachi, Ltd. Method and apparatus to manage groups for deduplication
US9401967B2 (en) 2010-06-09 2016-07-26 Brocade Communications Systems, Inc. Inline wire speed deduplication system
US9141625B1 (en) 2010-06-22 2015-09-22 F5 Networks, Inc. Methods for preserving flow state during virtual machine migration and devices thereof
US20120011144A1 (en) 2010-07-12 2012-01-12 Frederik Transier Aggregation in parallel computation environments with shared memory
WO2012030383A1 (en) * 2010-08-31 2012-03-08 Falconstor, Inc. Data deduplication
WO2012056491A1 (en) 2010-10-26 2012-05-03 Hitachi, Ltd. Storage apparatus and data control method
US20120158674A1 (en) 2010-12-20 2012-06-21 Mark David Lillibridge Indexing for deduplication
US9639543B2 (en) 2010-12-28 2017-05-02 Microsoft Technology Licensing, Llc Adaptive index for data deduplication
US8462781B2 (en) 2011-04-06 2013-06-11 Anue Systems, Inc. Systems and methods for in-line removal of duplicate network packets
US8630294B1 (en) 2011-05-11 2014-01-14 Juniper Networks, Inc. Dynamic bypass mechanism to alleviate bloom filter bank contention
US9501421B1 (en) 2011-07-05 2016-11-22 Intel Corporation Memory sharing and page deduplication using indirect lines
US8886508B2 (en) 2011-08-22 2014-11-11 Freescale Semiconductor, Inc. Circuit simulation acceleration using model caching
US9069616B2 (en) * 2011-09-23 2015-06-30 Google Inc. Bandwidth throttling of virtual disks
US9298707B1 (en) 2011-09-30 2016-03-29 Veritas Us Ip Holdings Llc Efficient data storage and retrieval for backup systems
WO2013085511A1 (en) 2011-12-07 2013-06-13 Intel Corporation Techniques to prelink software to improve memory de-duplication in a virtual system
KR20130064518A (en) 2011-12-08 2013-06-18 삼성전자주식회사 Storage device and operation method thereof
US9116812B2 (en) * 2012-01-27 2015-08-25 Intelligent Intellectual Property Holdings 2 Llc Systems and methods for a de-duplication cache
US20130275699A1 (en) 2012-03-23 2013-10-17 Hicamp Systems, Inc. Special memory access path with segment-offset addressing
US9177028B2 (en) 2012-04-30 2015-11-03 International Business Machines Corporation Deduplicating storage with enhanced frequent-block detection
US9069810B2 (en) 2012-07-25 2015-06-30 International Business Machines Corporation Systems, methods and computer program products for reducing hash table working-set size for improved latency and scalability in a processing system
US20140115260A1 (en) * 2012-10-18 2014-04-24 Oracle International Corporation System and method for prioritizing data in a cache
US9135383B2 (en) 2012-11-16 2015-09-15 Freescale Semiconductor, Inc. Table model circuit simulation acceleration using model caching
US9502139B1 (en) 2012-12-18 2016-11-22 Intel Corporation Fine grained online remapping to handle memory errors
US9424267B2 (en) 2013-01-02 2016-08-23 Oracle International Corporation Compression and deduplication layered driver
US9141554B1 (en) 2013-01-18 2015-09-22 Cisco Technology, Inc. Methods and apparatus for data processing using data compression, linked lists and de-duplication techniques
US20140281155A1 (en) * 2013-03-14 2014-09-18 Lsi Corporation Storage device assisted data de-duplication
KR20140114515A (en) * 2013-03-15 2014-09-29 삼성전자주식회사 Nonvolatile memory device and deduplication method thereof
US9537771B2 (en) 2013-04-04 2017-01-03 Marvell Israel (M.I.S.L) Ltd. Exact match hash lookup databases in network switch devices
US9471500B2 (en) 2013-04-12 2016-10-18 Nec Corporation Bucketized multi-index low-memory data structures
US9148387B2 (en) * 2013-05-10 2015-09-29 Brocade Communications Systems, Inc. Hardware hash table virtualization in multi-packet processor networking systems
US20150019815A1 (en) 2013-07-15 2015-01-15 International Business Machines Corporation Utilizing global digests caching in data deduplication of workloads
US10339109B2 (en) * 2013-07-15 2019-07-02 International Business Machines Corporation Optimizing hash table structure for digest matching in a data deduplication system
US10073853B2 (en) 2013-07-17 2018-09-11 International Business Machines Corporation Adaptive similarity search resolution in a data deduplication system
US9898410B2 (en) * 2013-09-10 2018-02-20 Intel Corporation Hybrid main memory using a fine-grain level of remapping
US10380073B2 (en) 2013-11-04 2019-08-13 Falconstor, Inc. Use of solid state storage devices and the like in data deduplication
EP3066553B1 (en) * 2013-11-08 2020-02-12 Fujitsu Limited Storage appliance and method thereof for inline deduplication with segmentation
KR20150067583A (en) * 2013-12-10 2015-06-18 삼성전자주식회사 Nonvolatile memory device and dedeuplicatiton method thereof
US9792063B2 (en) * 2014-01-15 2017-10-17 Intel Corporation Deduplication-based data security
US10380183B2 (en) * 2014-04-03 2019-08-13 International Business Machines Corporation Building and querying hash tables on processors
US8868825B1 (en) 2014-07-02 2014-10-21 Pure Storage, Inc. Nonrepeating identifiers in an address space of a non-volatile solid-state storage
WO2016006050A1 (en) * 2014-07-09 2016-01-14 株式会社日立製作所 Storage system and memory control method
EP2966562A1 (en) * 2014-07-09 2016-01-13 Nexenta Systems, Inc. Method to optimize inline i/o processing in tiered distributed storage systems
US9489239B2 (en) 2014-08-08 2016-11-08 PernixData, Inc. Systems and methods to manage tiered cache data storage
US9454488B2 (en) * 2014-08-08 2016-09-27 PernixData, Inc. Systems and methods to manage cache data storage
WO2016057670A1 (en) * 2014-10-07 2016-04-14 Google Inc. Hardware-assisted memory compression management using page filter and system mmu
CN104504076A (en) * 2014-12-22 2015-04-08 西安电子科技大学 Method for implementing distributed caching with high concurrency and high space utilization rate
US9703797B2 (en) 2015-02-18 2017-07-11 Exagrid Systems, Inc. Multi-level deduplication
KR20150035876A (en) * 2015-02-24 2015-04-07 포항공과대학교 산학협력단 Method for de-duplicating data and apparatus therefor
US9892053B2 (en) 2015-03-24 2018-02-13 Intel Corporation Compaction for memory hierarchies
US10089320B2 (en) * 2015-07-31 2018-10-02 Hiveio Inc. Method and apparatus for maintaining data consistency in an in-place-update file system with data deduplication
KR102190403B1 (en) * 2016-05-20 2020-12-11 삼성전자주식회사 Method and apparatus for enabling larger memory capacity than physical memory size

Also Published As

Publication number Publication date
US9983821B2 (en) 2018-05-29
TW201734803A (en) 2017-10-01
US10318434B2 (en) 2019-06-11
JP6764362B2 (en) 2020-09-30
CN107239230A (en) 2017-10-10
TWI710901B (en) 2020-11-21
KR20170112952A (en) 2017-10-12
US20170286003A1 (en) 2017-10-05
CN107239230B (en) 2022-04-05
JP2017182803A (en) 2017-10-05
US20180181495A1 (en) 2018-06-28

Similar Documents

Publication Publication Date Title
KR102597640B1 (en) Optimized hopscotch multiple hash tables for efficient memory in-line deduplication application
KR102597630B1 (en) Virtual bucket multiple hash tables for efficient memory in-line deduplication application
TWI683217B (en) Deduplication memory module using dedupe dram system algorithm architecture and method thereof
TWI804466B (en) Method of retrieving data stored in memory and dedupe module
US11281585B2 (en) Forward caching memory systems and methods
US10678704B2 (en) Method and apparatus for enabling larger memory capacity than physical memory size
CN112639748B (en) Asynchronous forward cache memory system and method
US10528284B2 (en) Method and apparatus for enabling larger memory capacity than physical memory size
CN112602071B (en) Forward cache application programming interface system and method
CN114817142A (en) Hash-based key value-to-block conversion method and system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant