Scalable multithreaded system testing tool
First Claim
1. A test system comprising:
- a target device having one or more storage locations;
at least one computer system attached to the target device through a data connection; and
a test utility installed on the computer system, wherein the test utility is configured to;
(a) create one or more test threads, (b) for each test thread, (i) generate a data load on the data connection by repetitively writing test data patterns to the storage locations of the target device and reading data patterns from the storage locations of the using a synchronous I/O dispatch method, (ii) compare the data patterns read from the target device to the test data patterns written to the target device to detect data corruptions, and (c) generate a debug file with debug information in response to detecting a data corruption.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention generally provide a system and method for testing integrity of data transmitted to and from a target device through a data connection. In one embodiment, the method generally includes creating one or more test threads. The method further includes, for each test thread, generating a data load on the data connection by repetitively writing test data patterns to the target device and reading data patterns from the target device using a synchronous I/O dispatch method, measuring data throughput to and from the target device while generating the data load, comparing the data patterns read from the target device to the test data patterns to detect data corruptions. The method may further include generating debug information if a data corruption is detected by one of the test threads.
53 Citations
29 Claims
-
1. A test system comprising:
-
a target device having one or more storage locations;
at least one computer system attached to the target device through a data connection; and
a test utility installed on the computer system, wherein the test utility is configured to;
(a) create one or more test threads, (b) for each test thread, (i) generate a data load on the data connection by repetitively writing test data patterns to the storage locations of the target device and reading data patterns from the storage locations of the using a synchronous I/O dispatch method, (ii) compare the data patterns read from the target device to the test data patterns written to the target device to detect data corruptions, and (c) generate a debug file with debug information in response to detecting a data corruption. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for testing integrity of data transmitted to and from a target device through a data connection, the method comprising:
-
(a) creating one or more test threads;
(b) creating a performance thread;
(b) for each test thread, (i) generating a data load on the data connection by repetitively writing blocks of test data patterns to corresponding blocks of memory locations of the target device using a synchronous I/O dispatch method, (ii) reading blocks of data patterns from the corresponding blocks of storage locations using a synchronous I/O dispatch method, and (iii) comparing the blocks of data patterns read from the target device to the blocks of test data patterns written to the target device to detect data corruptions;
(c) measuring data throughput with the performance thread while generating the data load with the test threads; and
(d) generating debug information if a data corruption is detected. - View Dependent Claims (12, 14, 15, 16, 17, 18, 19)
-
-
13. The method of claim 13, wherein each test thread writes blocks of test data patterns to a different portion of the predetermined range of storage locations of the target device.
-
20. A method for testing integrity of data transmitted to and from a target device through a data connection, the method comprising:
-
(a) creating one or more test threads;
(b) for each test thread, (i) generating a data load on the data connection by repetitively writing test data patterns to the target device using a synchronous I/O dispatch method, (ii) reading data patterns from the target device using a synchronous I/O dispatch method, and (iii) comparing the data patterns read from the target device to the test data patterns written to the target device to detect data corruptions; and
(c) generating debug information if a data corruption is detected. - View Dependent Claims (21, 22, 23, 24)
-
-
25. A computer-readable medium containing a program which, when executed on a computer system, performs operations for validating data transmitted between the computer system and a target device through a data connection, the operations comprising:
-
(a) creating one or more test threads;
(b) for each test thread, (i) generating a data load on the data connection by repetitively writing test data patterns to the target device using a synchronous I/O dispatch method, (ii) reading data patterns from the target device using a synchronous I/O dispatch method, and (iii) comparing the data patterns read from the target device to the test data patterns written to the target device to detect data corruptions; and
(c) generating debug information if a data corruption is detected. - View Dependent Claims (26, 27, 28, 29)
-
Specification