CN103810065B - Method and device for testing disk array - Google Patents
Method and device for testing disk array Download PDFInfo
- Publication number
- CN103810065B CN103810065B CN201210460783.2A CN201210460783A CN103810065B CN 103810065 B CN103810065 B CN 103810065B CN 201210460783 A CN201210460783 A CN 201210460783A CN 103810065 B CN103810065 B CN 103810065B
- Authority
- CN
- China
- Prior art keywords
- matrix
- access control
- control policy
- accessed
- storage space
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 41
- 239000011159 matrix material Substances 0.000 claims abstract description 176
- 230000002159 abnormal effect Effects 0.000 claims abstract description 28
- 238000003491 array Methods 0.000 claims description 8
- 238000013500 data storage Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 19
- 238000011217 control strategy Methods 0.000 description 15
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000010998 test method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
本发明公开了一种测试磁盘阵列的方法和装置,用以解决现有技术中不能检测出磁盘阵列异常运行状态以及不能得到准确测试结果的问题。包括:确定预先设置的访问控制策略组;依次针对访问控制策略组中的每个访问控制策略执行指定操作,直至遍历全部访问控制策略为止;指定操作包括:从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素;根据预先建立的矩阵元素与待测试逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块;并判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的数据是否匹配;根据判断结果,确定磁盘阵列的运行状态是否异常。
The invention discloses a method and a device for testing a disk array, which are used to solve the problems in the prior art that the abnormal running state of the disk array cannot be detected and accurate test results cannot be obtained. Including: determining the preset access control policy group; executing the specified operation for each access control policy in the access control policy group in turn until all access control policies are traversed; the specified operation includes: starting from the logic unit to be tested for the disk array In the correspondingly set storage space matrix, determine the matrix elements to be accessed; according to the correspondence between the pre-established matrix elements and the respective data blocks contained in the logic unit to be tested, determine the data blocks to be accessed corresponding to the matrix elements to be accessed; and judge Whether the write data specified for the data block to be accessed matches the data returned after the read operation is performed according to the access control policy; and according to the judgment result, it is determined whether the operation state of the disk array is abnormal.
Description
技术领域technical field
本发明涉及测试技术领域,尤其涉及一种测试磁盘阵列的方法和装置。The invention relates to the technical field of testing, in particular to a method and device for testing a disk array.
背景技术Background technique
一个磁盘阵列包括控制器和物理磁盘柜,控制器用来运行控制软件和各种算法,用于缓存数据的高速缓冲存储器cache位于控制器中;而物理磁盘柜在控制器的控制下存储数据。正常情况下,磁盘阵列收到客户端的一个IO读请求时,如果请求的数据在高速缓冲存储器cache没有命中,那么要将请求的数据从磁盘阵列的物理磁盘柜读入到cache中,再由cache向客户端返回;当磁盘阵列收到客户端一个IO写请求时,要将待写入数据写到cache中,并向客户端返回成功应答,之后根据算法控制,再在某个时间由cache将该待写入数据写入磁盘阵列中的物理磁盘柜中。根据磁盘阵列这一运行特点,现有的磁盘阵列的测试方法是:单纯的仿真IO读写操作,即:向磁盘阵列发送IO写操作命令,收到磁盘阵列返回的成功应答;再向磁盘阵列发送用于读取写入的数据的IO读操作命令,收到磁盘阵列返回的数据。现有技术中,上述过程中不会验证写入的数据和读出的数据是否一致。A disk array includes a controller and a physical disk cabinet. The controller is used to run control software and various algorithms. The cache for caching data is located in the controller; and the physical disk cabinet stores data under the control of the controller. Under normal circumstances, when the disk array receives an IO read request from the client, if the requested data is not hit in the cache memory, then the requested data must be read from the physical disk cabinet of the disk array into the cache, and then the cache Return to the client; when the disk array receives an IO write request from the client, it will write the data to be written into the cache, and return a successful response to the client, and then control the algorithm according to the algorithm, and then at a certain time, the cache will The data to be written is written into a physical disk enclosure in the disk array. According to the operating characteristics of the disk array, the existing disk array test method is: simple simulation IO read and write operations, that is: send the IO write operation command to the disk array, receive the successful response returned by the disk array; Send the IO read operation command for reading the written data, and receive the data returned by the disk array. In the prior art, the above process does not verify whether the written data is consistent with the read data.
在实际测试中,为了得到一个更高的测试值,被测磁盘阵列的厂家有可能会改变磁盘阵列的控制软件。比如,对于IO读操作命令,即便cache没有命中,其也不会从磁盘阵列的物理磁盘柜中读数据再向客户端返回,而是直接向客户端返回cache中的其他数据。In the actual test, in order to obtain a higher test value, the manufacturer of the tested disk array may change the control software of the disk array. For example, for an IO read operation command, even if the cache misses, it will not read data from the physical disk cabinet of the disk array and return it to the client, but directly return other data in the cache to the client.
可见,现有的这种测试方法不能有效的检测出磁盘阵列这种异常的运行状态,从而会导致测试的数值虚高,不符合其实际运行情况。It can be seen that the existing test method cannot effectively detect the abnormal operating state of the disk array, which will lead to falsely high test values, which do not conform to the actual operating conditions.
另外,现有的测试模型实现方式是用生成随机数的方式实现的,如图1所示,为现有技术中使用生成随机数的方式实现测试的示意图。其中,测试模型生成包含100个元素的数组,每个元素代表一种具体的访问控制策略,根据生成的随机数来确定选取相应的元素代表的访问控制策略,并根据确定的访问控制策略对磁盘阵列进行测试。在实际应用中,比如一个联机事务处理OLTP模型,其生成包含从1至100的数组,该数组代表一个访问控制策略组,其中“1-20”代表的访问控制策略为“以随机访问方式读8K字节”,“21-65”代表的访问控制策略为“以随机访问方式读4K字节”,“66-80”代表的访问控制策略为“以随机访问方式写8K字节”,“81-90”代表的访问控制策略为“以顺序访问方式写64K字节”,“91-100”代表的访问控制策略为“以顺序访问方式读64K字节”。可见,在针对该OLTP模型所设置的访问控制策略中,8K字节的随机读操作占20%,4K字节的随机读操作占45%,8K字节的随机写操作占15%,64K字节的顺序读操作占10%,64K字节的顺序写操作占10%。In addition, the existing test model is realized by generating random numbers, as shown in FIG. 1 , which is a schematic diagram of implementing tests by generating random numbers in the prior art. Among them, the test model generates an array containing 100 elements, and each element represents a specific access control strategy. According to the generated random number, the access control strategy represented by the corresponding element is determined, and the disk is controlled according to the determined access control strategy. array for testing. In practical applications, such as an online transaction processing OLTP model, which generates an array from 1 to 100, which represents an access control policy group, where "1-20" represents the access control policy as "read in random access mode 8K bytes", the access control strategy represented by "21-65" is "read 4K bytes by random access", and the access control strategy represented by "66-80" is "write 8K bytes by random access", " The access control policy represented by 81-90" is "write 64K bytes in sequential access mode", and the access control policy represented by "91-100" is "read 64K bytes in sequential access mode". It can be seen that in the access control policy set for this OLTP model, 8K byte random read operations account for 20%, 4K byte random read operations account for 45%, 8K byte random write operations account for 15%, and 64K byte random read operations account for 15%. Sequential reads of sections account for 10%, and sequential writes of 64K bytes account for 10%.
在实际测试中,只有其依据的不同访问控制策略在访问控制策略组中所占的比例满足规定比例时,才会得到最准确的测试结果。但是,由于没有办法按需求控制生成的随机数而使得测试所依据的访问控制策略达到这样的比例,比如当使用生成随机数的方式在上述OLTP模型中对磁盘阵列进行测试时,生成的100个随机数中若有30个随机数落入[1,20]这一区间,那么“1-20”所对应的访问控制策略就会占30%,从而生成的随机数所指向访问控制策略在访问控制策略组中所占的比例注定不会很精确,因此无法很好地实现在上述模型中测试磁盘阵列的目的。In the actual test, the most accurate test results will be obtained only when the proportion of the different access control policies it is based on in the access control policy group meets the specified proportion. However, since there is no way to control the generated random numbers according to the requirements, the access control strategy based on the test reaches such a ratio. For example, when the disk array is tested in the above OLTP model using the method of generating random If 30 random numbers in the random number fall into the range [1, 20], then the access control policy corresponding to "1-20" will account for 30%, so the generated random number points to the access control policy in the access The proportions in the control policy group are bound to be imprecise, and thus do not serve the purpose of testing disk arrays in the above model well.
发明内容Contents of the invention
本发明实施例提供一种测试磁盘阵列的方法和装置,用以解决现有技术中不能检测出磁盘阵列异常运行状态以及不能得到准确的测试结果的问题。Embodiments of the present invention provide a method and device for testing a disk array to solve the problems in the prior art that the abnormal operation state of the disk array cannot be detected and accurate test results cannot be obtained.
本发明实施例采用以下技术方案:Embodiments of the present invention adopt the following technical solutions:
一种测试磁盘阵列的方法,包括:A method of testing a disk array, comprising:
确定预先设置的访问控制策略组;依次针对所述访问控制策略组中的每个访问控制策略执行指定操作,直至遍历全部访问控制策略为止;其中,所述指定操作包括:从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素;根据预先建立的矩阵元素与所述待测试逻辑单元所包含的各个数据块的对应关系,确定与所述待访问矩阵元素对应的待访问数据块;并在该访问控制策略所规定的读写IO操作类型为读操作时,判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的数据是否匹配;根据针对每个访问控制策略执行所述指定操作而得到的判断结果,确定所述磁盘阵列的运行状态是否异常。Determine a preset access control policy group; execute a specified operation for each access control policy in the access control policy group in turn until all access control policies are traversed; wherein the specified operation includes: from the disk array to be In the storage space matrix set corresponding to the test logic unit, determine the matrix element to be accessed; according to the correspondence between the pre-established matrix element and each data block contained in the logic unit to be tested, determine the matrix element corresponding to the matrix element to be accessed The data block to be accessed; and when the type of read-write IO operation specified by the access control policy is a read operation, it is judged that the write data specified for the data block to be accessed and the data returned after the read operation is performed according to the access control policy Whether it matches; according to the judgment result obtained by executing the specified operation for each access control policy, determine whether the operation status of the disk array is abnormal.
一种测试磁盘阵列的装置,包括:A device for testing disk arrays, comprising:
访问控制策略组确定单元,用于确定预先设置的访问控制策略组;执行单元,用于依次针对访问控制策略组确定单元确定的所述访问控制策略组中的每个访问控制策略执行指定操作,直至遍历全部访问控制策略为止;其中,所述指定操作包括:从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素;根据预先建立的矩阵元素与所述待测试逻辑单元所包含的各个数据块的对应关系,确定与所述待访问矩阵元素对应的待访问数据块;并在该访问控制策略所规定的读写IO操作类型为读操作时,判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的数据是否匹配;运行状态确定单元,用于根据针对每个访问控制策略执行所述指定操作而得到的判断结果,确定所述磁盘阵列的运行状态是否异常。an access control policy group determination unit, configured to determine a preset access control policy group; an execution unit, configured to sequentially perform specified operations on each access control policy in the access control policy group determined by the access control policy group determination unit, Until all access control policies are traversed; wherein, the specified operation includes: determining the matrix elements to be accessed from the storage space matrix corresponding to the logic unit to be tested in the disk array; Test the corresponding relationship of each data block included in the logic unit, determine the data block to be accessed corresponding to the matrix element to be accessed; Whether the write data specified by the access data block matches the data returned after the read operation is performed according to the access control policy; the operating state determination unit is used to determine the result obtained by performing the specified operation for each access control policy, Determine whether the running state of the disk array is abnormal.
本发明实施例的有益效果如下:The beneficial effects of the embodiments of the present invention are as follows:
本发明实施例提供的方案当从磁盘阵列读出的数据不是指定写入的数据时,通过该判断结果就能确定该磁盘阵列存在异常的运行状态,从而克服了现有技术中不会验证写入的数据和读出的数据是否一致的缺陷,解决了现有技术中不能检测出磁盘阵列异常运行状态的问题;另一方面,通过遍历预先设置的访问控制策略组中的访问控制策略,实现了对每条访问控制策略的读取,使得在实际测试中,能够精确的按照设置的访问控制策略在访问控制策略组中所占的比例进行测试,进而得到准确的测试结果。According to the solution provided by the embodiment of the present invention, when the data read from the disk array is not the data specified to be written, it can be determined that the disk array has an abnormal operating state through the judgment result, thereby overcoming the problem of not verifying the write in the prior art. Whether the input data is consistent with the read data solves the problem that the abnormal operation status of the disk array cannot be detected in the prior art; on the other hand, by traversing the access control policies in the preset access control policy group, the In order to read each access control policy, in the actual test, the test can be accurately performed according to the proportion of the set access control policy in the access control policy group, and then accurate test results can be obtained.
附图说明Description of drawings
图1为现有技术中使用生成随机数的方式实现测试的示意图;Fig. 1 is the schematic diagram that uses the mode of generating random number to realize test in the prior art;
图2为本发明实施例提供的一种测试磁盘阵列的方法的主要流程图;FIG. 2 is a main flowchart of a method for testing a disk array provided by an embodiment of the present invention;
图3为为本发明实施例提供的一种访问控制策略矩阵的示意图;FIG. 3 is a schematic diagram of an access control policy matrix provided by an embodiment of the present invention;
图4为本发明实施例提供的一种遍历访问控制策略矩阵的示意图;FIG. 4 is a schematic diagram of a traversal access control policy matrix provided by an embodiment of the present invention;
图5为本发明实施例提供的上述方案在实际应用中的一个具体实现示意图;FIG. 5 is a schematic diagram of a specific implementation of the above solution provided by the embodiment of the present invention in practical application;
图6为本发明实施例中存储空间矩阵的实现示意图;FIG. 6 is a schematic diagram of an implementation of a storage space matrix in an embodiment of the present invention;
图7为本发明实施例提供的存储空间矩阵的不同访问方法的示意图;FIG. 7 is a schematic diagram of different access methods for a storage space matrix provided by an embodiment of the present invention;
图8为本发明实施例提供的一种测试磁盘阵列的装置的结构示意图。FIG. 8 is a schematic structural diagram of a device for testing a disk array provided by an embodiment of the present invention.
具体实施方式detailed description
为了解决现有技术中不能检测出磁盘阵列异常运行状态以及不能得到准确的测试结果的问题,本发明实施例提供了一种测试磁盘阵列的方案。该方案一方面根据每个访问控制策略,从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定带访问矩阵元素,再根据预先建立的矩阵元素与待测试的逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块,进而判断针对待访问数据块所指定的写入数据与根据访问控制策略执行读操作后返回的数据是否匹配,克服了现有技术中不会验证写入的数据和读出的数据是否一致的缺陷,当从磁盘阵列读出的数据不是指定写入的数据时,通过该判断结果就能确定该磁盘阵列存在异常的运行状态,从而解决了现有技术中不能检测出磁盘阵列异常运行状态的问题;另一方面,通过遍历预先设置的访问控制策略组中的访问控制策略,实现了对每条访问控制策略的读取,使得在实际测试中,能够精确的按照设置的访问控制策略在访问控制策略组中所占的比例进行测试,进而得到准确的测试结果。In order to solve the problems in the prior art that the abnormal operating state of the disk array cannot be detected and accurate test results cannot be obtained, the embodiment of the present invention provides a solution for testing the disk array. On the one hand, according to each access control strategy, the solution determines the matrix elements with access from the storage space matrix corresponding to the logic unit to be tested in the disk array, and then according to the pre-established matrix elements and the logic unit to be tested. The corresponding relationship of each data block, determine the data block to be accessed corresponding to the matrix element to be accessed, and then judge whether the write data specified for the data block to be accessed matches the data returned after the read operation is performed according to the access control strategy, and overcome In the prior art, it is impossible to verify whether the written data and the read data are consistent. When the data read from the disk array is not the data specified to be written, it can be determined that there is an abnormality in the disk array through the judgment result. operating state, thereby solving the problem that the abnormal operating state of the disk array cannot be detected in the prior art; on the other hand, by traversing the access control policies in the preset access control policy group, the control of each access control policy is realized. Read, so that in the actual test, the test can be accurately performed according to the proportion of the set access control policy in the access control policy group, and then accurate test results can be obtained.
下面结合各个附图对本发明实施例技术方案的主要实现原理、具体实施方式及其对应能够达到的有益效果进行详细的阐述。The main realization principles, specific implementation modes and corresponding beneficial effects that can be achieved of the technical solutions of the embodiments of the present invention will be described in detail below in conjunction with each accompanying drawing.
如图2所示,为本发明实施例提供的一种测试磁盘阵列的方法的主要流程图,该方法包括以下步骤:As shown in Figure 2, it is a main flowchart of a method for testing a disk array provided by an embodiment of the present invention, the method includes the following steps:
步骤21,确定预先设置的访问控制策略组。Step 21, determining a preset access control policy group.
通常,测试模型包括OLAP和OLTP两个测试场景,每个测试场景包含不同比例、不同访问方式、不同数据量大小的读写IO操作。比如,在OLTP和OLAP场景下分别预先设置的访问控制策略组可以如表1所示。其中,在每个测试模场景中,可以生成一个含100个元素的数组,该数组代表一个访问控制策略组,每个元素代表一种具体的访问控制策略。以表1中的OLTP场景为例,共可以生成5种元素element,每个element对应一种访问控制策略IOProfile,分别如下:Usually, the test model includes two test scenarios of OLAP and OLTP, and each test scenario includes read and write IO operations with different proportions, different access methods, and different data volumes. For example, the preset access control policy groups in OLTP and OLAP scenarios may be shown in Table 1. Wherein, in each test mode scenario, an array containing 100 elements may be generated, the array represents an access control strategy group, and each element represents a specific access control strategy. Taking the OLTP scenario in Table 1 as an example, a total of 5 elements can be generated, and each element corresponds to an access control policy IOProfile, as follows:
a)Element.size=8192,Element.random=100,Element.read=100;a) Element.size=8192, Element.random=100, Element.read=100;
b)Element.size=4096,Element.random=100,Element.read=100;b) Element.size=4096, Element.random=100, Element.read=100;
c)Element.size=8192,Element.random=100,Element.read=0;c) Element.size=8192, Element.random=100, Element.read=0;
d)Element.size=65536,Element.random=0,Element.read=100;d) Element.size=65536, Element.random=0, Element.read=100;
e)Element.size=65536,Element.random=0,Element.read=0;e) Element.size=65536, Element.random=0, Element.read=0;
其中,Element.size表示数据量大小;Element.random表示访问方式,Element.random=100为随机访问方式,Element.random=0表示顺序访问方式;Element.read表示操作方式,Element.read=100为读操作,Element.read=0为写操作。比如以上述a)为例,其所代表的访问控制策略为以随机访问方式读8192字节(4KB)的数据量。Among them, Element.size indicates the size of the data; Element.random indicates the access mode, Element.random=100 indicates the random access mode, Element.random=0 indicates the sequential access mode; Element.read indicates the operation mode, and Element.read=100 is Read operation, Element.read=0 is write operation. For example, taking the above a) as an example, the access control strategy it represents is to read 8192 bytes (4KB) of data in random access mode.
根据每种访问控制策略在访问控制策略组中所占的不同比例,决定各元素的数量,并且所有元素的数量之和为100。According to the different proportions of each access control policy in the access control policy group, the number of elements is determined, and the sum of the numbers of all elements is 100.
表1:Table 1:
步骤22,依次针对访问控制策略组中的每个访问控制策略执行指定操作,直至遍历全部访问控制策略为止。Step 22, execute specified operations for each access control policy in the access control policy group in turn until all access control policies are traversed.
其中,指定操作包括:从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素;根据预先建立的矩阵元素与待测试逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块;并在该访问控制策略所规定的读写IO操作类型为读操作时,判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的数据是否匹配。Wherein, the specified operation includes: determining the matrix elements to be accessed from the storage space matrix corresponding to the logic unit to be tested for the disk array; , determine the data blocks to be accessed corresponding to the elements of the matrix to be accessed; Whether the data returned after the policy executes the read operation matches.
可选的,本发明实施例中可以将生成的数组中包含的100个元素组织成一个10*10的矩阵,如图3所示,为本发明实施例提供的一种访问控制策略矩阵的示意图,通过对该访问控制策略矩阵的遍历,实现对所有访问控制策略的读取。如图4所示,为本发明实施例提供的一种遍历访问控制策略矩阵的示意图,按照从上至下依次访问每个矩阵元素的访问顺序,先对第一列的矩阵元素进行访问,然后,再按照上述访问顺序访问第二列的矩阵元素,以此类推,直至该访问控制策略矩阵的矩阵元素全部遍历完毕。Optionally, in the embodiment of the present invention, the 100 elements contained in the generated array can be organized into a 10*10 matrix, as shown in FIG. 3 , which is a schematic diagram of an access control policy matrix provided in the embodiment of the present invention , by traversing the access control policy matrix, all access control policies are read. As shown in Figure 4, it is a schematic diagram of traversing the access control policy matrix provided by the embodiment of the present invention. According to the access sequence of accessing each matrix element from top to bottom, first access the matrix elements in the first column, and then , and then access the matrix elements in the second column according to the above access sequence, and so on, until all the matrix elements of the access control policy matrix are traversed.
其中,在测试过程中,只有当该存储空间矩阵的矩阵元素必须全部遍历完毕时,测试才能停止;如果该存储空间矩阵的矩阵元素没有遍历一遍,那么测试就不能中止。需要说明的是,在测试过程中,该遍历过程可以循环多次被执行,即当该存储空间矩阵的矩阵元素至少全部遍历一次,测试才能停止。Wherein, during the test process, the test can be stopped only when all the matrix elements of the storage space matrix must be traversed; if the matrix elements of the storage space matrix have not been traversed once, the test cannot be stopped. It should be noted that, during the testing process, the traversal process can be executed multiple times in a loop, that is, the test can only stop when all the matrix elements of the storage space matrix are traversed at least once.
步骤23,根据针对每个访问控制策略执行指定操作而得到的判断结果,确定磁盘阵列运行状态是否异常。Step 23, according to the judgment result obtained by executing the specified operation for each access control policy, determine whether the operation state of the disk array is abnormal.
本发明实施例一方面根据每个访问控制策略,从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素,再根据预先建立的矩阵元素与待测试的逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块,进而判断针对待访问数据块所指定的写入数据与根据访问控制策略执行读操作后返回的数据是否匹配,通过该判断结果就能确定该磁盘阵列是否存在异常的运行状态,进而解决了现有技术中不能检测出磁盘阵列异常运行状态的问题;另一方面,通过遍历预先设置的访问控制策略组中的访问控制策略,实现了对每条访问控制策略的读取,使得能够对各类型操作进行精确的控制,进而得到准确的测试结果。On the one hand, according to each access control strategy, the embodiment of the present invention determines the matrix elements to be accessed from the storage space matrix corresponding to the logic unit to be tested in the disk array, and then according to the pre-established matrix elements and the logic unit to be tested The corresponding relationship of each data block included determines the data block to be accessed corresponding to the matrix element to be accessed, and then judges whether the write data specified for the data block to be accessed matches the data returned after the read operation is performed according to the access control policy , through the judgment result, it can be determined whether the disk array has an abnormal operation state, thereby solving the problem that the abnormal operation state of the disk array cannot be detected in the prior art; on the other hand, by traversing the preset access control policy group The unique access control strategy realizes the reading of each access control strategy, enabling precise control of various types of operations and obtaining accurate test results.
如图5所示,为本发明实施例提供的上述方案在实际应用中的一个具体实现示意图,该方法包括以下步骤:As shown in FIG. 5, it is a schematic diagram of a specific implementation of the above-mentioned solution provided in the embodiment of the present invention in practical application. The method includes the following steps:
步骤51,确定预先设置的访问控制策略组。Step 51, determining a preset access control policy group.
步骤52,针对访问控制策略组中的未被访问过的一个访问控制策略,从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素。Step 52 , for an access control policy that has not been accessed in the access control policy group, determine matrix elements to be accessed from the storage space matrix corresponding to the logic unit to be tested in the disk array.
在测试过程中,以遍历一次访问控制策略组中的全部访问控制策略为例,每个访问控制策略会被且仅会被访问一次。During the test, take traversing all the access control policies in the access control policy group as an example, each access control policy will be accessed and only once.
其中,访问控制策略包括IO操作类型(读操作或写操作)、IO数据量大小和IO访问方式。而IO访问方式包括:IO随机访问方式和IO顺序访问方式。如果前后两次访问的数据块相邻,那么就认为是顺序访问;如果前后两次访问的数据块不相邻,那么就认为是随机访问。Among them, the access control policy includes IO operation type (read operation or write operation), IO data size and IO access mode. The IO access methods include: an IO random access method and an IO sequential access method. If the data blocks accessed twice before and after are adjacent, then it is considered as sequential access; if the data blocks accessed twice before and after are not adjacent, then it is considered as random access.
则该步骤具体包括:根据IO数据量大小和单个数据块的额定数据存储量大小,确定待访问矩阵元素的数量,再根据该存储空间矩阵的读指针和IO访问方式,从该存储空间矩阵中选取上述数量的待访问矩阵元素。其中,上述读指针指向的位置为该存储空间矩阵中最后一个已访问的矩阵元素的存储空间,当初次从存储空间矩阵选取待访问矩阵元素时,读指针指向的位置为存储空间矩阵的第一个矩阵元素的存储空间。Then this step specifically includes: according to the size of the IO data volume and the rated data storage capacity of a single data block, determining the number of matrix elements to be accessed, and then according to the read pointer and the IO access mode of the storage space matrix, from the storage space matrix Select the above number of matrix elements to be accessed. Wherein, the position pointed by the above-mentioned read pointer is the storage space of the last accessed matrix element in the storage space matrix. Storage space for matrix elements.
以下具体介绍存储空间矩阵的设置方式:The following describes how to set up the storage space matrix:
假设磁盘阵列的存储空间被划分为若干个逻辑单元,每个逻辑单元(假定其容量为100GB)以1KB为单位划分为连续的数据块。那么,这些1KB的数据块可以组成一个M行、N列的矩阵,其中,M*N*1KB=100GB。基于划分得到的数据块,存储空间矩阵的设置示意图如图6所示,其具体设置方式为:从逻辑单元的第一个数据块开始依次生成矩阵的第一行,即从M(0,0)到M(0,N-1),共N个元素;之后从M(1,0)到M(1,N-1)生成第2行,依次类推,最终生成存储空间矩阵M(M*N)。Assume that the storage space of the disk array is divided into several logical units, and each logical unit (assumed to have a capacity of 100GB) is divided into continuous data blocks in units of 1KB. Then, these 1KB data blocks can form a matrix with M rows and N columns, where M*N*1KB=100GB. Based on the divided data blocks, the schematic diagram of setting the storage space matrix is shown in Figure 6. The specific setting method is: starting from the first data block of the logic unit, the first row of the matrix is sequentially generated, that is, starting from M(0,0 ) to M (0, N-1), a total of N elements; then generate the second row from M (1, 0) to M (1, N-1), and so on, and finally generate a storage space matrix M (M* N).
可选的,为了使测试中读写验证的简便易行,逻辑单元中每个1KB的数据块内所指定的写入数据可以为其所对应的矩阵元素的行标和列标,其中,前512字节全部写入矩阵元素的行i值,后512字节全部写入矩阵元素的列标j值。Optionally, in order to facilitate the read-write verification in the test, the specified write data in each 1KB data block in the logical unit can be the row label and column label of the corresponding matrix element, where the former All 512 bytes are written into the row i value of the matrix element, and all the last 512 bytes are written into the column j value of the matrix element.
需要说明的是,本发明实施例中的存储空间矩阵的设置方式可以为但不限于上述方式,为了使测试简单易行,优选上述这种设置方式。It should be noted that the storage space matrix in the embodiment of the present invention may be set in the above-mentioned way, but is not limited to the above-mentioned way. In order to make the test simple and easy, the above-mentioned setting way is preferred.
若按照上述存储空间矩阵的设置方式,本发明实施例中对存储空间矩阵的不同访问方法如图7所示。当IO访问方式为IO顺序访问方式时,根据读指针,从位于读指针所指示的矩阵元素右侧的相邻矩阵元素开始,依次从存储空间矩阵中选取由左至右排列的上述数量的待访问矩阵元素;According to the setting method of the above-mentioned storage space matrix, different access methods to the storage space matrix in the embodiment of the present invention are shown in FIG. 7 . When the IO access mode is the IO sequential access mode, according to the read pointer, starting from the adjacent matrix element on the right side of the matrix element indicated by the read pointer, select the above-mentioned number of waiting arrays arranged from left to right from the storage space matrix in turn. access matrix elements;
当IO访问方式为IO随机访问方式时,根据读指针,从位于读指针所指示的矩阵元素下方的相邻矩阵元素开始,依次从存储空间矩阵中选取由左至右排列的上述数量的待访问矩阵元素。When the IO access mode is the IO random access mode, according to the read pointer, starting from the adjacent matrix element below the matrix element indicated by the read pointer, select the above-mentioned number of arrays to be accessed from left to right in the storage space matrix in turn matrix elements.
比如,本次的访问控制策略规定的IO数据量大小为4KB,IO访问方式为顺序访问方式,则根据IO数据量大小4KB和单个数据块的额定数据存储量大小1KB,确定待访问矩阵元素的数量为4,那么,从位于读指针所指示的矩阵元素右侧的相邻矩阵元素开始,依次从存储空间矩阵中选取由左至右排列的4个待访问矩阵元素。For example, if the IO data size stipulated in this access control policy is 4KB, and the IO access method is sequential access, then the matrix element to be accessed is determined according to the IO data size of 4KB and the rated data storage size of a single data block of 1KB. The number is 4, then, starting from the adjacent matrix element on the right side of the matrix element indicated by the read pointer, select 4 matrix elements to be accessed from the storage space matrix arranged from left to right in sequence.
需要说明的是,如果遇到该存储空间矩阵的矩阵元素所在的这一行结束,那么从该存储空间矩阵的下一行继续选取由左至右排列的上述数量的待访问矩阵元素。如果遇到该存储空间矩阵的矩阵元素所在的这一行为该存储空间矩阵的最后一行,则从该存储空间矩阵的第一行继续选取由左至右排列的上述数量的待访问矩阵元素。It should be noted that if the row where the matrix elements of the storage space matrix are located ends, then continue to select the above-mentioned number of matrix elements to be accessed arranged from left to right from the next row of the storage space matrix. If the row where the matrix element of the storage space matrix is located is the last row of the storage space matrix, continue to select the above-mentioned number of matrix elements to be accessed arranged from left to right from the first row of the storage space matrix.
步骤53,根据预先建立的矩阵元素与待测试逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块。Step 53: Determine the data block to be accessed corresponding to the matrix element to be accessed according to the pre-established correspondence between the matrix element and each data block included in the logical unit to be tested.
该对应关系根据步骤52中存储空间矩阵的设置方式决定。本发明实施例中该对应关系具体为:存储空间矩阵的每行矩阵元素依照从左至右的排列顺序,依次一一对应待测试逻辑单元所包含的、在存储空间地址上连续的多个数据块中的各数据块。The corresponding relationship is determined according to the setting method of the storage space matrix in step 52 . In the embodiment of the present invention, the corresponding relationship is specifically: the matrix elements in each row of the storage space matrix are arranged in order from left to right, and one by one corresponds to a plurality of consecutive data contained in the logic unit to be tested on the address of the storage space. Each block of data in the block.
步骤54,从确定的待访问的数据块中得到所指定的写入数据。Step 54, obtain the specified write data from the determined data block to be accessed.
其中,针对任意待访问数据块所指定的写入数据可以为:该待访问数据块所对应的矩阵元素在存储空间矩阵中的编号,在本发明实施例中,矩阵元素在存储空间矩阵中的编号为该矩阵元素在存储空间矩阵中的行标和列标。Wherein, the write data specified for any data block to be accessed may be: the number of the matrix element corresponding to the data block to be accessed in the storage space matrix. In the embodiment of the present invention, the number of the matrix element in the storage space matrix The number is the row label and column label of the matrix element in the storage space matrix.
步骤55,判断访问控制策略中规定的IO操作类型是否为读操作,若是,执行步骤56,否则执行步骤59。Step 55, judging whether the IO operation type specified in the access control policy is a read operation, if so, go to step 56, otherwise go to step 59.
步骤56,执行IO读操作,返回读出数据;Step 56, perform an IO read operation, and return the read data;
步骤57,判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的读出数据是否匹配,若是,执行步骤510,否则执行步骤58。Step 57, judge whether the write data specified for the data block to be accessed matches the read data returned after the read operation is performed according to the access control policy, if yes, execute step 510, otherwise execute step 58.
步骤58,该磁盘阵列的运行状态异常,异常数加1,执行步骤510。In step 58, the operating status of the disk array is abnormal, the abnormal number is increased by 1, and step 510 is executed.
步骤59,执行IO写操作,并返回成功应答。Step 59, execute the IO write operation, and return a successful response.
步骤510,判断是否遍历全部访问控制策略,若是,则测试结束,得到测试结果,否则返回执行步骤52。其中,该测试结果可以是根据最后确定的异常数得到的。比如,可以根据比较最后确定的异常数和预先设置的异常阈值,若最后确定的异常数大于等于预先设置的异常阈值,则测试结果为该磁盘阵列运行状态异常,若最后确定的异常数小于预先设置的异常阈值,则测试结果为该磁盘阵列运行状态正常。Step 510, judge whether to traverse all the access control policies, if yes, the test ends and the test result is obtained; otherwise, return to step 52. Wherein, the test result may be obtained according to the finally determined abnormal number. For example, based on comparing the finally determined abnormal number with the preset abnormal threshold, if the final determined abnormal number is greater than or equal to the preset abnormal threshold, the test result indicates that the disk array is running abnormally; if the final determined abnormal number is less than the preset abnormal threshold If the abnormal threshold is set, the test result indicates that the disk array is running normally.
本发明实施例中,当从磁盘阵列读出的数据不是指定写入的数据时,通过该判断结果就能确定该磁盘阵列存在异常的运行状态,从而克服了现有技术中不会验证写入的数据和读出的数据是否一致的缺陷,解决了现有技术中不能检测出磁盘阵列异常运行状态的问题;另一方面,通过遍历预先设置的访问控制策略组中的访问控制策略,实现了对每条访问控制策略的读取,使得在实际测试中,能够精确的按照设置的访问控制策略在访问控制策略组中所占的比例进行测试,进而得到准确的测试结果。In the embodiment of the present invention, when the data read from the disk array is not the data specified to be written, it can be determined that the disk array has an abnormal operating state through the judgment result, thereby overcoming the problem of not verifying the written data in the prior art. The defect of whether the data and the read data are consistent solves the problem that the abnormal operation status of the disk array cannot be detected in the prior art; on the other hand, by traversing the access control policies in the preset access control policy group, the The reading of each access control policy makes it possible to accurately test according to the proportion of the set access control policy in the access control policy group in the actual test, and then obtain accurate test results.
相应的,本发明实施例还提供了一种测试磁盘阵列的装置,如图8所示,为该装置的结构示意图,包括:Correspondingly, an embodiment of the present invention also provides a device for testing a disk array, as shown in FIG. 8 , which is a schematic structural diagram of the device, including:
访问控制策略组确定单元81,用于确定预先设置的访问控制策略组;An access control policy group determining unit 81, configured to determine a preset access control policy group;
执行单元82,用于依次针对访问控制策略组确定单元81确定的访问控制策略组中的每个访问控制策略执行指定操作,直至遍历全部访问控制策略为止;其中,指定操作包括:从针对磁盘阵列的待测试逻辑单元所对应设置的存储空间矩阵中,确定待访问矩阵元素;根据预先建立的矩阵元素与待测试逻辑单元所包含的各个数据块的对应关系,确定与待访问矩阵元素对应的待访问数据块;并在该访问控制策略所规定的读写IO操作类型为读操作时,判断针对待访问数据块所指定的写入数据与根据该访问控制策略执行读操作后返回的数据是否匹配;The executing unit 82 is configured to execute specified operations for each access control policy in the access control policy group determined by the access control policy group determining unit 81 in turn until all access control policies are traversed; wherein the specified operations include: Determine the matrix elements to be accessed in the storage space matrix corresponding to the logic unit to be tested; determine the matrix elements to be accessed corresponding to the matrix elements to be accessed according to the corresponding relationship between the matrix elements and each data block contained in the logic unit to be tested Access the data block; and when the read-write IO operation type specified in the access control policy is a read operation, determine whether the write data specified for the data block to be accessed matches the data returned after the read operation is performed according to the access control policy ;
运行状态确定单元83,用于根据针对每个访问控制策略执行所述指定操作而得到的判断结果,确定磁盘阵列的运行状态是否异常。The running state determining unit 83 is configured to determine whether the running state of the disk array is abnormal according to the judgment result obtained by executing the specified operation for each access control policy.
可选的,访问控制策略组确定单元81确定的预先设置的访问控制策略组为访问控制策略矩阵,且访问控制策略为访问控制策略矩阵中的矩阵元素。Optionally, the preset access control policy group determined by the access control policy group determining unit 81 is an access control policy matrix, and the access control policy is a matrix element in the access control policy matrix.
可选的,执行单元82中针对任意待访问数据块所指定的写入数据为:该待访问数据块所对应的矩阵元素在存储空间矩阵中的编号。Optionally, the write data specified for any data block to be accessed in the execution unit 82 is: the number of the matrix element corresponding to the data block to be accessed in the storage space matrix.
其中,访问控制策略包括IO数据量大小和IO访问方式;则Among them, the access control strategy includes the size of the IO data volume and the IO access mode; then
执行单元82可以具体包括:Execution unit 82 may specifically include:
数量确定模块821,用于根据IO数据量大小和单个数据块的额定数据存储量大小,确定待访问矩阵元素的数量;Quantity determining module 821, is used for determining the quantity of matrix elements to be accessed according to the size of the IO data volume and the rated data storage volume of a single data block;
选取模块822,用于根据存储空间矩阵的读指针和IO访问方式,从存储空间矩阵中选取数量确定模块确定的数量的待访问矩阵元素。The selection module 822 is configured to select the number of matrix elements to be accessed from the storage space matrix determined by the quantity determination module according to the read pointer and the IO access mode of the storage space matrix.
其中,IO访问方式可以包括:顺序访问方式和随机访问方式;以及Wherein, the IO access method may include: a sequential access method and a random access method; and
执行单元中82中的对应关系具体包括:The corresponding relationship in 82 in the execution unit specifically includes:
存储空间矩阵的每行矩阵元素依照从左至右的排列顺序,依次一一对应所述待测试逻辑单元所包含的、在存储空间地址上连续的多个数据块中的各数据块;则The matrix elements in each row of the storage space matrix correspond to each data block in the plurality of data blocks that are included in the logic unit to be tested and are consecutive on the storage space address one by one in accordance with the arrangement order from left to right; then
执行单元82可以具体用于:Execution unit 82 can be specifically used for:
当IO访问方式为IO顺序访问方式时,根据读指针,从位于读指针所指示的矩阵元素右侧的相邻矩阵元素开始,依次从存储空间矩阵中选取由左至右排列的所述数量的待访问矩阵元素;When the IO access mode is the IO sequential access mode, according to the read pointer, starting from the adjacent matrix element on the right side of the matrix element indicated by the read pointer, select the number of arrays arranged from left to right from the storage space matrix in turn The matrix element to be accessed;
当IO访问方式为IO随机访问方式时,根据读指针,从位于读指针所指示的矩阵元素下方的相邻矩阵元素开始,依次从存储空间矩阵中选取由左至右排列的所述数量的待访问矩阵元素。When the IO access mode is the IO random access mode, according to the read pointer, starting from the adjacent matrix element below the matrix element indicated by the read pointer, select the number of waiting arrays arranged from left to right from the storage space matrix in turn. Access matrix elements.
其中,上述读指针指向的位置为该存储空间矩阵中最后一个已访问的矩阵元素的存储空间,当初次从存储空间矩阵选取待访问矩阵元素时,读指针指向的位置为存储空间矩阵的第一个矩阵元素的存储空间。Wherein, the position pointed by the above-mentioned read pointer is the storage space of the last accessed matrix element in the storage space matrix. Storage space for matrix elements.
需要说明的是,如果遇到该存储空间矩阵的矩阵元素所在的这一行结束,那么从该存储空间矩阵的下一行继续选取由左至右排列的上述数量的待访问矩阵元素。It should be noted that if the row where the matrix elements of the storage space matrix are located ends, then continue to select the above-mentioned number of matrix elements to be accessed arranged from left to right from the next row of the storage space matrix.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210460783.2A CN103810065B (en) | 2012-11-15 | 2012-11-15 | Method and device for testing disk array |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210460783.2A CN103810065B (en) | 2012-11-15 | 2012-11-15 | Method and device for testing disk array |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103810065A CN103810065A (en) | 2014-05-21 |
CN103810065B true CN103810065B (en) | 2017-01-25 |
Family
ID=50706868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210460783.2A Active CN103810065B (en) | 2012-11-15 | 2012-11-15 | Method and device for testing disk array |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103810065B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5383192A (en) * | 1992-12-23 | 1995-01-17 | Intel Corporation | Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints |
CN1149735A (en) * | 1994-05-25 | 1997-05-14 | 西门子公司 | Service personal computer of modular structure |
-
2012
- 2012-11-15 CN CN201210460783.2A patent/CN103810065B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5383192A (en) * | 1992-12-23 | 1995-01-17 | Intel Corporation | Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints |
CN1149735A (en) * | 1994-05-25 | 1997-05-14 | 西门子公司 | Service personal computer of modular structure |
Also Published As
Publication number | Publication date |
---|---|
CN103810065A (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8275933B2 (en) | Apparatus, system, and method for managing physical regions in a solid-state storage device | |
KR101547317B1 (en) | System for detecting fail block using logic block address and data buffer address in storage test device | |
US8386205B2 (en) | Rotational vibration test system and method | |
US9305663B2 (en) | Techniques for assessing pass/fail status of non-volatile memory | |
JP2013041547A5 (en) | ||
CN107479823A (en) | Data verification method and device in the test of random read-write file | |
CN107145301B (en) | Data access method and device based on hybrid disk | |
CN105159602B (en) | Data processing method and storage equipment | |
CN107678894B (en) | Memory test method, device and system | |
US5822513A (en) | Method and apparatus for detecting stale write data | |
CN114924923A (en) | Method, system, equipment and medium for verifying correctness of hard disk write-in point | |
US9257201B2 (en) | Memory testing method and apparatus | |
WO2017045500A1 (en) | Storage array management method and apparatus | |
CN103810065B (en) | Method and device for testing disk array | |
JP6145193B2 (en) | Read or write to memory | |
CN104598169B (en) | High reliability data read method for flash memory | |
US8495289B2 (en) | Automatically detecting discrepancies between storage subsystem alignments | |
KR102057219B1 (en) | Apparatus Detecting I/O Data Saturation and Method thereof | |
CN105335296B (en) | A kind of data processing method, apparatus and system | |
CN107368434B (en) | Device and method for verifying Cache consistency protocol | |
CN116244127A (en) | Hard disk detection method, device, equipment and storage medium | |
CN114780323A (en) | Fault detection method, device and equipment for memory in server | |
WO2022187128A1 (en) | Performing memory testing using error correction code values | |
US20100251013A1 (en) | Method for processing bad block in redundant array of independent disks | |
US9262264B2 (en) | Error correction code seeding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |