Skip to content

An attempt to reproduce the results described in "A semi-partitioned model for mixed criticality systems" (H. Xu, A. Burns, 2019)

License

Notifications You must be signed in to change notification settings

cornacchia/py-xu-burns-2019-rta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script attempts to reproduce the results described in the 2019 paper by H. Xu and A. Burns titled "A semi-partitioned model for mixed criticality systems".

Requirements

The script runs on python3 and needs the following additional packages:

Usage

To launch the script with the default configuration (in optimized version):

$ cd path/to/script/directory
$ python3 -O ./run.py

To launch the script with the assertion checks:

$ cd path/to/script/directory
$ python3 ./run.py

The script will run the four tests described in the paper and produce as results four charts which will be saved at a configurable path (cfr. Configuration).

Unit tests

To run the unit tests for the RTA algorithms:

$ cd path/to/script/directory
$ python3 ./test.py

Configuration

The file config.py defines some options for the script:

  • PARALLEL_JOBS defines the number of parallel tests to be run (defaults to the number of CPUs)
  • VESTAL_CLASSIC, VESTAL_WITH_MONITOR, ALWAYS_HI_CRIT defines which version of Vestal's algorithm should be used for the non migrating tests
  • CHECK_NO_MIGRATION, CHECK_MODEL_1, etc. defines which models to test
  • RUN_FIRST_TEST, RUN_SECOND_TEST, etc. defines which tests to run
  • FIRST_FIT_BP, WORST_FIT_BP defines which bin-packing algorithm to use
  • RESULTS_DIR defines where to save the results
  • CORES_MODE_CHANGES holds the possible sequences of core mode change
  • CORES_NO_MIGRATION, CORES_MODEL_1, etc. defines the configurations used to test the different models

About

An attempt to reproduce the results described in "A semi-partitioned model for mixed criticality systems" (H. Xu, A. Burns, 2019)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages