Method and System for Dynamically Associating Ugly Operations With Test Instructions While Performing Multi-Processor Validation
Publication Date: 2010-Dec-16
The IP.com Prior Art Database
Disclosed is a method and system for dynamically associating special instructions (such as ugly operations) with test instructions while performing multi-processor validation
Page 01 of 3
Method and System for Dynamically Associating Ugly Operations With Test
Instructions While Performing Multi-Processor Validation
A method and system is disclosed for dynamically associating special instructions (such as ugly operations) with test instructions while performing multi-processor validation.
In a multi-processor system, one processor/thread may perform ugly operations that interfere or irritate other processor/thread. The ugly operations can be for example, broadcast operations, flushing & invalidation of cache lines which other processor/thread uses, killing translation entries in TLB. These ugly operations generate stressful scenarios on the multi-processor system. Therefore, it is critical to test the multi-processor tolerance for such ugly operations while performing multi-processor validation.
In order to perform multi-processor validation, test streams including multiple test instructions are executed on each processor/thread. The test instructions verify various functionalities of processors/threads. In accordance with the method and system disclosed herein, ugly operations are dynamically associated with test streams. In an embodiment, the test streams may periodically raise interrupts to come out of its usual sequence of test execution and execute the special operations (ugly operations). An interrupt handler is invoked with each interrupt which in turn executes the ugly operations. The ugly operations thus executed irritate other processors in a sustained manner.
Number and type of the ugly operations to be executed are controlled so as to balance total number of test instructions and ugly operations executed on each processor. A user may provide inputs for, the type and the number o...