CN112131061A - Method and device for measuring bandwidth of hard disk backplane - Google Patents
Method and device for measuring bandwidth of hard disk backplane Download PDFInfo
- Publication number
- CN112131061A CN112131061A CN202010989986.5A CN202010989986A CN112131061A CN 112131061 A CN112131061 A CN 112131061A CN 202010989986 A CN202010989986 A CN 202010989986A CN 112131061 A CN112131061 A CN 112131061A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- bandwidth
- hard disks
- hard
- function
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012360 testing method Methods 0.000 claims abstract description 106
- 230000006870 function Effects 0.000 claims description 79
- 230000004044 response Effects 0.000 claims description 12
- 230000003370 grooming effect Effects 0.000 claims description 9
- 230000001351 cycling effect Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 7
- 238000005259 measurement Methods 0.000 description 5
- 238000000691 measurement method Methods 0.000 description 4
- 238000013515 script Methods 0.000 description 4
- 238000011056 performance test Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects 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
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a method and a device for measuring the bandwidth of a hard disk backboard, wherein the method comprises the following steps: initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard; starting a database asynchronous input and output engine to enable a test tool to be available; circulating different numbers of hard disks from 1 to the total number of the hard disks to execute 128K sequence reading based on a test tool, and simultaneously circularly testing the bandwidth of the hard disks; and determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time by using a test tool. The invention can automatically measure the upper limit of the bandwidth of the hard disk backboard, save labor, improve efficiency and avoid errors.
Description
Technical Field
The present invention relates to the field of testing, and more particularly, to a method and an apparatus for measuring a bandwidth of a hard disk backplane.
Background
With the rapid development of the internet industry, the application of the mass storage server is more and more extensive. The hard disk is a carrier for data storage, and the back plate is a medium for data storage. The storage performance of the server is not only related to the performance of the hard disk and the performance of the CPU, but also limited by the bandwidth of the backplane. Therefore, in the development and test process of the server, the test of the bandwidth of the hard disk backplane is a very important link.
At present, the performance of the hard disk is generally tested by using a fio tool, and although various scripts are different, the testing mechanism is basically the same. An io engine used in the fio test is libaio, and the fio can be installed only after the libaio is preassembled in Linux. In the performance problem of the hard disk backplane, bandwidth is a main concern, and therefore, read-write testing needs to be performed on the hard disk connected to the backplane. In actual measurement, the total read-write bandwidth of the backplane reaches an upper limit value when the read-write bandwidth of the mounted hard disk occupies a certain critical value, and the upper limit value can be obtained only after manual measurement and calculation.
For example, one test method of the prior art is: firstly, carrying out fio performance test on a single hard disk to obtain bandwidth; performing parallel fio performance test on 4 hard disks to obtain bandwidth; and then gradually increasing the number of the hard disks to perform multi-disk parallel fio performance test to obtain the bandwidth, and stopping the test until the total bandwidth reaches the upper limit. This needs manual dismouting hard disk many times, and the test of every turn all takes about 10 hours test time, still needs manual arrangement test result after the test is accomplished, and it is time-consuming and laboursome to take time, and efficiency is lower and the error appears easily.
Aiming at the problems that the bandwidth measurement of the hard disk backplane in the prior art consumes manpower, has low efficiency and is easy to generate errors, no effective solution is available at present.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for measuring a bandwidth of a hard disk backplane, which can automatically measure an upper limit of the bandwidth of the hard disk backplane, save labor, improve efficiency, and avoid errors.
Based on the above purpose, a first aspect of the embodiments of the present invention provides a method for measuring a bandwidth of a hard disk backplane, including the following steps:
initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
starting a database asynchronous input and output engine to enable a test tool to be available;
circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk;
and determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time by using a test tool.
In some embodiments, the testing tool comprises a determining device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function; the test tool is configured to address the hard disk based on determining the device function, initialize a state of the hard disk based on the hard disk erase function, perform a 128K sequence read based on the read-write function, test a bandwidth of the hard disk based on the bandwidth test function, and determine a bandwidth of the hard disk backplane based on the sorting function.
In some embodiments, the test tool further comprises a tuning function; the test tool is configured to execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
In some embodiments, cycling through a different number of hard disks from 1 to the total number of hard disks to perform 128K sequence reads includes: sequentially selecting each number of hard disks from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously executed for a preset time each time the hard disks are selected, and the same steps are repeatedly executed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously executed for the preset time on the hard disks in the total number of the hard disks.
In some embodiments, the method further comprises: while causing the hard disk to perform the 128K sequence read, also causing the hard disk to loop through at least one of: 128K sequence writing, 4K random reading, 4K random writing.
In some embodiments, the loop testing the bandwidth of each hard disk comprises: and recording the bandwidth occupied by the hard disks when selecting each number of hard disks from 1 to the total number of the hard disks to execute a 128K sequence.
In some embodiments, determining the bandwidth of the hard disk backplane based on the maximum of the sum of the bandwidths of the hard disks at the same time comprises: and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
In view of the above, a second aspect of the embodiments of the present invention provides a device for measuring a bandwidth of a hard disk backplane, including:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
starting a database asynchronous input and output engine to enable a test tool to be available;
circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk;
and determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time by using a test tool.
In some embodiments, the testing tool includes determining a device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function, and a tuning function; the test tool is configured to address the hard disk based on determining a device function, initialize a state of the hard disk based on a hard disk erase function, perform a 128K sequence read based on a read-write function, test a bandwidth of the hard disk based on a bandwidth test function, and determine a bandwidth of a hard disk backplane based on a grooming function, and execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
In some embodiments, cycling through a different number of hard disks from 1 to the total number of hard disks to perform 128K sequence reads includes: sequentially selecting each number of hard disks from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously performed for a preset time when the hard disks are selected each time, and the same step is repeatedly performed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously performed for the hard disks in the total number of the hard disks for the preset time;
determining the bandwidth of the hard disk backplane based on the maximum value of the sum of the bandwidths of the hard disks at the same time comprises: and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
The invention has the following beneficial technical effects: the method and the device for measuring the bandwidth of the hard disk backboard provided by the embodiment of the invention have the advantages that the hard disk backboard fully assembled with the hard disks is initialized, and the total quantity of the hard disks assembled on the hard disk backboard is determined; starting a database asynchronous input and output engine to enable a test tool to be available; circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk; the technical scheme that the testing tool is used for determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time can automatically measure the bandwidth upper limit of the hard disk backboard, save labor, improve efficiency and avoid errors.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for measuring a bandwidth of a hard disk backplane according to the present invention;
fig. 2 is a schematic diagram illustrating a principle of a method for measuring a bandwidth of a hard disk backplane according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Based on the above purpose, a first aspect of the embodiments of the present invention provides an embodiment of a method for measuring a bandwidth of a hard disk backplane, where the method is used to automatically measure a bandwidth upper limit of the hard disk backplane. Fig. 1 is a schematic flow chart of a method for measuring a bandwidth of a hard disk backplane provided by the present invention.
The method for measuring the bandwidth of the hard disk backplane, as shown in fig. 1, comprises the following steps:
step S101: initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
step S103: starting a database asynchronous input and output engine to enable a test tool to be available;
step S105: circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk;
step S107: and determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time by using a test tool.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program to instruct relevant hardware to perform the processes, and the processes can be stored in a computer readable storage medium, and when executed, the processes can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some embodiments, the testing tool comprises a determining device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function; the test tool is configured to address the hard disk based on determining the device function, initialize a state of the hard disk based on the hard disk erase function, perform a 128K sequence read based on the read-write function, test a bandwidth of the hard disk based on the bandwidth test function, and determine a bandwidth of the hard disk backplane based on the sorting function.
In some embodiments, the test tool further comprises a tuning function; the test tool is configured to execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
In some embodiments, cycling through a different number of hard disks from 1 to the total number of hard disks to perform 128K sequence reads includes: sequentially selecting each number of hard disks from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously executed for a preset time each time the hard disks are selected, and the same steps are repeatedly executed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously executed for the preset time on the hard disks in the total number of the hard disks.
In some embodiments, the method further comprises: while causing the hard disk to perform the 128K sequence read, also causing the hard disk to loop through at least one of: 128K sequence writing, 4K random reading, 4K random writing.
In some embodiments, the loop testing the bandwidth of each hard disk comprises: and recording the bandwidth occupied by the hard disks when selecting each number of hard disks from 1 to the total number of the hard disks to execute a 128K sequence.
In some embodiments, determining the bandwidth of the hard disk backplane based on the maximum of the sum of the bandwidths of the hard disks at the same time comprises: and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
In order to more clearly illustrate the implementation of the present invention, the following embodiments are further provided to illustrate the present invention.
Fig. 2 shows the testing principle of the present invention, in which the number of hard disks is traversed from 1 to X (X is equal to the maximum number of hard disks supported by the backplane), each loop tests a corresponding number of hard disks, stores the test results in a file to perform sorting and summarization of the test results, and compares the SUM values of the bandwidths of each row to obtain the bandwidth upper limit of the hard disk backplane. The specific steps are as follows:
1. fully allocating hard disks on the hard disk backboard, and setting a global variable AMUNT in the script to be equal to the number of the hard disks mounted on the backboard;
2. installing a liboio engine under the Linux system, and installing a fio test tool;
3. executing a test script,/bp _ bw _ test.sh, wherein the script sequentially executes a get _ device function, an hd _ erase function, a write128k2h function, a bw _ test function and a sort _ out function to complete the bandwidth test of the hard disk backplane, and if the bandwidth of a single disk is insufficient, a tune _ os function can be executed to optimize the Linux system;
4. and checking the result.csv file after the test is finished, comparing the bandwidth sum of each row, wherein the maximum value after the bandwidth sum tends to be stable is the bandwidth upper limit of the backboard.
It can be seen from the foregoing embodiments that, in the method for measuring bandwidth of a hard disk backplane according to the embodiments of the present invention, the total number of hard disks mounted on the hard disk backplane is determined by initializing the hard disk backplane fully mounted with the hard disks; starting a database asynchronous input and output engine to enable a test tool to be available; circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk; the technical scheme that the testing tool is used for determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time can automatically measure the bandwidth upper limit of the hard disk backboard, save labor, improve efficiency and avoid errors.
It should be particularly noted that, the steps in the foregoing embodiments of the hard disk backplane bandwidth measurement method may be mutually intersected, replaced, added, and deleted, and therefore, the hard disk backplane bandwidth measurement method based on these reasonable permutation and combination transformations shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the above embodiments.
In view of the foregoing, a second aspect of the embodiments of the present invention provides an embodiment of a hard disk backplane bandwidth measurement apparatus for automatically measuring a bandwidth upper limit of a hard disk backplane. The hard disk backboard bandwidth measuring device comprises:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
starting a database asynchronous input and output engine to enable a test tool to be available;
circularly executing 128K sequence reading on different numbers of hard disks from 1 to the total number of the hard disks based on a testing tool, and circularly testing the bandwidth of each hard disk;
and determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time by using a test tool.
In some embodiments, the testing tool includes determining a device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function, and a tuning function; the test tool is configured to address the hard disk based on determining a device function, initialize a state of the hard disk based on a hard disk erase function, perform a 128K sequence read based on a read-write function, test a bandwidth of the hard disk based on a bandwidth test function, and determine a bandwidth of a hard disk backplane based on a grooming function, and execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
In some embodiments, cycling through a different number of hard disks from 1 to the total number of hard disks to perform 128K sequence reads includes: sequentially selecting each number of hard disks from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously performed for a preset time when the hard disks are selected each time, and the same step is repeatedly performed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously performed for the hard disks in the total number of the hard disks for the preset time;
determining the bandwidth of the hard disk backplane based on the maximum value of the sum of the bandwidths of the hard disks at the same time comprises: and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
It can be seen from the foregoing embodiments that, in the bandwidth measuring device for a hard disk backplane according to the embodiments of the present invention, the total number of hard disks mounted on the hard disk backplane is determined by initializing the hard disk backplane fully mounted with the hard disks; starting a database asynchronous input and output engine to enable a test tool to be available; circulating different numbers of hard disks from 1 to the total number of the hard disks to execute 128K sequence reading based on a test tool, and simultaneously circularly testing the bandwidth of the hard disks; the technical scheme that the testing tool is used for determining the bandwidth of the hard disk backboard based on the maximum value of the sum of the bandwidths of the hard disks at the same time can automatically measure the bandwidth upper limit of the hard disk backboard, save labor, improve efficiency and avoid errors.
It should be particularly noted that, the above embodiment of the hard disk backplane bandwidth measurement apparatus employs the embodiment of the hard disk backplane bandwidth measurement method to specifically describe the working process of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the hard disk backplane bandwidth measurement method. Of course, since the steps in the embodiment of the method for measuring the bandwidth of the hard disk backplane can be mutually intersected, replaced, added, and deleted, the device for measuring the bandwidth of the hard disk backplane, which is transformed by reasonable permutation and combination, shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the embodiment.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for measuring the bandwidth of a hard disk backboard is characterized by comprising the following steps:
initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
starting a database asynchronous input and output engine to enable a test tool to be available;
circularly executing 128K sequence reading from 1 to different numbers of hard disks of the total number of hard disks based on the testing tool, and circularly testing the bandwidth of each hard disk;
and determining the bandwidth of the hard disk backboard by using the testing tool based on the maximum value of the sum of the bandwidths of the hard disks at the same time.
2. The method of claim 1, wherein the testing tool comprises determining a device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function; the test tool is configured to address a hard disk based on determining a device function, initialize a state of the hard disk based on a hard disk erase function, perform a 128K sequence read based on a read-write function, test a bandwidth of the hard disk based on a bandwidth test function, and determine a bandwidth of the hard disk backplane based on a sorting function.
3. The method of claim 2, wherein the test tool further comprises a tuning function; the test tool is configured to execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
4. The method of claim 1, wherein cycling through a number of hard disks from 1 to a total number of the hard disks to perform 128K sequence reads comprises:
sequentially selecting each number of hard disks from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously executed for a preset time each time the hard disks are selected, and the same steps are repeatedly executed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously executed for the preset time by the hard disks in the total number of the hard disks.
5. The method of claim 4, further comprising: while causing the hard disk to perform the 128K sequence read, also causing the hard disk to loop through at least one of: 128K sequence writing, 4K random reading, 4K random writing.
6. The method of claim 4, wherein cyclically testing the bandwidth of each hard disk comprises:
and recording the bandwidth occupied by the hard disks when selecting each number of hard disks from 1 to the total number of the hard disks to execute a 128K sequence.
7. The method of claim 4, wherein determining the bandwidth of the hard disk backplane based on a maximum of a sum of bandwidths of hard disks at a same time comprises:
and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
8. The utility model provides a hard disk backplate bandwidth measuring device which characterized in that includes:
a processor; and
a memory storing program code executable by the processor, the program code when executed performing the steps of:
initializing a hard disk backboard fully assembled with hard disks, and determining the total number of the hard disks assembled on the hard disk backboard;
starting a database asynchronous input and output engine to enable a test tool to be available;
circularly executing 128K sequence reading from 1 to different numbers of hard disks of the total number of hard disks based on the testing tool, and circularly testing the bandwidth of each hard disk;
and determining the bandwidth of the hard disk backboard by using the testing tool based on the maximum value of the sum of the bandwidths of the hard disks at the same time.
9. The apparatus of claim 8, wherein the testing tool comprises a determine device function, a hard disk erase function, a read-write function, a bandwidth test function, a grooming function, and a tuning function; the test tool is configured to address a hard disk based on determining a device function, initialize a state of the hard disk based on a hard disk erase function, perform a 128K sequence read based on a read-write function, test a bandwidth of the hard disk based on a bandwidth test function, and determine a bandwidth of the hard disk backplane based on a grooming function, and execute a tuning function to reset performance parameters of the test system in response to insufficient bandwidth of the single hard disk.
10. The apparatus of claim 9, wherein cycling through a different number of hard disks from 1 to the total number of hard disks to perform 128K sequence reads comprises: sequentially selecting hard disks with each number from 1 to the total number of the hard disks in different time periods to execute 128K sequence reading, wherein the 128K sequence reading is continuously performed for a preset time when the hard disks are selected each time, and the same step is repeatedly performed by re-selecting 1 number of hard disks after the 128K sequence reading is continuously performed for the hard disks with the total number of the hard disks for the preset time;
determining the bandwidth of the hard disk backplane based on the maximum value of the sum of the bandwidths of the hard disks at the same time comprises: and determining the maximum value as the bandwidth of the hard disk backboard in response to the sum of the bandwidths of the hard disks at the same time having the same maximum value in at least two different times and different hard disk numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010989986.5A CN112131061B (en) | 2020-09-18 | 2020-09-18 | Method and device for measuring bandwidth of hard disk backplane |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010989986.5A CN112131061B (en) | 2020-09-18 | 2020-09-18 | Method and device for measuring bandwidth of hard disk backplane |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112131061A true CN112131061A (en) | 2020-12-25 |
CN112131061B CN112131061B (en) | 2022-12-16 |
Family
ID=73841822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010989986.5A Active CN112131061B (en) | 2020-09-18 | 2020-09-18 | Method and device for measuring bandwidth of hard disk backplane |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112131061B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115129566A (en) * | 2022-06-28 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Method, system, equipment and storage medium for verifying bandwidth performance of hard disk backplane |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170026266A1 (en) * | 2013-12-05 | 2017-01-26 | Freescale Semiconductor, Inc. | Bandwidth estimation circuit, computer system, method for estimating and predicting the bandwidth and computer readable program product |
CN110347540A (en) * | 2019-07-12 | 2019-10-18 | 深圳忆联信息系统有限公司 | Total bandwidth test method, device and computer equipment based on solid state hard disk |
CN110764715A (en) * | 2019-11-09 | 2020-02-07 | 苏州浪潮智能科技有限公司 | Bandwidth control method, device and storage medium |
-
2020
- 2020-09-18 CN CN202010989986.5A patent/CN112131061B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170026266A1 (en) * | 2013-12-05 | 2017-01-26 | Freescale Semiconductor, Inc. | Bandwidth estimation circuit, computer system, method for estimating and predicting the bandwidth and computer readable program product |
CN110347540A (en) * | 2019-07-12 | 2019-10-18 | 深圳忆联信息系统有限公司 | Total bandwidth test method, device and computer equipment based on solid state hard disk |
CN110764715A (en) * | 2019-11-09 | 2020-02-07 | 苏州浪潮智能科技有限公司 | Bandwidth control method, device and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115129566A (en) * | 2022-06-28 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Method, system, equipment and storage medium for verifying bandwidth performance of hard disk backplane |
Also Published As
Publication number | Publication date |
---|---|
CN112131061B (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ding et al. | Log2: A {Cost-Aware} logging mechanism for performance diagnosis | |
Wang et al. | Using realistic simulation for performance analysis of mapreduce setups | |
CN108133732B (en) | Performance test method, device and equipment of flash memory chip and storage medium | |
US9026998B2 (en) | Selecting relevant tests to quickly assess code stability | |
US20130111267A1 (en) | Optimizing regression testing based on code coverage analysis | |
US20080155338A1 (en) | Software testing framework for multiple operating system, hardware, and software configurations | |
CN104407951A (en) | Method for automatically testing complete server | |
US8892386B2 (en) | Method and apparatus for post-silicon testing | |
US20130091490A1 (en) | Method to automatically discover whether new code is covered by tests | |
US6058055A (en) | System for testing memory | |
CN107562532B (en) | Method and device for predicting hardware resource utilization rate of equipment cluster | |
US9195730B2 (en) | Verifying correctness of a database system via extended access paths | |
CN112131061B (en) | Method and device for measuring bandwidth of hard disk backplane | |
Holzmann et al. | Tackling large verification problems with the swarm tool | |
Grambow et al. | Using application benchmark call graphs to quantify and improve the practical relevance of microbenchmark suites | |
CN114996127A (en) | Intelligent test method and system for solid state disk firmware module | |
CN114546749A (en) | Chip random test case regression method, device, equipment and readable medium | |
Appello et al. | Accelerated analysis of simulation dumps through parallelization on multicore architectures | |
US11132286B1 (en) | Dynamic reordering of test case execution | |
CN112731117A (en) | Automatic verification method and system for chip, and storage medium | |
Bergman et al. | Don't Waste Your Time: Early Stopping Cross-Validation | |
Katsaragakis et al. | Memory management methodology for application data structure refinement and placement on heterogeneous dram/nvm systems | |
CN114155054A (en) | Big data report statistics testing method and system based on kafka | |
CN114355171B (en) | Reconfigurable chip performance bottleneck detection platform, detection method and electronic equipment | |
CN116204396A (en) | Test method and device for performance of analytical database |
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 |