RDMA Ring Buffer Persistence Management for NV Memory
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing technologies face challenges in reducing the time needed for copying data from a ring buffer in remote direct memory access (RDMA) to non-volatile memory accessible like dynamic random access memory (DRAM), which slows down the RDMA process due to the need for content copying and potential buffer shortages.
Innovation Solution
An information processing device and program that execute persistence processing to make a region of the ring buffer persistent, determining if the persistence ratio exceeds a threshold, and selecting an evacuation method based on data amount and free memory to prevent buffer shortages and speed up RDMA by either creating a new ring buffer or evacuating data to another region.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is copied from ring buffer to non-volatile memory to ensure persistence, then data reliability is improved, but copying time increases and RDMA speed decreases
Solution Approach 1:
The system performs persistence processing in advance by making parts of the ring buffer region persistent before data overwriting occurs. The determination unit checks whether the persistence ratio has exceeded a threshold, and if so, evacuation processing is triggered proactively to prevent buffer shortages and avoid time-consuming emergency copying operations.
Solution Approach 2:
The ring buffer region is divided into multiple persistence regions, where only necessary parts are made persistent. The persistence ratio is calculated and monitored, allowing selective evacuation of specific regions rather than copying the entire buffer, thereby reducing overall copying time while maintaining data reliability.
2Reliability
If persistence ratio is increased to prevent data overwriting, then data safety is improved, but buffer availability decreases and RDMA performance deteriorates
Solution Approach 1:
The system dynamically adjusts the persistence ratio based on real-time buffer usage and free region monitoring. When the persistence ratio exceeds a threshold or free region becomes insufficient, the selection unit dynamically chooses evacuation methods (first or second method) to restore buffer availability, thereby maintaining RDMA performance while ensuring data safety through adaptive persistence management.
Solution Approach 2:
The system changes operational parameters by switching between different evacuation methods based on current system state. The first evacuation method is selected when free region is sufficient, while the second method is chosen when free region is limited, optimizing the balance between data safety and RDMA speed by adjusting persistence management parameters dynamically.
3Reliability
If evacuation processing is performed frequently to maintain buffer availability, then buffer shortage prevention is improved, but processing overhead increases and RDMA efficiency decreases
Solution Approach 1:
The determination unit continuously monitors the persistence ratio and free region, providing feedback to the selection unit. This feedback mechanism ensures evacuation processing is triggered only when necessary (when persistence ratio exceeds threshold or free region is insufficient), avoiding unnecessary evacuation operations and reducing processing overhead while maintaining buffer availability.
Data Source
AI summary
An information processing device is configured to perform processing, the processing including: executing a persistence processing configured to make a part of a region persistent, the region being to be used as a ring buffer in remote direct memory access (RDMA) to a non-volatile memory accessible in an equal manner to a dynamic random access memory (DRAM) so as not to allow received data stored in the part of the region to be overwritten; executing a determination processing configured to determine whether a ratio of the region made persistent by the persistence processing has exceeded a first threshold; and executing a selection processing configured to select a method of evacuating the persistent received data by using a received data amount of the information processing device and a free region in the non-volatile memory in a case where the determination processing determines that the ratio has exceeded the first threshold.


