Method and apparatus for managing resource allocation in solid state drives
By activating extended read mode on the SSD, available write resources are converted into read resources, which solves the read performance bottleneck, improves resource utilization efficiency and read performance, reduces waiting time, and meets the resource requirements of machine learning applications.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2025-04-03
- Publication Date
- 2026-06-05
AI Technical Summary
In machine learning applications, solid-state drives (SSDs) present performance bottlenecks during read operations, leading to prolonged wait times for read resources and underutilization of write resources, which affects throughput and model training and inference time.
By activating extended read mode on the SSD, available write resources are temporarily converted into read resources, optimizing resource allocation to meet read demands.
It improves SSD read performance, reduces read resource waiting time, improves resource utilization efficiency, and ensures that the resource pool is fully utilized in applications with heavy read workloads.
Smart Images

Figure CN122152210A_ABST
Abstract
Description
Cross-reference to related applications
[0001] This application claims priority to Indian Patent Application No. 202411095617 filed with the Indian Patent Office on December 4, 2024 and Indian Patent Application No. 202411095617 filed with the Indian Patent Office on February 12, 2025, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0002] Embodiments of this disclosure relate to memory devices, and more specifically, to methods and apparatus for managing resource allocation in solid-state drives (SSDs). Background Technology
[0003] NAND flash memory-based storage devices, such as solid-state drives (SSDs) and universal flash memory (UFS), have become commonplace in modern computing systems. These storage solutions are widely used in a variety of applications, including consumer electronics, enterprise servers, and data centers. Regardless of specific application requirements, SSD hardware has traditionally reserved resources for both read and write operations, allocating different resources for each task.
[0004] In many use cases such as machine learning (ML) applications, most operations performed on storage devices are read-intensive. ML workloads, especially those involving deep learning models, require retrieving large datasets from storage for processing by graphics processing units (GPUs) or other accelerators. While SSDs can retrieve data quickly, performance bottlenecks can still occur if the storage is not fully optimized.
[0005] A common problem arises when all available SSD read resources are consumed by a continuous stream of data reads. In this situation, the SSD must wait for read resources to become available before it can continue serving data requests. This waiting time (called data pause) directly impacts the throughput of ML applications, even though write resources on the SSD are not being fully utilized. In this scenario, the SSD's read performance is unnecessarily throttled, while potentially reusable write resources remain idle.
[0006] These data pauses during the retrieval process can significantly delay training and model inference time, especially in deep learning models that require real-time access to and processing of large amounts of data. Therefore, improving SSD resource utilization efficiency is crucial, particularly for applications with heavy read workloads, such as ML training and inference. Summary of the Invention
[0007] One or more embodiments of this disclosure provide an apparatus and method for managing resource allocation in a solid-state drive (SSD). This apparatus and method can optimize SSD resource usage during data processing, reduce read resource latency, and improve read performance.
[0008] According to one aspect of this disclosure, a method for managing resource allocation in a solid-state drive (SSD) may include: obtaining an activation request for switching to an extended read mode, wherein the activation request indicates the amount of additional read resources required; and based on the SSD being in a default mode and the activation request being obtained, performing the following operations: determining whether the SSD has a certain amount of available write resources to be converted to additional read resources, and activating the extended read mode on the SSD based on the fact that the certain amount of available write resources can be used to convert to additional read resources.
[0009] According to one aspect of this disclosure, a solid-state drive (SSD) device may include: a memory, storage instructions; and one or more processors configured to execute instructions to: obtain an activation request for switching to an extended read mode, wherein the activation request indicates an amount of additional read resources required; and based on the SSD being in a default mode and having obtained the activation request, perform the following operations: determine whether the SSD has a certain amount of available write resources to be converted to additional read resources; and based on the certain amount of available write resources being available for conversion to additional read resources, activate the extended read mode on the SSD.
[0010] A non-transitory computer-readable storage medium may store instructions to be executed by at least one processor to perform a method for managing resource allocation in a solid-state drive (SSD). The method may include: obtaining an activation request indicating an amount of additional read resources required based on the fact that read resources required for a given task exceed originally available read resources; based on the activation request, switching from a default mode of the SSD to an extended read mode of the SSD by determining available write resources of the SSD for conversion into additional read resources and allocating the available write resources as additional read resources for the given task; and performing the given task based on the originally available read resources and the additional read resources. Attached Figure Description
[0011] The above and / or other aspects will become clearer from the description of certain exemplary embodiments with reference to the accompanying drawings, in which:
[0012] Figure 1 This describes an environment for allocating available write resources to read resources according to one or more embodiments;
[0013] Figure 2It is an architecture of an SSD device for managing resource allocation in a solid-state drive (SSD) according to one or more embodiments;
[0014] Figure 3 A block diagram of an SSD device for managing resource allocation in a solid-state drive (SSD) is shown according to one or more embodiments; and
[0015] Figure 4 A flowchart illustrating a method for managing resource allocation in a solid-state drive (SSD) according to one or more embodiments is shown. Detailed Implementation
[0016] The exemplary embodiments are described in more detail below with reference to the accompanying drawings.
[0017] In this document, the word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment or implementation of the subject matter described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
[0018] Although this disclosure can be modified in various variations and alternative forms, specific embodiments thereof have been shown by way of example in the accompanying drawings and will be described in detail below. However, it should be understood that this is not intended to limit this disclosure to the specific forms disclosed, but rather, this disclosure should cover all modifications, equivalents, and alternatives falling within the spirit and scope of this disclosure.
[0019] The terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, meaning that a setup, device, or method that includes a list of components or steps may include not only those components or steps but also other components or steps not expressly listed or inherent to such setup, device, or method. In other words, without further limitations, the inclusion of one or more elements in a device, system, or apparatus that begin with “comprising…” does not exclude the presence of other elements or additional elements in that device, system, or apparatus.
[0020] In the following detailed description of embodiments of the present disclosure, reference is made to the accompanying drawings, which form a part of this disclosure, in which specific embodiments in which the disclosure may be practiced are illustrated by way of illustration. These embodiments are described in sufficient detail to enable those skilled in the art to practice the disclosure, and it should be understood that other embodiments may be utilized and changes may be made without departing from the scope of the disclosure. Therefore, the following description should not be considered limiting.
[0021] Figure 1 This describes an environment for allocating available write resources to read resources according to one or more embodiments.
[0022] Environment 100 may include host 102, computing device 104, and solid-state drive (SSD) 106 located within computing device 104. In embodiments of this disclosure, SSD 106 may be located outside computing device 104, and SSD 106 may be connected to computing device 104 by any method known to those skilled in the art. Furthermore, SSD 106 may include write resources 1062 and read resources 1064.
[0023] In default mode, write resources 1062 and read resources 1064 can include the default amount of resources allocated to SSD 106. Host 102 utilizes computing device 104 for various types of purposes. The resource requirements of SSD 106 may vary depending on the type of use of host 102. In default mode, the default amount of write resources 1062 and read resources 1064 of SSD 106 can be any predefined ratio by host 102.
[0024] If host 102 is using computing device 104 to run a large machine learning model, the demand for read resource 1064 may be higher than that for write resource 1062. Once all available resources are utilized, computing device 104 will wait for the utilized resources to be released. In this case, computing device 104 waits for read resource 1064 to become available, even if write resource 1062 is not utilized at all, because not all write resources are needed by computing device 104 simultaneously.
[0025] In this scenario, host 102 may request activation of extended read mode for SSD 106, or computing device 104 may automatically activate extended read mode when the resources required to run a task (e.g., perform training or inference of a machine learning model) exceed the available read resources 1064. Extended read mode for SSD 106 can address the increased demand for read resources by temporarily converting some available write resources into read resources 1064.
[0026] Figure 2 It is an architecture of an SSD device for managing resource allocation in a solid-state drive (SSD) according to one or more embodiments.
[0027] The architecture block diagram 200 includes a command acquisition module 202, a command processing module 204, a hardware resource adjustment module 206, a resource allocator module 208, a direct access DMA (DMA) manager module 210, a command completion module 212, a resource release module 214, and write resources 1062 and read resources 1064 within the SSD 106.
[0028] The command acquirer module 202 is a controller whose function is to acquire / retrieve requests from the host 102. All different types of requests and commands from the host 102 are received by the command acquirer module 202. The command acquirer module 202 then provides the request to the command processing module 204, which then processes the request.
[0029] Command processing module 204 can identify the purpose of each request. Command processing module 204 can identify a request as an extended read mode request and forward it to DMA manager module 210 and hardware resource adjustment module 206. In embodiments of this disclosure, multiple SSDs may exist within the computing system. Command processing module 204 identifies the corresponding SSD by processing extended read mode requests. In a non-limiting example, an extended read mode request may include a request to convert 90% of the available write resource 1062 into read resource 1064.
[0030] The hardware resource adjustment module 206 reallocates available write resources 1062 to read resources 1064 based on an extended read mode request. Continuing this example, the hardware resource adjustment module 206 can convert 90% of the available write resources 1062 to read resources 1064. Specifically, all available write resources 1062 from 6 to 50 can be converted to read resources 1064. As a result, read resources 1064 can now include the original read resources 1064 (1-50) plus additional read resources derived from the converted write resources (available write resources from 6-50).
[0031] Resource allocator module 208 stores updated information on resource reallocation of SSD 106. Resource allocator module 208 sends the updated information on resource reallocation to DMA manager module 210.
[0032] The DMA manager module 210 can receive extended read mode requests from the command processing module 204 and update information on resource reallocation from the resource allocator module 208. The DMA manager module 210 can then determine whether the resource reallocation from available write resources of the SSD 106 to read resources 1064 has been processed correctly. If the resource reallocation from available write resources of the SSD 106 to read resources 1064 has been successfully processed, the DMA manager module 210 updates the command completion module 212.
[0033] Command completion module 212 receives input from DMA manager module 210 and updates host 102 upon successful completion of the extended read mode request. Resource release module 214 receives resource reallocation information from command completion module 212 because the computing device must know the start address and end address of the available write resource and read resource 1064 when the available write resource is allocated to read resource 1064. Then, resource release module 214 releases the available write resource and adds it as an additional read resource.
[0034] Furthermore, the command acquisition module 202 can receive a request to disable extended read mode from the host 102. The command acquisition module 202 can then send the request to the command processing module 204. The command processing module 204 then processes the request, identifies the type of request, and sends the request to the corresponding hardware resource adjustment module 206 and DMA manager module 210.
[0035] In addition, command processing module 204 identifies whether the extended read mode includes information specifying the duration for which the extended read mode should remain active. After the specified duration expires, the extended read mode is deactivated, thereby automatically reverting the SSD to the default mode.
[0036] Then, the hardware resource adjustment module 206 reallocates the additional read resources to the write resources 1062 based on the default mode. The default mode of the SSD includes a default number of read and write resources. The resource allocator module 208 stores updated information about the resource reallocation of the SSD 106. The resource allocator module 208 sends the updated resource reallocation information to the DMA manager module 210.
[0037] The DMA manager module 210 can receive a request to disable extended read mode from the command processing module 204 and update information on resource reallocation from the resource allocator module 208. Then, the DMA manager module 210 can determine whether the SSD's default mode is being handled correctly. If the SSD's default mode is being handled successfully, the DMA manager module 210 updates the command completion module 212.
[0038] Command completion module 212 receives input from DMA manager module 210 and updates host 102 upon successful activation of default mode. Resource release module 214 receives resource reallocation information from command completion module 212 because when available write resources are allocated to read resources 1064, the computing device must know the starting addresses and ending addresses of the available write and read resources 1064. Then, resource release module 214 releases the additional read resources and reallocates them to write resources 1062.
[0039] Figure 3 A block diagram of an SSD device for managing resource allocation in a solid-state drive (SSD) is shown according to one or more embodiments.
[0040] Solid-state drive (SSD) device 300 may include memory 302, one or more processors 304, and input / output (I / O) interface 306. In embodiments of this disclosure, SSD device 300 may also implement methods for managing resource allocation within the solid-state drive (SSD). In another embodiment of this disclosure, SSD device 300 itself implements methods for managing resource allocation within the solid-state drive (SSD) using one or more units configured within SSD device 300, utilizing one or more custom fields from a computing device / electronic system / data processing unit / digital processing unit / control system, and said one or more units are capable of implementing the features disclosed in this disclosure. I / O interface 306 connects memory 302 and one or more processors 304 to other system components, thereby enabling efficient data transfer and communication.
[0041] It can be noted that in some embodiments, the SSD device 300 may include more or fewer components than those described herein. The various components of the SSD device 300 may be implemented using hardware, software, firmware, and / or any combination thereof. Furthermore, the various components of the SSD device 300 may be operatively coupled to each other. For example, the various components of the SSD device 300 may be able to communicate with each other using a communication channel medium (e.g., bus, interconnect, etc.).
[0042] In the embodiments, one or more processors 304 may be embodied as a multi-core processor, a single-core processor, or a combination of one or more multi-core processors and / or one or more single-core processors. For example, one or more processors 304 may be embodied as one or more of a variety of processing devices, such as, but not limited to, a coprocessor, a microprocessor, a controller, a digital signal processor (DSP), processing circuitry with or without an accompanying DSP, or various other processing devices, including microcontrollers (MCUs), hardware accelerators, dedicated computer chips, etc.
[0043] In an embodiment, memory 302 may be configured to store machine-executable instructions, which may be referred to herein as instructions. In an embodiment, one or more processors 304 may be embodied as executors of software instructions. Thus, one or more processors 304 are capable of executing the instructions stored in memory 302 to perform one or more operations described herein.
[0044] Memory 302 can be any type of memory accessible to one or more processors 304 for performing corresponding functions. For example, memory 302 may include one or more volatile and / or non-volatile memories or combinations thereof. For example, memory 302 may be embodied as a semiconductor memory, such as, but not limited to, flash memory, mask read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), random access memory (RAM), etc.
[0045] One or more processors 304 are configured to receive a request from host 102 via I / O interface 306 to switch to extended read mode. This request includes the amount of additional read resources required. In a non-limiting embodiment, host 102 may indicate the required additional read resources in the form of a percentage of write resources that need to be allocated as read resources, to satisfy the need for additional read resources.
[0046] One or more processors 304 are configured to detect whether the SSD is in default mode. Furthermore, one or more processors 304 are configured to, in response to detecting that the SSD is in default mode, determine whether the SSD has a certain amount of available write resources that should be converted into additional read resources.
[0047] In embodiments of this disclosure, available write resources can indicate unused write resources of the SSD in default mode. Furthermore, converting available write resources to additional read resources is temporary and effective as long as extended read mode is activated.
[0048] One or more processors 304 are configured to activate an extended read mode on the SSD if the available write resources are available to be converted into additional read resources. In embodiments of this disclosure, one or more processors are configured to switch the SSD's mode from a default mode to an extended read mode and convert a certain number of available write resources into additional read resources.
[0049] In embodiments of this disclosure, one or more processors 304 are further configured to receive a request from host 102 via I / O interface 306 to disable extended read mode. The one or more processors 304 are then configured to switch the SSD's mode from extended read mode to a default mode and reallocate read and write resources based on the default mode. The SSD's default mode includes a default number of read and write resources.
[0050] In one non-limiting embodiment of this disclosure, the request to switch to extended read mode may also specify the duration for which extended read mode should remain active. Once this duration expires, one or more processors 304 can be configured to disable extended read mode, thereby automatically reverting the SSD to its default mode. The request from host 102 is stored in memory 302.
[0051] Therefore, SSD device 300 facilitates a technologically advanced solution for managing resource allocation within an SSD. SSD device 300 improves resource efficiency by utilizing unused available write resources. Furthermore, SSD device 300 increases the availability of read resources by introducing additional read resources from write resources, thereby improving overall performance. This efficient resource management by SSD device 300 ensures that the host has access to more resources at any given time, minimizing latency when the resource pool is fully utilized.
[0052] Figure 4 A flowchart illustrating a method for managing resource allocation in a solid-state drive (SSD) according to one or more embodiments is shown.
[0053] In step 402, method 400 includes receiving a request from the host to switch to an extended read mode. The request indicates the amount of additional read resources required. In a non-limiting embodiment, the host may indicate the required additional read resources in the form of a percentage of write resources that need to be allocated as read resources to meet the additional read resource demand.
[0054] In step 404, method 400 includes: detecting whether the SSD is in default mode. Furthermore, method 400 includes: in response to detecting that the SSD is in default mode, determining whether the SSD has a certain amount of available write resources that should be converted into additional read resources.
[0055] In embodiments of this disclosure, available write resources can indicate unused write resources of the SSD in default mode. Furthermore, converting available write resources to additional read resources is temporary and effective as long as extended read mode is activated.
[0056] In step 406, method 400 includes: activating extended read mode on the SSD if the available write resources are available to be converted into additional read resources. In embodiments of this disclosure, the method includes: switching the SSD's mode from a default mode to extended read mode and converting the available write resources into additional read resources.
[0057] In embodiments of this disclosure, the method further includes: receiving a request from a host to disable extended read mode. The method then includes: switching the SSD's mode from extended read mode to a default mode, and reallocating read and write resources based on the default mode. The SSD's default mode includes a default number of read and write resources.
[0058] In one non-limiting embodiment of this disclosure, the request to switch to extended read mode may include a duration for which extended read mode can remain active. After this duration expires, method 400 may include: deactivating extended read mode, thereby automatically reverting the SSD to the default mode.
[0059] Therefore, Method 400 facilitates a technically advanced solution for managing resource allocation in SSDs. Method 400 improves resource efficiency by utilizing unused available write resources. Furthermore, Method 400 increases the availability of read resources by introducing additional read resources from write resources, thereby improving the overall performance of the SSD. Method 400 manages resources so efficiently that the host has more resources available at any given time, thus minimizing latency when the resource pool is fully utilized.
[0060] The sequence of operations in steps 402, 404, and 406 may not necessarily be executed in the same order in which they are presented. Furthermore, one or more operations may be combined and executed as a single step, or an operation may have several sub-steps that can be executed in parallel and / or sequentially.
[0061] Furthermore, one or more computer-readable storage media may be used in implementing embodiments consistent with this disclosure. A computer-readable storage medium can refer to any type of physical memory capable of storing processor-readable information and / or data. Therefore, a computer-readable storage medium can store instructions for execution by one or more processors, including instructions for causing one or more processors to perform steps or phases consistent with the embodiments described herein. The term "computer-readable medium" should be understood to include tangible articles and exclude carrier waves and transient signals, for example, it can be non-transient. Examples may include, but are not limited to, RAM, ROM, volatile memory, non-volatile memory, hard disk drives, compact disc (CD) ROMs (CD-ROMs), digital multifunction drives (DVDs), flash drives, magnetic disks, other physical storage media, etc.
[0062] According to one aspect of this disclosure, a method for managing resource allocation in a solid-state drive (SSD) may include: obtaining an activation request for switching to an extended read mode, wherein the activation request indicates the amount of additional read resources required; and based on the SSD being in a default mode and the activation request being obtained, performing the following operations: determining whether the SSD has a certain amount of available write resources to be converted to additional read resources, and activating the extended read mode on the SSD based on the fact that the certain amount of available write resources can be used to convert to additional read resources.
[0063] Extended read mode can be activated by switching the SSD from the default mode to extended read mode, and converting a certain amount of available write resources into additional read resources.
[0064] The method for managing resource allocation in an SSD may further include: receiving a deactivation request to disable extended read mode; switching the SSD's mode from extended read mode to default mode based on the deactivation request; and reallocating write resources based on the default mode, which indicates a default number of read and write resources.
[0065] The activation request may indicate the duration for which the extended read mode should remain active, and the method may further include: automatically reverting the SSD to the default mode and releasing write resources that have been converted into additional read resources when the duration expires.
[0066] An activation request may include a requested percentage of available write resources to be converted into additional read resources, and activating extended read mode may include allocating the requested percentage of available write resources as additional read resources.
[0067] Obtaining an activation request can include obtaining an activation request through input and output interfaces.
[0068] Obtaining an activation request may include obtaining an activation request that is automatically generated based on the fact that the resources required to perform a given task exceed the available read resources.
[0069] According to another aspect of this disclosure, a solid-state drive (SSD) device may include: a memory storing instructions; and one or more processors configured to execute instructions to: obtain an activation request for switching to an extended read mode, wherein the activation request indicates an amount of additional read resources required; and based on the SSD being in a default mode and having obtained the activation request, perform the following operations: determine whether the SSD has a certain amount of available write resources to be converted to additional read resources, and activate an extended read mode on the SSD based on the fact that the certain amount of available write resources can be used to convert to additional read resources.
[0070] To activate extended read mode on an SSD, one or more processors can switch the SSD's mode from the default mode to extended read mode, converting the available number of write resources into additional read resources.
[0071] One or more processors can detect whether the SSD is in default mode.
[0072] One or more processors can receive a disable request to disable extended read mode, switch the SSD's mode from extended read mode to default mode based on the disable request, and reallocate write resources based on the default mode, which indicates the default number of read and write resources.
[0073] An activation request can indicate the duration for which extended read mode should remain active, and one or more processors are configured to automatically revert the SSD to default mode and release write resources that were converted to additional read resources when that duration expires.
[0074] An activation request can indicate the percentage of available write resources to be converted into additional read resources, and one or more processors are configured to allocate the requested percentage of available write resources as additional read resources.
[0075] SSD devices may include input and output interfaces. One or more processors can receive activation requests through the input and output interfaces.
[0076] One or more processors can automatically generate an activation request based on the fact that the resources required to perform a given task exceed the available read resources.
[0077] According to another aspect of this disclosure, a non-transitory computer-readable storage medium may be provided storing instructions to be executed by at least one processor to perform a method for managing resource allocation in a solid-state drive (SSD). The method may include: obtaining an activation request indicating an amount of additional read resources required based on the fact that read resources required for a given task exceed originally available read resources; based on the activation request, switching from a default mode to an extended read mode in the SSD by determining available write resources of the SSD for conversion into additional read resources and allocating the available write resources as additional read resources for the given task; and performing the given task based on the originally available read resources and the additional read resources.
[0078] Those skilled in the art will understand that, in general, the terms used herein are intended to be “open” terms (e.g., the term “comprising” can be interpreted as “including but not limited to,” the term “having” can be interpreted as “having at least,” the term “including” can be interpreted as “including but not limited to,” etc.). For example, to aid understanding, a detailed description may include the use of introductory phrases “at least one” and “one or more” to introduce a narrative. However, even when the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an” (e.g., “a” and / or “an” can generally be interpreted as meaning “at least one” or “one or more”) are included in a narrative, the use of such phrases should not be construed as implying that the narrative introduced by the indefinite article “a” or “an” limits any particular portion of the description containing such an introduced narrative to containing only the disclosure of one such narrative; the same applies to the use of definite articles used to introduce such narratives. Furthermore, even if a particular portion of the description in the introduced specification is explicitly stated, those skilled in the art will recognize that such a description can generally be interpreted as meaning at least the number of descriptions (e.g., a simple statement of "two descriptions" without any other modifiers, which generally means at least two descriptions or two or more descriptions).
[0079] While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for illustrative purposes only and are not intended to be restrictive; the scope and spirit of this disclosure are indicated by the appended claims.
Claims
1. A method for managing resource allocation in a solid-state drive (SSD), the method comprising: Obtain an activation request for switching to extended read mode, wherein the activation request indicates the amount of additional read resources required; and Based on the fact that the SSD is in default mode and the activation request has been received, the following operations are performed: Determine whether the SSD has a certain amount of available write resources that need to be converted into the additional read resources, and Based on the fact that a certain number of available write resources can be converted into additional read resources, the extended read mode is activated on the SSD.
2. The method according to claim 1, wherein, Activating the extended read mode on the SSD includes: Switch the SSD's mode from the default mode to the extended read mode; and Convert the available write resources into the additional read resources.
3. The method according to claim 1, further comprising: Detect whether the SSD is in the default mode.
4. The method according to claim 1, further comprising: Receive a deactivation request to disable the extended read mode; Based on the deactivation request, the SSD's mode is switched from the extended read mode to the default mode; as well as Write resources are reallocated based on the default mode, which indicates the default number of read and write resources.
5. The method according to claim 1, wherein, The activation request indicates the duration for which the extended read mode should remain active, and the method further includes: When the duration expires, the SSD is automatically restored to the default mode and the write resources converted into the additional read resources are released.
6. The method according to claim 1, wherein, The activation request indicates the percentage of available write resources to be converted into the additional read resources, and activating the extended read mode includes: Allocate the requested percentage of available write resources to the additional read resources.
7. The method according to claim 1, wherein, Obtaining the activation request includes: The activation request is obtained through the input and output interfaces.
8. The method according to claim 1, wherein, Obtaining the activation request includes: Get an activation request that is automatically generated based on the fact that the resources required to perform a given task exceed the available read resources.
9. A solid-state drive (SSD) device, comprising: Memory, storing instructions; as well as One or more processors are configured to execute the instructions to: Obtain an activation request for switching to extended read mode, wherein the activation request indicates the amount of additional read resources required; as well as Based on the fact that the SSD is in default mode and the activation request has been received, the following operations are performed: Determine whether the SSD has a certain amount of available write resources that need to be converted into the additional read resources, and Based on the fact that a certain number of available write resources can be converted into additional read resources, the extended read mode is activated on the SSD.
10. The SSD device according to claim 9, wherein, In order to activate the extended read mode on the SSD, the one or more processors are configured to: Switch the SSD's mode from the default mode to the extended read mode; and Convert the available write resources into the additional read resources.
11. The SSD device according to claim 9, wherein, The one or more processors are further configured to: Detect whether the SSD is in the default mode.
12. The SSD device according to claim 9, wherein, The one or more processors are further configured to: Receive a deactivation request to disable the extended read mode; Based on the deactivation request, the SSD's mode is switched from the extended read mode to the default mode; as well as Write resources are reallocated based on the default mode, which indicates the default number of read and write resources.
13. The SSD device according to claim 9, wherein, The activation request indicates the duration for which the extended read mode should remain active, and the one or more processors are configured to: When the duration expires, the SSD is automatically restored to the default mode and the write resources converted into the additional read resources are released.
14. The SSD device according to claim 9, wherein, The activation request indicates the percentage of available write resources to be converted into the additional read resources, and the one or more processors are configured to: Allocate the requested percentage of available write resources to the additional read resources.
15. The SSD device according to claim 9, further comprising input and output interfaces, in, The one or more processors are configured to receive the activation request through the input and output interfaces.
16. The SSD device according to claim 9, wherein, The one or more processors are configured to: The activation request is automatically generated if the resources required to perform a given task exceed the available read resources.
17. A non-transitory computer-readable storage medium for storing instructions, said instructions being executed by at least one processor to perform a method for managing resource allocation in a solid-state drive (SSD), said method comprising: If the read resources required for a given task exceed the originally available read resources, an activation request is obtained indicating the amount of additional read resources required. Based on the activation request, by determining the available write resources of the SSD for conversion into the additional read resources, and allocating the available write resources as the additional read resources for the given task, the SSD is switched from the default mode to the extended read mode; as well as The given task is executed based on the original available read resources and the additional read resources.