Skip to content

icsa-caps/cudaSingleInstanceLitmusSuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SingleInstanceTestSuite

This repository currently documents the stress_malloc Message Passing test suite.

Suite Layout

  • stress_malloc/: forward MP variants
  • stress_malloc/reverse/: reverse MP variants

All test source files use the mp_... naming scheme and build to matching .out executables.

Build

Build forward variants:

make -C stress_malloc

Build reverse variants:

make -C stress_malloc/reverse

Clean:

make -C stress_malloc clean
make -C stress_malloc/reverse clean

Running One Test

Each stress_malloc executable takes six arguments:

  1. Array size
  2. Number of iterations
  3. X index
  4. Y index
  5. Number of CPU stress threads
  6. Stress array size

Example:

./stress_malloc/mp_fwd_com-dev__p-rlx__c-rlx.out 12000 2000 9 1000 5 20000

Running All MP Variants

Use:

python3 run-all.py

What it does:

  • discovers all mp_*.out executables under stress_malloc/ and stress_malloc/reverse/
  • runs them continuously in an infinite loop
  • records every run in results_<timestamp>.csv
  • stops cleanly on Ctrl-C or termination
  • prints a summary at shutdown

The default command used for each executable is:

./<executable> 12000 1000000 9 1000 5 20000

Notes

  • GPU memory stress is currently hardcoded in the CUDA sources.
  • CPU stress thread count and stress array size are runtime parameters.
  • Several variants differ only in memory order, fence placement, scope, or forward vs reverse orientation.
  • The full variant naming rationale is documented in STRESS_MALLOC.md.

About

by Sanya Srivastava

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors