e01.org

Testing high-performance computing applications

High-performance computing applications run on massively parallel supercomputers consist of concurrent programs designed using multi-threaded, multi-process models. The applications may consist of various constructs (threads, local processes, distributed processes, etc.) with varying degree of parallelism. Although high performance concurrent programs use similar design patterns, models and principles as that of sequential programs, unlike sequential programs, they typically demonstrate non-deterministic behavior. The probability of bugs increases with the number of interactions between the various parallel constructs. Race conditions, data races, deadlocks, missed signals and live lock are... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

High-performance computing applications run on massively parallel supercomputers consist of concurrent programs designed using multi-threaded, multi-process models. The applications may consist of various constructs (threads, local processes, distributed processes, etc.) with varying degree of parallelism. Although high performance concurrent programs use similar design patterns, models and principles as that of sequential programs, unlike sequential programs, they typically demonstrate non-deterministic behavior. The probability of bugs increases with the number of interactions between the various parallel constructs. Race conditions, data races, deadlocks, missed signals and live lock are common error types. N = number of threads K = potential context switch points P = budget of pre-emptive context switches n C 1 + n C 1 + … + n C 1 = 2 n -1 Where n = total number of synchronization, process creation and communication calls. This equation has exponential order. In order to reduce the number of test cases, either Deterministic Execution Method (DET) or Multiple Execution Technique (MET) is used. Various issues must be handled: Delayed execution Addition of delays is a straightforward task. A typical sleep() statement can be used to insert delays. Deciding where to insert delays Insertion locations are known as delay-points. As the objective of timing related test cases is to detect synchronization, communication and thread creation errors, delay statements are added just in front of these statements.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Testing high-performance computing applications". 1787775315. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1371511467

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·