CN114138469B - Thread self-adaptive distribution method and device for solid state disk and solid state disk - Google Patents

Thread self-adaptive distribution method and device for solid state disk and solid state disk Download PDF

Info

Publication number
CN114138469B
CN114138469B CN202111354779.3A CN202111354779A CN114138469B CN 114138469 B CN114138469 B CN 114138469B CN 202111354779 A CN202111354779 A CN 202111354779A CN 114138469 B CN114138469 B CN 114138469B
Authority
CN
China
Prior art keywords
thread allocation
input
performance
solid state
parameters
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.)
Active
Application number
CN202111354779.3A
Other languages
Chinese (zh)
Other versions
CN114138469A (en
Inventor
齐武波
冯超
许春
赵伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111354779.3A priority Critical patent/CN114138469B/en
Publication of CN114138469A publication Critical patent/CN114138469A/en
Application granted granted Critical
Publication of CN114138469B publication Critical patent/CN114138469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a thread self-adaptive distribution method and device of a solid state disk, computer equipment and the solid state disk. The method comprises the following steps: input and output characteristic data in a preset time interval are obtained; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to first thread allocation parameters, so that the thread allocation parameters of the solid state disk are adaptively modified according to the current application scene, the thread allocation proportion of the solid state disk in each application scene is in the optimum, the performance is optimal, and the comprehensive performance of the solid state disk is improved.

Description

Thread self-adaptive distribution method and device for solid state disk and solid state disk
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for thread adaptive allocation of a solid state disk, a computer device, and a solid state disk.
Background
With the development of electronic technology, a Solid State Disk (Solid State Disk or Solid State Drive, abbreviated as SSD) appears, and the Solid State Disk is also called a Solid State drive, which is a hard Disk made of a Solid State electronic memory chip array, is completely the same as a common hard Disk in terms of the specification, definition, function and use method of an interface, is basically the same as the common hard Disk in terms of the appearance and size of a product, and has the characteristics of rapid reading and writing, light weight, low energy consumption, small volume and the like which are not possessed by the conventional mechanical hard Disk. Therefore, the method is widely applied to various fields such as military, vehicle-mounted, industrial control, video monitoring, network terminals, electric power, medical treatment, aviation, navigation equipment and the like.
The performance requirements of users on the solid state disk are higher and higher, and factors influencing the performance of the SSD are many, and particularly different service scenes have great influence on the performance. At present, the firmware of the solid state disk is optimized mainly aiming at specific service scenes, so that the solid state disk achieves optimal performance under the service scenes.
However, when the solid state disk is applied to other service scenes, the performance requirements of the other service scenes cannot be met frequently, so that the comprehensive performance of the solid state disk is low.
Disclosure of Invention
Based on the above, it is necessary to provide a thread adaptive allocation method and device for a solid state disk, a computer device and a solid state disk, which can improve the comprehensive performance of the solid state disk.
In one aspect, a method for adaptively allocating threads of a solid state disk is provided, where the method includes:
acquiring input and output characteristic data in a preset time interval;
determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
acquiring a first thread allocation parameter from the thread allocation parameter mapping table according to the input/output characteristic vector range;
comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters;
and when the current thread allocation parameters are inconsistent, adjusting the current thread allocation parameters to the first thread allocation parameters.
In one embodiment, the step of determining, according to the input/output feature data, the range of the input/output feature vector to which the thread allocation parameter mapping table belongs includes:
denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors;
and matching the range of the input and output characteristic vectors in a thread allocation parameter mapping table according to the average value of the input and output characteristic vectors.
In one embodiment, the method further comprises: when an input-output request is received, recording an input-output feature vector of the input-output request.
In one embodiment, the method for determining the mapping relation of the thread allocation parameter mapping table includes:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters;
adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters;
simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes;
Collecting corresponding input and output characteristic parameters of the first solid state disk under each application scene;
returning to the step of sequentially selecting target thread allocation parameters from the preselected thread allocation parameter set until all preselected thread allocation parameters in the preselected thread allocation parameter set are selected, and obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each preselected thread allocation parameter is used as the target thread allocation parameter;
analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene;
according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene;
and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
In one embodiment, the step of determining the mapping relation of the thread allocation parameter mapping table according to the initial selected thread allocation parameter and the input/output feature vector range with optimal performance corresponding to each application scenario includes:
According to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result;
when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene;
and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
In one embodiment, the step of constructing a preliminary mapping table for verification according to the distribution parameters of the initially selected thread and the range of the input and output feature vectors with the optimal performance corresponding to each application scene to obtain a verification result includes:
sequentially selecting an application scene from all application scenes as a target application scene;
performing performance test on an input/output request of a second solid state disk written with a preliminary mapping table for issuing the target application scene, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene;
Returning to the step of sequentially selecting application scenes from all application scenes as target application scenes until all application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under all application scenes;
when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement;
and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
In one embodiment, the thread allocation parameters include: the method comprises the steps of processing the number of the input/output request threads issued by a GC end and the number of the input/output request threads issued by a host end.
In another aspect, a thread adaptive allocation device for a solid state disk is provided, where the device includes:
the data acquisition module is used for acquiring input and output characteristic data in a preset time interval;
the range determining module is used for determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, and the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
The distribution parameter acquisition module is used for acquiring a first thread distribution parameter from the thread distribution parameter mapping table according to the input/output characteristic vector range;
the comparison module is used for comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters or not;
and the parameter adjustment module is used for adjusting the current thread allocation parameters to the first thread allocation parameters when the current thread allocation parameters are inconsistent.
In still another aspect, a computer device is provided, including a memory, and a solid state disk of a processor, where the firmware of the solid state disk implements the following steps when running:
the data acquisition module is used for acquiring input and output characteristic data in a preset time interval;
the range determining module is used for determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, and the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
the distribution parameter acquisition module is used for acquiring a first thread distribution parameter from the thread distribution parameter mapping table according to the input/output characteristic vector range;
the comparison module is used for comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters or not;
And the parameter adjustment module is used for adjusting the current thread allocation parameters to the first thread allocation parameters when the current thread allocation parameters are inconsistent.
In yet another aspect, a solid state disk is provided, on which a computer program is stored, which when executed by a processor, performs the steps of:
the data acquisition module is used for acquiring input and output characteristic data in a preset time interval;
the range determining module is used for determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, and the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
the distribution parameter acquisition module is used for acquiring a first thread distribution parameter from the thread distribution parameter mapping table according to the input/output characteristic vector range;
the comparison module is used for comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters or not;
and the parameter adjustment module is used for adjusting the current thread allocation parameters to the first thread allocation parameters when the current thread allocation parameters are inconsistent.
According to the solid state disk method, the solid state disk device, the computer equipment and the solid state disk, the solid state disk can be mainly applied to any scene by acquiring the input and output characteristic data within the preset time interval; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to first thread allocation parameters, so that the thread allocation parameters of the solid state disk are adaptively modified according to the current application scene, the thread allocation proportion of the solid state disk in each application scene is in the optimum, the performance is optimal, and the comprehensive performance of the solid state disk is improved.
Drawings
FIG. 1 is a flow chart of a thread adaptive allocation method of a solid state disk in an embodiment;
FIG. 2 is a block diagram of a thread adaptive allocation apparatus for a solid state disk in one embodiment;
FIG. 3 is an internal block diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The thread self-adaptive distribution method of the solid state disk can be applied to the solid state disk. The method comprises the steps that a solid state disk can be accessed into a terminal for use, and in the use process, input and output characteristic data in a preset time interval are obtained when firmware in the solid state disk runs; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to the first thread allocation parameters. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and the like.
In one embodiment, as shown in fig. 1, a thread adaptive allocation method of a solid state disk is provided, and the method is applied to the solid state disk for illustration, and includes the following steps:
step 202, obtaining input and output characteristic data in a preset time interval.
The preset time interval may be determined according to a frequency of use of the solid state disk by a user, for example, one hour, two hours, or one day. The Input-Output feature data is all Input-Output feature vectors collected in a preset time interval, wherein the Input-Output feature vectors comprise randomness of Input-Output requests, block size, queue depth and the like, and the Input-Output is also called I/O and is called Input/Output (i.e. Input/Output).
Step 204, determining the range of the input/output feature vector to which the thread allocation parameter mapping table belongs according to the input/output feature data, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the ranges of the input/output feature vectors.
Each input/output feature vector range represents an application scene, and the application scene may include: database services, mailbox services, web services, streaming services, and the like. The thread allocation parameter mapping table is stored in the solid state disk. The thread allocation parameters include the number of input/output request threads issued by the processing GC, the number of input/output request threads issued by the processing host, and so on. GC (Garbage Collection) is a garbage collection mechanism. The host is a main control chip in the solid state disk. The input/output feature vector with the highest occurrence frequency can be analyzed from the input/output feature data as a representative value, the input/output feature vector range which belongs to the process allocation parameter mapping table can be analyzed from the input/output feature data as a representative value, the average value of the input/output feature vectors can be analyzed from the input/output feature data, the input/output feature vector range which belongs to the process allocation parameter mapping table can be denoised in other modes, and the input/output feature vector which can represent the input/output feature data can be used as a judgment basis. The mapping relation determination of the thread allocation parameter mapping table can be automatically obtained by adopting an execution test program or can be obtained by manual test.
Step 206, obtaining the first thread allocation parameter from the thread allocation parameter mapping table according to the input/output feature vector range.
The first thread allocation parameter is a thread allocation parameter which can optimize the performance of the solid state disk when the solid state disk is in an application scene corresponding to the input/output characteristic vector range. Such as: if the application scene is streaming media service, the bandwidth requirement is high, and the garbage data is relatively less, the number of input/output request threads issued by the processing GC is reduced, and the resource occupation of the GC is reduced; if the application scenario is database service, the requirements on delay and IOPS are high, random writing is more, garbage data is more, GC pressure is high, and relatively more threads are required to be allocated to the GC. IOPS (Input/Output Operations Per Second) refers to the number of read and write operations per second.
Step 208 compares whether the current thread allocation parameters are consistent with the first thread allocation parameters.
The method comprises the steps of obtaining current thread allocation parameters in firmware of the solid state disk, comparing the current thread allocation parameters with first thread allocation parameters, and determining whether the current thread allocation parameters are consistent with the first thread allocation parameters or not. For example: the current thread allocation parameters are the number of input/output request threads issued by the processing GC is 4 and the number of input/output request threads issued by the processing host is 8, and the first thread allocation parameters are also the number of input/output request threads issued by the processing GC is 4 and the number of input/output request threads issued by the processing host is 8, so that the current thread allocation parameters are consistent with the first thread allocation parameters; the current thread allocation parameter is that the number of input/output request threads issued by the processing GC is 4 and the number of input/output request threads issued by the processing host is 8, and the first thread allocation parameter is that the number of input/output request threads issued by the processing GC is 8 and the number of input/output request threads issued by the processing host is 4, then the current thread allocation parameter is inconsistent with the first thread allocation parameter.
Step 300, when the current thread allocation parameters are inconsistent, adjusting the current thread allocation parameters to first thread allocation parameters.
In the thread self-adaptive distribution method of the solid state disk, the fact that the solid state disk is mainly applied to what scene can be reflected by acquiring the input and output characteristic data in the preset time interval; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to first thread allocation parameters, so that the thread allocation parameters of the solid state disk are adaptively modified according to the current application scene, the thread allocation proportion of the solid state disk in each application scene is in the optimum, the performance is optimal, and the comprehensive performance of the solid state disk is improved.
In one embodiment, the step of determining the range of the input/output feature vector to which the thread allocation parameter mapping table belongs according to the input/output feature data includes: denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors; and matching the range of the input/output characteristic vector in the process allocation parameter mapping table according to the average value of the input/output characteristic vector.
The average value of the input and output characteristic vectors is used as a representative value, so that the characteristics of an application scene used by the solid state disk can be more accurately reflected, and further, the first thread allocation parameter is more accurately obtained correspondingly, so that the performance of the solid state disk is optimal.
In one embodiment, the step of denoising and integrating each input/output feature vector in the input/output feature data to obtain an average value of the input/output feature vectors includes: removing extreme input and output characteristic vectors in the input and output characteristic data to obtain removed input and output characteristic data; and carrying out average value analysis according to the input and output characteristic data after the elimination to obtain an average value of the input and output characteristic vectors.
The extreme input and output feature vectors are removed, so that the influence of the input and output feature vectors with small probability on average analysis can be avoided, the average value of the input and output feature vectors can more accurately represent the features of an application scene used by the solid state disk, the features further more accurately correspond to the acquired first thread allocation parameters, and the performance of the solid state disk is optimized.
In one embodiment, the thread adaptive allocation method of the solid state disk further includes: when an input-output request is received, the input-output feature vector of the input-output request is recorded.
The input/output request may be an input/output request issued by the GC, or an input/output request issued by the host.
In one embodiment, taking an example of executing a test program to obtain a mapping relationship of a thread allocation parameter mapping table, a method for determining the mapping relationship of the thread allocation parameter mapping table includes the following steps:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters; adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters; simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes; collecting corresponding input and output characteristic parameters of the first solid state disk in each application scene; returning to the step of sequentially selecting the target thread allocation parameters from the pre-selected thread allocation parameter set until all the pre-selected thread allocation parameters in the pre-selected thread allocation parameter set are selected, obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each pre-selected thread allocation parameter is taken as the target thread allocation parameter; analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene; according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
The simulation of different application scenes can build a real scene, and a third-party simulation tool such as fio (supporting various input and output engine workload generators), vddbench (input and output workload generator) and the like is also used. Performance results include bandwidth, iops (i.e., input output per second), latency, etc. data. Each input-output feature vector range corresponds to an application scenario. The determined initial thread allocation parameters with the optimal performance corresponding to each application scene can be directly used as the thread allocation parameters with the optimal performance corresponding to each input and output characteristic vector range, and the mapping relation of the thread allocation parameter mapping table is determined. And after verification, the mapping relation of the thread allocation parameter mapping table determined after verification is passed.
In one embodiment, the step of determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameter and the input/output feature vector range with optimal performance corresponding to each application scene includes: according to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result; when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
After verification is performed on the initially selected thread allocation parameters with optimal corresponding performance of each application scene, the mapping relation of the thread allocation parameter mapping table determined after verification is passed can be improved to more accurately correspond to the thread allocation adjustment parameters, so that the performance of the solid state disk is optimal.
In one embodiment, according to the distribution parameters of the initially selected thread and the range of the input and output feature vectors with the optimal corresponding performance of each application scene, constructing a preliminary mapping table for verification, and obtaining a verification result, the method comprises the following steps: sequentially selecting an application scene from all application scenes as a target application scene; performing performance test on an input/output request of a target application scene issued by a second solid state disk written with a preliminary mapping table, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene; returning to the step of sequentially selecting the application scenes from the application scenes as target application scenes until all the application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under each application scene; when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement; and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
After verification is performed on the initially selected thread allocation parameters with optimal corresponding performance of each application scene, the mapping relation of the thread allocation parameter mapping table determined after verification is passed can be improved to more accurately correspond to the thread allocation adjustment parameters, so that the performance of the solid state disk is optimal.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 2, a thread adaptive allocation device of a solid state disk is provided, including: the device comprises a data acquisition module, a range determination module, an allocation parameter acquisition module, a comparison module and a parameter adjustment module, wherein:
The data acquisition module is used for acquiring input and output characteristic data in a preset time interval; the range determining module is used for determining the range of the input and output feature vectors which belong to the thread allocation parameter mapping table according to the input and output feature data, and the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors; the distribution parameter acquisition module is used for acquiring a first thread distribution parameter from the thread distribution parameter mapping table according to the input and output characteristic vector range; the comparison module is used for comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters or not; and the parameter adjustment module is used for adjusting the current thread allocation parameters to the first thread allocation parameters when the current thread allocation parameters are inconsistent.
Wherein the thread allocation parameters include: the method comprises the steps of processing the number of the input/output request threads issued by a GC end and the number of the input/output request threads issued by a host end.
In one embodiment, the range determination module is further to: denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors; and matching the range of the input/output characteristic vector in the process allocation parameter mapping table according to the average value of the input/output characteristic vector.
In one embodiment, the thread adaptive allocation device of the solid state disk further includes a recording module: and recording the input-output characteristic vector of the input-output request when the input-output request is received.
In one embodiment, the mapping relation determining method of the thread allocation parameter mapping table includes:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters; adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters; simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes; collecting corresponding input and output characteristic parameters of the first solid state disk in each application scene; returning to the step of sequentially selecting the target thread allocation parameters from the pre-selected thread allocation parameter set until all the pre-selected thread allocation parameters in the pre-selected thread allocation parameter set are selected, obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each pre-selected thread allocation parameter is taken as the target thread allocation parameter; analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene; according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
In one embodiment, the step of determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameter and the input/output feature vector range with optimal performance corresponding to each application scene includes: according to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result; when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
In one embodiment, according to the distribution parameters of the initially selected thread and the range of the input and output feature vectors with the optimal corresponding performance of each application scene, constructing a preliminary mapping table for verification, and obtaining a verification result, the method comprises the following steps: sequentially selecting an application scene from all application scenes as a target application scene; performing performance test on an input/output request of a target application scene issued by a second solid state disk written with a preliminary mapping table, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene; returning to the step of sequentially selecting the application scenes from the application scenes as target application scenes until all the application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under each application scene; when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement; and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
The specific limitation of the thread adaptive allocation device for the solid state disk can be referred to the limitation of the thread adaptive allocation method for the solid state disk, and will not be described herein. All or part of each module in the thread self-adaptive distribution device of the solid state disk can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 3. The computer equipment comprises a processor, a memory, a network interface, a display screen, a solid state disk and an input device which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile memory, an internal memory. The nonvolatile memory stores an operating system and a computer program. The internal memory provides an environment for the operating system and computer programs in the non-volatile memory to run. The network interface of the computer device is used for communicating with an external terminal through a network connection. The firmware of the solid state disk realizes a thread self-adaptive allocation method of the solid state disk during running. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a solid state disk is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring input and output characteristic data in a preset time interval; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to the first thread allocation parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of:
denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors; and matching the range of the input/output characteristic vector in the process allocation parameter mapping table according to the average value of the input/output characteristic vector.
In one embodiment, the computer program when executed by the processor further performs the steps of: when an input-output request is received, the input-output feature vector of the input-output request is recorded.
The method for determining the mapping relation of the thread allocation parameter mapping table comprises the following steps:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters; adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters; simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes; collecting corresponding input and output characteristic parameters of the first solid state disk in each application scene; returning to the step of sequentially selecting the target thread allocation parameters from the pre-selected thread allocation parameter set until all the pre-selected thread allocation parameters in the pre-selected thread allocation parameter set are selected, obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each pre-selected thread allocation parameter is taken as the target thread allocation parameter; analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene; according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
According to the initial thread allocation parameter and the input and output characteristic vector range with the optimal performance corresponding to each application scene, determining the mapping relation of the thread allocation parameter mapping table, comprising the following steps: according to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result; when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
According to the distribution parameters of the initially selected threads and the range of the input and output characteristic vectors with the optimal corresponding performance of each application scene, constructing a preliminary mapping table for verification, and obtaining a verification result, wherein the method comprises the following steps: sequentially selecting an application scene from all application scenes as a target application scene; performing performance test on an input/output request of a target application scene issued by a second solid state disk written with a preliminary mapping table, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene; returning to the step of sequentially selecting the application scenes from the application scenes as target application scenes until all the application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under each application scene; when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement; and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
The thread allocation parameters include: the method comprises the steps of processing the number of the input/output request threads issued by a GC end and the number of the input/output request threads issued by a host end.
In one embodiment, a computer device is provided, including a memory, a processor, and a solid state disk, where the firmware of the solid state disk implements the following steps when running:
acquiring input and output characteristic data in a preset time interval; according to the input and output characteristic data, determining the range of the input and output characteristic vectors which belong to a thread allocation parameter mapping table, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output characteristic vectors; acquiring a first thread allocation parameter from a thread allocation parameter mapping table according to the input/output characteristic vector range; comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters; when the thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to the first thread allocation parameters.
In one embodiment, the processor when executing the computer program further performs the steps of:
denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors; and matching the range of the input/output characteristic vector in the process allocation parameter mapping table according to the average value of the input/output characteristic vector.
In one embodiment, the processor when executing the computer program further performs the steps of: when an input-output request is received, the input-output feature vector of the input-output request is recorded.
The method for determining the mapping relation of the thread allocation parameter mapping table comprises the following steps:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters; adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters; simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes; collecting corresponding input and output characteristic parameters of the first solid state disk in each application scene; returning to the step of sequentially selecting the target thread allocation parameters from the pre-selected thread allocation parameter set until all the pre-selected thread allocation parameters in the pre-selected thread allocation parameter set are selected, obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each pre-selected thread allocation parameter is taken as the target thread allocation parameter; analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene; according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
According to the initial thread allocation parameter and the input and output characteristic vector range with the optimal performance corresponding to each application scene, determining the mapping relation of the thread allocation parameter mapping table, comprising the following steps: according to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result; when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene; and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
According to the distribution parameters of the initially selected threads and the range of the input and output characteristic vectors with the optimal corresponding performance of each application scene, constructing a preliminary mapping table for verification, and obtaining a verification result, wherein the method comprises the following steps: sequentially selecting an application scene from all application scenes as a target application scene; performing performance test on an input/output request of a target application scene issued by a second solid state disk written with a preliminary mapping table, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene; returning to the step of sequentially selecting the application scenes from the application scenes as target application scenes until all the application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under each application scene; when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement; and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
The thread allocation parameters include: the method comprises the steps of processing the number of the input/output request threads issued by a GC end and the number of the input/output request threads issued by a host end.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (9)

1. A thread self-adaptive allocation method of a solid state disk comprises the following steps:
acquiring input and output characteristic data in a preset time interval;
determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, wherein the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
Acquiring a first thread allocation parameter from the thread allocation parameter mapping table according to the input/output characteristic vector range;
comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters;
when the current thread allocation parameters are inconsistent, the current thread allocation parameters are adjusted to the first thread allocation parameters;
the method for determining the mapping relation of the thread allocation parameter mapping table comprises the following steps:
sequentially selecting preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters;
adjusting thread allocation parameters in the first solid state disk according to the target thread allocation parameters;
simulating different application scenes to perform performance test on the input/output requests issued by the first solid state disk, and obtaining performance results of the first solid state disk in the application scenes;
collecting corresponding input and output characteristic parameters of the first solid state disk under each application scene;
returning to the step of sequentially selecting target thread allocation parameters from the preselected thread allocation parameter set until all preselected thread allocation parameters in the preselected thread allocation parameter set are selected, and obtaining performance result data, wherein the performance result data comprises performance results of the first solid state disk under each application scene when each preselected thread allocation parameter is used as the target thread allocation parameter;
Analyzing according to the performance result data, and determining initial thread allocation parameters with optimal performance corresponding to each application scene;
according to the input and output characteristic parameters collected under each application scene, determining the corresponding input and output characteristic vector range under each application scene;
and determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameters with optimal performance and the input and output characteristic vector range corresponding to each application scene.
2. The method of claim 1, wherein the step of determining the range of the input-output feature vector to which the thread allocation parameter map belongs according to the input-output feature data comprises:
denoising and integrating each input and output characteristic vector in the input and output characteristic data to obtain an average value of the input and output characteristic vectors;
and matching the range of the input and output characteristic vectors in a thread allocation parameter mapping table according to the average value of the input and output characteristic vectors.
3. The method according to claim 1, wherein the method further comprises: when an input-output request is received, recording an input-output feature vector of the input-output request.
4. The method according to claim 1, wherein the step of determining the mapping relation of the thread allocation parameter mapping table according to the initial thread allocation parameter and the input/output feature vector range with optimal performance corresponding to each application scenario comprises:
according to the initial thread allocation parameters and the input/output characteristic vector range with optimal performance corresponding to each application scene, constructing a preliminary mapping table to perform performance test, and obtaining a test result;
when the test result meets the performance requirement, determining the initially selected thread allocation parameters with the optimal performance corresponding to each application scene as the thread allocation parameters with the optimal performance corresponding to each application scene;
and determining the mapping relation of the thread allocation parameter mapping table according to the thread allocation parameter with the optimal corresponding performance of each application scene and the input/output characteristic vector range.
5. The method of claim 4, wherein the step of constructing a preliminary mapping table for verification according to the initial thread allocation parameter and the input/output feature vector range with optimal performance corresponding to each application scenario, and obtaining a verification result comprises the following steps:
sequentially selecting an application scene from all application scenes as a target application scene;
Performing performance test on an input/output request of a second solid state disk written with a preliminary mapping table for issuing the target application scene, and obtaining a performance result of the second solid state disk in the target application scene, wherein the preliminary mapping table is established according to a preliminary thread allocation parameter and an input/output feature vector range with optimal corresponding performance of each application scene;
returning to the step of sequentially selecting application scenes from all application scenes as target application scenes until all application scenes are used as target application scenes, and obtaining a performance result of the second solid state disk under all application scenes;
when the performance result in each application scene reaches a preset threshold value, determining that the test result meets the performance requirement;
and when the performance result in each application scene does not reach the preset threshold value, determining that the test result does not meet the performance requirement.
6. The method of claim 1, wherein the thread allocation parameters comprise: the method comprises the steps of processing the number of the input/output request threads issued by a GC end and the number of the input/output request threads issued by a host end.
7. A thread adaptive allocation device for a solid state disk, the device comprising:
The data acquisition module is used for acquiring input and output characteristic data in a preset time interval;
the range determining module is used for determining the range of the input and output feature vectors which belong to a thread allocation parameter mapping table according to the input and output feature data, and the thread allocation parameter mapping table maps the thread allocation parameters with optimal performance corresponding to the range of the input and output feature vectors;
the distribution parameter acquisition module is used for acquiring a first thread distribution parameter from the thread distribution parameter mapping table according to the input/output characteristic vector range;
the comparison module is used for comparing whether the current thread allocation parameters are consistent with the first thread allocation parameters or not;
and the parameter adjustment module is used for adjusting the current thread allocation parameters to the first thread allocation parameters when the current thread allocation parameters are inconsistent, wherein the mapping relation determination mode of the thread allocation parameter mapping table comprises the steps of sequentially selecting the preselected thread allocation parameters from a preselected thread allocation parameter set as target thread allocation parameters, adjusting the thread allocation parameters in the first solid state disk according to the target thread allocation parameters, simulating each different application scene to perform performance test on the input and output requests issued by the first solid state disk, acquiring performance results of the first solid state disk under each application scene, collecting corresponding input and output characteristic parameters of the first solid state disk under each application scene, returning to the step of sequentially selecting the target thread allocation parameters from the preselected thread allocation parameter set until all the preselected thread allocation parameters in the preselected thread allocation parameter set are selected, obtaining performance result data, wherein the performance result data comprises the performance results of each preselected thread allocation parameter under each application scene when the preselected thread allocation parameters are used as the target thread allocation parameters, analyzing according to the performance result data, determining initial preferred performance parameters of each application scene, determining the initial preferred performance of each application scene according to the initial performance parameters, collecting the corresponding to the input and output characteristic vectors of each application scene, and determining the optimal performance vectors according to the application scene, and the input characteristic vectors of each application scene.
8. A solid state disk having a computer program stored thereon, which when executed by a processor performs the steps of the method of any of claims 1 to 7.
9. A computer device comprising a memory, a processor and a solid state disk, the firmware of the solid state disk implementing the steps of the method of any of claims 1 to 7 when run.
CN202111354779.3A 2021-11-16 2021-11-16 Thread self-adaptive distribution method and device for solid state disk and solid state disk Active CN114138469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111354779.3A CN114138469B (en) 2021-11-16 2021-11-16 Thread self-adaptive distribution method and device for solid state disk and solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111354779.3A CN114138469B (en) 2021-11-16 2021-11-16 Thread self-adaptive distribution method and device for solid state disk and solid state disk

Publications (2)

Publication Number Publication Date
CN114138469A CN114138469A (en) 2022-03-04
CN114138469B true CN114138469B (en) 2023-11-14

Family

ID=80393367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111354779.3A Active CN114138469B (en) 2021-11-16 2021-11-16 Thread self-adaptive distribution method and device for solid state disk and solid state disk

Country Status (1)

Country Link
CN (1) CN114138469B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843559A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Read-write optimization method and system of disk cache system
CN107463441A (en) * 2017-06-30 2017-12-12 大唐软件技术股份有限公司 A kind of number of threads control method and equipment
CN108073356A (en) * 2016-11-10 2018-05-25 杭州海康威视系统技术有限公司 A kind of data storage, lookup method, device and data handling system
CN109582521A (en) * 2018-12-10 2019-04-05 浪潮(北京)电子信息产业有限公司 Test method, apparatus, equipment and the medium of storage system readwrite performance
CN113467933A (en) * 2021-06-15 2021-10-01 济南浪潮数据技术有限公司 Thread pool optimization method, system, terminal and storage medium for distributed file system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9092161B2 (en) * 2012-12-05 2015-07-28 Red Hat Israel, Ltd. Selection of allocation policy and format for virtual machine disk images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843559A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Read-write optimization method and system of disk cache system
CN108073356A (en) * 2016-11-10 2018-05-25 杭州海康威视系统技术有限公司 A kind of data storage, lookup method, device and data handling system
CN107463441A (en) * 2017-06-30 2017-12-12 大唐软件技术股份有限公司 A kind of number of threads control method and equipment
CN109582521A (en) * 2018-12-10 2019-04-05 浪潮(北京)电子信息产业有限公司 Test method, apparatus, equipment and the medium of storage system readwrite performance
CN113467933A (en) * 2021-06-15 2021-10-01 济南浪潮数据技术有限公司 Thread pool optimization method, system, terminal and storage medium for distributed file system

Also Published As

Publication number Publication date
CN114138469A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
JP7195334B2 (en) Resource scheduling method and terminal device
CN110308875A (en) Data read-write method, device, equipment and computer readable storage medium
US20190370009A1 (en) Intelligent swap for fatigable storage mediums
CN115639971B (en) Data writing method, data writing device, electronic device, storage medium, and program product
US20190332288A1 (en) Tool for selectively deploying inline compression
CN111949681A (en) Data aggregation processing device and method and storage medium
US10606601B2 (en) Method, system and non-transitory computer-readable storage medium for analyzing access to storage device
CN115344692A (en) Clustering method, clustering device, computer equipment and storage medium
Park et al. Memory Access Characteristics of Neural Network Workloads and Their Implications
CN114138469B (en) Thread self-adaptive distribution method and device for solid state disk and solid state disk
CN115079936A (en) Data writing method and device
CN116340198B (en) Data writing method and device of solid state disk and solid state disk
US10884934B1 (en) Prefetching data units to a cache of a storage system
US10430312B2 (en) Method and device for determining program performance interference model
CN112015343A (en) Cache space management method and device of storage volume and electronic equipment
CN111444117A (en) Method and device for realizing fragmentation of storage space, storage medium and electronic equipment
CN116382569A (en) Data processing method, device, hard disk and medium
CN114138176A (en) Nor Flash erasing and upgrading method and device, computer equipment and storage medium
US20220179780A1 (en) Paging in thin-provisioned disaggregated memory
US9804968B2 (en) Storage system and data writing method
CN110442531B (en) Method and device for improving reading performance based on solid state disk and computer equipment
CN112800123A (en) Data processing method, data processing device, computer equipment and storage medium
KR101866681B1 (en) Page control method and apparatus for dynamically controlling page size
CN113672834A (en) Data processing method and device, electronic equipment and computer readable medium
US20230153005A1 (en) Block Storage Device and Method for Data Compression

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
GR01 Patent grant
GR01 Patent grant