Font Size: a A A

Research And Implementation Of Sequence Lock Based On RDAM And NVMM Distributed System

Posted on:2022-11-12Degree:MasterType:Thesis
Country:ChinaCandidate:S YaoFull Text:PDF
GTID:2518306752454234Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,Remote Direct Memory Access(RDMA)and Non-Volatile Main Memory(NVMM)have been widely used in distributed systems.With RDMA and NVMM providing high-performance storage and access,traditional lock management mechanisms have begun to expose the problem of high overhead.Combining the RDMA atomic Fetch and Add(FA)operation and the bakery algorithm,the lock mechanism will ensure data consistency while reducing software overhead.However,because RDMA can only perform atomic operations on 8 bytes memory,there is a big challenge in the design of various lock status information.In view of the above scenarios,this article first conducts the memory access test of different RDMA verbs.Then this paper proposes a distributed seqlock(sequential lock)mechanism based on RDMA.The lock mechanism uses a 8 bytes memory space to represent a sequential lock,and implements client-driven acquisition and release of the lock,which reduces polling overhead and communication delay.By introducing the write lock timeout rule,the lock mechanism in this paper implements the function of fault-tolerant recovery.Finally,this paper proposes a consistency strategy for data backup and recovery as a supplement to the consistency function of the sequential lock mechanism.Experimental results show that under read-intensive workloads,the throughput and average latency of the sequential lock mechanism in this paper are improved by139.6% and 64.9% compared with DSLR locks,and by 618.8% and 81.4% compared with RPC locks.In the consistency-guaranteed persistent write test,the throughput rate of the lock mechanism in this paper is 9.12 times higher than that of the comparison group.
Keywords/Search Tags:Remote Direct Memory Access, Non-Volatile Main Memory, Distributed lock mechanism, Consistency mechanism
PDF Full Text Request
Related items