CN111007987A - Memory management method, system, terminal and storage medium for raid io - Google Patents
Memory management method, system, terminal and storage medium for raid io Download PDFInfo
- Publication number
- CN111007987A CN111007987A CN201911089362.1A CN201911089362A CN111007987A CN 111007987 A CN111007987 A CN 111007987A CN 201911089362 A CN201911089362 A CN 201911089362A CN 111007987 A CN111007987 A CN 111007987A
- Authority
- CN
- China
- Prior art keywords
- memory
- raid
- execution
- request
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 title claims abstract description 191
- 238000007726 management method Methods 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 claims abstract description 43
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
Abstract
The invention provides a memory management method, a system, a terminal and a storage medium for raid io, which comprise the following steps: classifying the raid io according to the operation flow; generating memory parameters according to the category to which the raid io belongs; applying for a memory for raid io operation according to the memory parameters, and executing the raid io operation after the application is completed; and monitoring the execution result of the raid io operation, and releasing the applied memory after the raid io operation is executed. The method applies for the required memory of the whole raid io process when the raid io starts, so that various complex operations of waiting or failure due to insufficient memory in the process of the raid io process can be avoided, and the process is simplified. The memory is released by one-time allocation, and the memory releasing efficiency is higher than that of the memory releasing by multiple-time allocation, the time consumption is less, and the performance is better.
Description
Technical Field
The invention relates to the technical field of data storage, in particular to a memory management method, a memory management system, a memory management terminal and a memory medium for raid io.
Background
In cloud computing data centers, performance and security of data storage are core issues of concern to users. The use of memory in a storage system can greatly affect the stability and performance of the storage system. Memory systems are quite complex, with code on the order of millions of lines or tens of millions of lines, placing high demands on memory usage and management.
Memory management is particularly important in the io aspect of raid, and generally, memory used on the io path of raid needs to be applied from a plurality of memory pools for many times, and is released immediately after the memory is used up for many times, although for sufficient and refined memory management and utilization. However, firstly, the data cache on the whole raid io path is a main used memory, while the small memories of other management structures are numerous in quantity, and the total amount is very small; secondly, the frequent operation of applying and releasing the memory is not better than the performance of one-time application and release; thirdly, if the concurrency of the system is large, when a large amount of raid io is half of the raid io, the memory or the memory pool is exhausted, and lot io waits, even the system is blocked; fourthly, because of huge codes, the locations related to memory allocation and use on the raid io path are very many, and problems of memory reference released, repeated memory release, memory leakage and the like are often caused, and the problems are very difficult to solve and often consume a lot of manpower and time.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a memory management method, system, terminal and storage medium for raid io, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a memory management method for raid io, including:
classifying the raid io according to the operation flow;
generating memory parameters according to the category to which the raid io belongs;
applying for a memory for raid io operation according to the memory parameters, and executing the raid io operation after the application is completed;
and monitoring the execution result of the raid io operation, and releasing the applied memory after the raid io operation is executed.
Further, the generating the memory parameter according to the category to which the raid io belongs includes:
calculating a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and calculating the memory size required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
Further, the applying for the memory for the raid io operation according to the memory parameter and executing the raid io operation after the application is completed includes:
requesting a memory at the starting stage of the raid io operation process;
if the memory request is successful, constructing and initializing a management structure of raid io operation;
and if the memory request fails, storing the raid io request into the waiting linked list.
Further, the monitoring the execution result of the raid io operation includes:
collecting a raid io operation execution result;
if the execution result has a failure operation band, repeatedly executing the failure operation band;
and if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times, storing the failed operation strip into the corresponding raid management.
In a second aspect, the present invention provides a memory management system for raid io, including:
the operation classification unit is configured to classify the raid io according to an operation flow;
the memory computing unit is configured to generate memory parameters according to the category to which the raid io belongs;
the memory application unit is configured and used for applying a memory for raid io operation according to the memory parameters and executing the raid io operation after the application is completed;
and the memory release unit is configured to monitor the execution result of the raid io operation and release the applied memory after the raid io operation is executed.
Further, the memory computing unit includes:
the structure calculation module is configured to calculate a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and the memory calculation module is configured to calculate the size of the memory required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
Further, the memory application unit includes:
the memory request module is configured to request a memory at the starting stage of the raid io operation process;
the structure construction module is configured to construct and initialize a management structure of raid io operation if the memory request is successful;
and the request storage module is configured to store the raid io request into the waiting linked list if the memory request fails.
Further, the memory releasing unit includes:
the result acquisition module is configured for acquiring raid io operation execution results;
the repeated execution module is configured to repeatedly execute the failed operation strip if the failed operation strip exists in the execution result;
and the failure positioning module is configured to store the failed operation strip into the corresponding raid management if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the memory management method, the system, the terminal and the storage medium for raid io, provided by the invention, different raid io operations are classified, so that the size of a memory required by the different io operations is calculated, the required memory is applied once according to the type of the raid io operations after the raid receives an io request, and the memory is used for constructing all management structures and data caches of the raid io operations. And after the raid io operation is completed, releasing the memory at one time. The required memory of the whole raid io process is applied when the raid io starts, so that various complex operations of waiting or failure due to insufficient memory in the process of the raid io process cannot exist, and the process is simplified. The memory is released by one-time allocation, and the memory releasing efficiency is higher than that of the memory releasing by multiple-time allocation, the time consumption is less, and the performance is better. And releasing all memories once after the raid io is executed, the chances of problems such as reference of released memories, repeated memory release, memory leakage and the like are reduced, and the storage system is more robust. Meanwhile, all management and data information exist in the raid io process, so that the operation information is completely reserved, and the operation is easier to locate and debug after a storage problem occurs. This optimizes the implementation of the system and greatly improves the robustness of the storage system.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following explains key terms appearing in the present invention.
raid io: disk array input-output operations.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a memory management system for raid io.
As shown in fig. 1, the method 100 includes:
and step 140, monitoring the execution result of the raid io operation, and releasing the applied memory after the raid io operation is executed.
Optionally, as an embodiment of the present invention, the generating a memory parameter according to a category to which the raid io belongs includes:
calculating a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and calculating the memory size required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
Optionally, as an embodiment of the present invention, the applying for a memory according to a memory parameter as a raid io operation and executing the raid io operation after the application is completed includes:
requesting a memory at the starting stage of the raid io operation process;
if the memory request is successful, constructing and initializing a management structure of raid io operation;
and if the memory request fails, storing the raid io request into the waiting linked list.
Optionally, as an embodiment of the present invention, the monitoring an execution result of the raid io operation includes:
collecting a raid io operation execution result;
if the execution result has a failure operation band, repeatedly executing the failure operation band;
and if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times, storing the failed operation strip into the corresponding raid management.
In order to facilitate understanding of the present invention, the memory management method for raid io provided by the present invention is further described below with reference to the principle of the memory management method for raid io and the process of managing the memory for raid io in the embodiment.
Specifically, the memory management method for raid io includes:
and S1, classifying the raid io according to the operation flow.
And classifying different raid io operations, wherein the use amount of the memory is different due to different raid io operation processes. Since the raid data is accessed according to striping, each raid io operation is classified by the number of stripes of the flow.
And S2, generating memory parameters according to the category to which the raid io belongs.
Because the operation of the raid io flow is predictable, the memory usage of various io operation management structures and data caches can be calculated. Taking the write operation of raid as an example, because raid data is accessed according to striping. It is therefore assumed that three stripes of data are requested to be written. The memory management structures needed are: one TCB is used for managing a data structure of the IO operation, one TCB is corresponding to three SIO structures to manage the writing processes of three data strips, each SIO is corresponding to a plurality of IPKs, and each IPK manages the writing operation process of one data block; meanwhile, the system also comprises TCS structures and the like related to the io operation, structures of each stripe FSW and the like, and data structures of xor and the like required in each block operation; it is also possible to include some management structures for fault handling etc.
The operations with different strip numbers correspond to different management structures, and the memory occupied by each management structure is a fixed value, so that the memory size required by the raid io operations of different classes can be calculated.
S3, applying for the memory for the raid io operation according to the memory parameters, and executing the raid io operation after the application is completed.
Referring to fig. 2, requesting a memory at the beginning stage of the raid io flow operation, if the memory request is successful, constructing and initializing a management structure TCB of the raid io operation, and continuing the io flow; if the memory allocation fails, the memory of the system is already in a tense state. And (3) placing the io request into a waiting linked list, taking the io request out of the waiting linked list when the memory is released, continuing to request the memory, continuing the io flow if the memory is successfully released, and still placing the io request back into the request linked list if the memory is failed.
And S4, monitoring the execution result of the raid io operation, and releasing the applied memory after the raid io operation is executed.
Splitting the io operation into three stripes, and further splitting each stripe into an operation of pairing each block data. Since the management structure of each stripe and block operation has already applied for memory, it only needs to be initialized. After a certain stripe or block operation is completed, the memory of the management structure is not released.
And when the returned result is unsuccessful after a certain stripe or block of the io operation is finished, performing corresponding error processing according to the error code. If the error is a timeout or an intermediary failure, etc. The stripe or block needs to be retried, and at this time, all io management memory structures and data caches still exist and can be directly used. If the failure still occurs after the set number of retries or the error is a non-retriable error, an error code is returned to an upper layer, and the raid stripe with the error is recorded into the corresponding raid management. So as to perform management operations such as bad block management and disk offline.
If the io operation returns a non-retriable error or returns a retriable error, but the retrial failure exceeds a set number of times or all the stripes and the blocks return success, namely all the blocks of the raid io operation return final execution results, all the memories are released, and corresponding operation results are returned.
As shown in fig. 3, the system 300 includes:
an operation classification unit 310 configured to classify the raid io according to an operation flow;
the memory calculation unit 320 is configured to generate memory parameters according to the category to which the raid io belongs;
the memory application unit 330 is configured to apply for a memory for raid io operation according to the memory parameter, and execute the raid io operation after the application is completed;
and the memory releasing unit 340 is configured to monitor the execution result of the raid io operation, and release the applied memory after the raid io operation is executed.
Optionally, as an embodiment of the present invention, the memory computing unit includes:
the structure calculation module is configured to calculate a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and the memory calculation module is configured to calculate the size of the memory required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
Optionally, as an embodiment of the present invention, the memory application unit includes:
the memory request module is configured to request a memory at the starting stage of the raid io operation process;
the structure construction module is configured to construct and initialize a management structure of raid io operation if the memory request is successful;
and the request storage module is configured to store the raid io request into the waiting linked list if the memory request fails.
Optionally, as an embodiment of the present invention, the memory releasing unit includes:
the result acquisition module is configured for acquiring raid io operation execution results;
the repeated execution module is configured to repeatedly execute the failed operation strip if the failed operation strip exists in the execution result;
and the failure positioning module is configured to store the failed operation strip into the corresponding raid management if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times.
Fig. 4 is a schematic structural diagram of a terminal system 400 according to an embodiment of the present invention, where the terminal system 400 may be configured to execute the memory management method for raid io according to the embodiment of the present invention.
The terminal system 400 may include: a processor 410, a memory 420, and a communication unit 430. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 420 may be used for storing instructions executed by the processor 410, and the memory 420 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 420, when executed by processor 410, enable terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 410 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 430, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention classifies different raid io operations, further calculates the memory size required by the different io operations, and applies for the required memory at one time according to the type of the raid io operation after the raid receives the io request, wherein the memory is used for constructing all management structures and data caches of the raid io operation. And after the raid io operation is completed, releasing the memory at one time. The required memory of the whole raid io process is applied when the raid io starts, so that various complex operations of waiting or failure due to insufficient memory in the process of the raid io process cannot exist, and the process is simplified. The memory is released by one-time allocation, and the memory releasing efficiency is higher than that of the memory releasing by multiple-time allocation, the time consumption is less, and the performance is better. And releasing all memories once after the raid io is executed, the chances of problems such as reference of released memories, repeated memory release, memory leakage and the like are reduced, and the storage system is more robust. Meanwhile, all management and data information exist in the raid io process, so that the operation information is completely reserved, and the operation is easier to locate and debug after a storage problem occurs. Therefore, the implementation of the system is optimized, and the robustness of the storage system is greatly improved, and the technical effect achieved by the embodiment can be referred to the description above, and is not described herein again.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A memory management method for raid io is characterized by comprising the following steps:
classifying the raid io according to the operation flow;
generating memory parameters according to the category to which the raid io belongs;
applying for a memory for raid io operation according to the memory parameters, and executing the raid io operation after the application is completed;
and monitoring the execution result of the raid io operation, and releasing the applied memory after the raid io operation is executed.
2. The method according to claim 1, wherein the generating memory parameters according to the class to which raidio belongs comprises:
calculating a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and calculating the memory size required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
3. The method according to claim 1, wherein the applying for the memory for the raidio operation according to the memory parameter and executing the raidio operation after the application is completed comprises:
requesting a memory at the starting stage of the raid io operation process;
if the memory request is successful, constructing and initializing a management structure of raid io operation;
and if the memory request fails, storing the raid io request into the waiting linked list.
4. The method of claim 1, wherein monitoring the result of the raidio operation execution comprises:
collecting a raid io operation execution result;
if the execution result has a failure operation band, repeatedly executing the failure operation band;
and if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times, storing the failed operation strip into the corresponding raid management.
5. A memory management system for raid io, comprising:
the operation classification unit is configured to classify the raid io according to an operation flow;
the memory computing unit is configured to generate memory parameters according to the category to which the raid io belongs;
the memory application unit is configured and used for applying a memory for raid io operation according to the memory parameters and executing the raid io operation after the application is completed;
and the memory release unit is configured to monitor the execution result of the raidio operation and release the applied memory after the execution of the raidio operation is completed.
6. The system of claim 5, wherein the memory computing unit comprises:
the structure calculation module is configured to calculate a management structure corresponding to each operation flow type according to the number of the strips of the operation flow type;
and the memory calculation module is configured to calculate the size of the memory required by each class raid io operation according to the management structure and the corresponding class raid io operation execution data.
7. The system of claim 5, wherein the memory application unit comprises:
the memory request module is configured to request a memory at the starting stage of the raid io operation process;
the structure construction module is configured to construct and initialize a management structure of raid io operation if the memory request is successful;
and the request storage module is configured to store the raid io request into the waiting linked list if the memory request fails.
8. The system of claim 5, wherein the memory release unit comprises:
the result acquisition module is configured for acquiring raid io operation execution results;
the repeated execution module is configured to repeatedly execute the failed operation strip if the failed operation strip exists in the execution result;
and the failure positioning module is configured to store the failed operation strip into the corresponding raid management if the failed operation strip still fails to be executed after the repeated execution times exceed the preset times.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911089362.1A CN111007987A (en) | 2019-11-08 | 2019-11-08 | Memory management method, system, terminal and storage medium for raid io |
PCT/CN2020/104007 WO2021088423A1 (en) | 2019-11-08 | 2020-07-24 | Memory management method and system for raid io, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911089362.1A CN111007987A (en) | 2019-11-08 | 2019-11-08 | Memory management method, system, terminal and storage medium for raid io |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111007987A true CN111007987A (en) | 2020-04-14 |
Family
ID=70111042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911089362.1A Pending CN111007987A (en) | 2019-11-08 | 2019-11-08 | Memory management method, system, terminal and storage medium for raid io |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111007987A (en) |
WO (1) | WO2021088423A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021088423A1 (en) * | 2019-11-08 | 2021-05-14 | 苏州浪潮智能科技有限公司 | Memory management method and system for raid io, terminal and storage medium |
CN113608675A (en) * | 2021-06-25 | 2021-11-05 | 苏州浪潮智能科技有限公司 | RAID data IO processing method, device, computer equipment and medium |
CN115129265A (en) * | 2022-09-01 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Partitioned caching method, device, equipment and readable medium for redundant array of independent disks |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100318736A1 (en) * | 2009-06-10 | 2010-12-16 | Sridhar Balsubramanian | Method and system of an adaptive input/output scheduler for storage arrays |
US20110029728A1 (en) * | 2009-07-28 | 2011-02-03 | Lsi Corporation | Methods and apparatus for reducing input/output operations in a raid storage system |
CN102523410A (en) * | 2011-12-28 | 2012-06-27 | 创新科存储技术(深圳)有限公司 | Method for writing video data and video data storage equipment |
WO2012168028A1 (en) * | 2011-06-10 | 2012-12-13 | International Business Machines Corporation | Releasing blocks of storage class memory |
CN103150257A (en) * | 2013-02-28 | 2013-06-12 | 天脉聚源(北京)传媒科技有限公司 | Memory management method and memory management device |
US8526234B1 (en) * | 2012-11-16 | 2013-09-03 | Avalanche Technology, Inc. | Controller management of memory array of storage device using magnetic random access memory (MRAM) |
CN104166597A (en) * | 2013-05-17 | 2014-11-26 | 华为技术有限公司 | Remote memory allocation method and device |
US20150121002A1 (en) * | 2013-10-24 | 2015-04-30 | Fujitsu Limited | Raid configuration management device and raid configuration management method |
US20160179411A1 (en) * | 2014-12-23 | 2016-06-23 | Intel Corporation | Techniques to Provide Redundant Array of Independent Disks (RAID) Services Using a Shared Pool of Configurable Computing Resources |
CN106528551A (en) * | 2015-09-09 | 2017-03-22 | 北京国双科技有限公司 | Memory application method and apparatus |
CN106648907A (en) * | 2017-02-24 | 2017-05-10 | 郑州云海信息技术有限公司 | Method and device for increasing memory reuse |
CN106776046A (en) * | 2017-01-13 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of SCST reads and writes optimization method and system |
CN109062823A (en) * | 2018-07-16 | 2018-12-21 | 北京中科网威信息技术有限公司 | The method and device of the equipment performance based on Shen prestige framework is promoted using big page memory |
CN109522121A (en) * | 2018-11-15 | 2019-03-26 | 郑州云海信息技术有限公司 | A kind of memory application method, device, terminal and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9116820B2 (en) * | 2012-08-28 | 2015-08-25 | Memory Technologies Llc | Dynamic central cache memory |
CN104881370B (en) * | 2015-05-11 | 2018-01-12 | 中国人民解放军国防科学技术大学 | Collaboration uses correcting and eleting codes and the reliable flash-memory storage system construction method of error correcting code |
CN108509273A (en) * | 2018-03-22 | 2018-09-07 | 杭州迪普科技股份有限公司 | A kind of internal memory processing method and device |
CN111007987A (en) * | 2019-11-08 | 2020-04-14 | 苏州浪潮智能科技有限公司 | Memory management method, system, terminal and storage medium for raid io |
-
2019
- 2019-11-08 CN CN201911089362.1A patent/CN111007987A/en active Pending
-
2020
- 2020-07-24 WO PCT/CN2020/104007 patent/WO2021088423A1/en active Application Filing
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100318736A1 (en) * | 2009-06-10 | 2010-12-16 | Sridhar Balsubramanian | Method and system of an adaptive input/output scheduler for storage arrays |
US20110029728A1 (en) * | 2009-07-28 | 2011-02-03 | Lsi Corporation | Methods and apparatus for reducing input/output operations in a raid storage system |
WO2012168028A1 (en) * | 2011-06-10 | 2012-12-13 | International Business Machines Corporation | Releasing blocks of storage class memory |
CN102523410A (en) * | 2011-12-28 | 2012-06-27 | 创新科存储技术(深圳)有限公司 | Method for writing video data and video data storage equipment |
US8526234B1 (en) * | 2012-11-16 | 2013-09-03 | Avalanche Technology, Inc. | Controller management of memory array of storage device using magnetic random access memory (MRAM) |
CN103150257A (en) * | 2013-02-28 | 2013-06-12 | 天脉聚源(北京)传媒科技有限公司 | Memory management method and memory management device |
CN104166597A (en) * | 2013-05-17 | 2014-11-26 | 华为技术有限公司 | Remote memory allocation method and device |
US20150121002A1 (en) * | 2013-10-24 | 2015-04-30 | Fujitsu Limited | Raid configuration management device and raid configuration management method |
US20160179411A1 (en) * | 2014-12-23 | 2016-06-23 | Intel Corporation | Techniques to Provide Redundant Array of Independent Disks (RAID) Services Using a Shared Pool of Configurable Computing Resources |
CN106528551A (en) * | 2015-09-09 | 2017-03-22 | 北京国双科技有限公司 | Memory application method and apparatus |
CN106776046A (en) * | 2017-01-13 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of SCST reads and writes optimization method and system |
CN106648907A (en) * | 2017-02-24 | 2017-05-10 | 郑州云海信息技术有限公司 | Method and device for increasing memory reuse |
CN109062823A (en) * | 2018-07-16 | 2018-12-21 | 北京中科网威信息技术有限公司 | The method and device of the equipment performance based on Shen prestige framework is promoted using big page memory |
CN109522121A (en) * | 2018-11-15 | 2019-03-26 | 郑州云海信息技术有限公司 | A kind of memory application method, device, terminal and computer readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021088423A1 (en) * | 2019-11-08 | 2021-05-14 | 苏州浪潮智能科技有限公司 | Memory management method and system for raid io, terminal and storage medium |
CN113608675A (en) * | 2021-06-25 | 2021-11-05 | 苏州浪潮智能科技有限公司 | RAID data IO processing method, device, computer equipment and medium |
CN113608675B (en) * | 2021-06-25 | 2023-08-04 | 苏州浪潮智能科技有限公司 | RAID data IO processing method and device, computer equipment and medium |
CN115129265A (en) * | 2022-09-01 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Partitioned caching method, device, equipment and readable medium for redundant array of independent disks |
Also Published As
Publication number | Publication date |
---|---|
WO2021088423A1 (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111007987A (en) | Memory management method, system, terminal and storage medium for raid io | |
CN106575244B (en) | Patching process to ensure high availability of cloud applications | |
CN109445690B (en) | RAID card performance optimization method, device, terminal and storage medium | |
CN103106150B (en) | A kind of storage system that realizes simplifies configuration and the method simplifying distribution automatically | |
US11372549B2 (en) | Reclaiming free space in a storage system | |
CN114064563A (en) | Data migration method and server based on object storage | |
CN110569154B (en) | Chip interface function testing method, system, terminal and storage medium | |
CN108228085A (en) | For managing the method and apparatus of storage system | |
CN115878052B (en) | RAID array inspection method, inspection device and electronic equipment | |
CN108427584A (en) | The configuration method of the chip and the chip with parallel computation core quickly started | |
CN110928492A (en) | Hard disk replacement method, system, terminal and storage medium of distributed file system | |
CN110703988B (en) | Storage pool creating method, system, terminal and storage medium for distributed storage | |
US20220318073A1 (en) | Provisioning a computing subsystem including disaggregated hardware resources that comply with a power domain requirement for a workload | |
CN109766220A (en) | Back-up restoring method, device and the computer readable storage medium of application system | |
CN109241110A (en) | Order management method and system, electronic equipment, storage medium | |
CN115391106A (en) | Method, system and device for pooling backup resources | |
CN114168581A (en) | Data cleaning method and device, computer equipment and storage medium | |
CN114281473A (en) | Cloud platform test environment management method, system, terminal and storage medium | |
CN116166344A (en) | Tax control equipment claim method, tax control equipment claim device and tax self-service terminal | |
CN111752911A (en) | Data transmission method, system, terminal and storage medium based on Flume | |
US11644997B2 (en) | Releasing data storage tracks while maintaining logical corruption protection | |
CN112214167B (en) | Spatial information management method, system, terminal and storage medium of solid state disk | |
CN115827591A (en) | Heterogeneous system migration data consistency verification method, device, terminal and medium | |
CN114968286A (en) | Micro-service issuing method, device, storage medium and electronic equipment | |
CN116893881A (en) | Virtual disk state management method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200414 |
|
RJ01 | Rejection of invention patent application after publication |