Host Storage Management via Shared Response Queue
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional network-based storage systems face inefficiencies in processing responses from storage devices due to excessive context switching and idle polling, leading to unstable traffic bandwidth and resource wastage as the number of storage devices increases.
Innovation Solution
Implementing a method where a host acquires a target response entry from a shared response queue that covers multiple storage devices, determining if a failure occurred, and retrieving the response only if no failure is present, thereby reducing the need for sequential polling of network completion queues.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the host polls network completion queues for each storage device sequentially, then the host can acquire responses from storage devices, but the polling efficiency decreases and traffic bandwidth becomes unstable as the number of storage devices increases
Solution Approach 1:
The patent merges multiple network completion queues into a single shared response queue. Instead of polling each storage device's completion queue separately, the host now polls one unified response queue that collects responses from multiple storage devices. This combining approach maintains reliable response acquisition while dramatically improving polling efficiency by reducing the number of polling operations from O(N) to O(1), where N is the number of storage devices.
2Adaptability or versatility
If the host polls each network completion queue in each polling cycle, then the host processes more storage devices, but context switching overhead increases and resource consumption increases
Solution Approach 1:
The patent combines multiple completion queue polling operations into a single poll operation on a shared response queue. This merging eliminates the need for repeated context switches between different completion queues, reducing context switching overhead from O(N) to O(1). The shared response queue maintains the ability to process responses from multiple storage devices while significantly simplifying the polling mechanism and reducing resource consumption.
3Reliability
If the host polls network completion queues continuously, then the host maintains response acquisition, but empty polling occurs and traffic bandwidth becomes unstable
Solution Approach 1:
The patent merges multiple completion queues into a single shared response queue that is polled only when necessary. This consolidation eliminates empty polling waste because the host now pollles one queue instead of multiple queues, reducing the probability of polling queues that have no pending responses. The shared response queue maintains continuous response acquisition capability while minimizing unnecessary polling operations and associated energy consumption.
Data Source
AI summary
Embodiments of the present disclosure relate to a method, an electronic device, and a computer program product for storage management. According to an example implementation of the present disclosure, a method for storage management includes: acquiring, at a host, a target response entry from a response queue, wherein the response queue includes at least one response entry associated with at least one storage device in a storage system which has been accessed by the host, and the target response entry records information about a target response of a target storage device in the at least one storage device to an access operation initiated by the host; determining, based on the target response entry, whether a failure associated with the target response occurs; and acquiring the target response based on the target response entry if it is determined that no failure occurs. Therefore, the storage performance can be improved.


