Direct-Write Storage Address Mapping to Reduce CPU Processing Load
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing data writing process in storage systems is complex, leading to increased data writing delays and reduced efficiency due to the need for a CPU to determine hard disk logical block addresses (LBAs) and physical addresses.
Innovation Solution
A storage system where the client determines the address in a storage unit for storing data and sends it directly to the corresponding first storage device, eliminating the need for the CPU to determine LBAs and physical addresses, thereby simplifying the data writing process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the CPU determines hard disk LBA and physical address based on mapping relationships, then data can be written to the correct location, but the data writing process becomes complex and writing delay increases
Solution Approach 1:
The mapping relationship between virtual address space and hard disk LBA is pre-established and stored in a mapping table before data writing operations. When data needs to be written, the system directly queries the pre-built mapping table to obtain the corresponding LBA, eliminating the need for real-time address calculation and reducing writing delay while maintaining address determination accuracy.
2Measurement precision
If the CPU determines hard disk LBA and the hard disk determines physical address through mapping relationships, then data can be written to the correct physical location, but the data writing process complexity increases
Solution Approach 1:
The address mapping process is segmented into two independent mapping tables: one for virtual address space to hard disk LBA conversion, and another for hard disk LBA to physical address conversion. This segmentation allows each mapping relationship to be managed independently, simplifying the overall data writing process while ensuring accurate physical address determination through the coordinated use of both mapping tables.
3Measurement precision
If multiple mapping relationships are maintained for address conversion, then accurate data location can be determined, but processing load on the CPU increases
Solution Approach 1:
Both mapping relationships (virtual address space to LBA, and LBA to physical address) are pre-established and stored in mapping tables before data writing operations. During data writing, the CPU only needs to perform simple table lookups rather than complex real-time calculations, significantly reducing CPU processing load while maintaining accurate address mapping.
Data Source
AI summary
This application discloses a storage system, a data processing method, an apparatus, a node, and a storage medium, and pertains to the field of data storage technologies. In the method, a client determines an address that is in a storage unit and that is used to store to-be-written data, and sends the to-be-written data to a first storage device that is in a storage node and that is corresponding to the storage unit, so that the first storage device stores the to-be-written data while a CPU of the storage node does not need to determine a hard disk LBA corresponding to virtual address space, and a hard disk does not need to determine a corresponding physical address based on the hard disk LBA.


