[LITMUS^RT] Announce: new workload and experiments generator

Björn Brandenburg bbb at mpi-sws.org
Tue Mar 7 15:14:33 CET 2017


Hi everyone, 

I’ve brushed up and released some scripts that help with running LITMUS^RT stress tests. 

	https://github.com/LITMUS-RT/workload-generator

They make setting up and running some stress tests really a breeze. (You should try it!) You can go from zero to running experiments in three simple steps:

1) Create a task set. E.g., for four cores with 8 tasks per core @ 80% utilization.

	$ ./mktasks.py -m 4 -t 8 -u 0.8
	[pre-partitioned, 4 cores, 0.80 utilization, 8.00 tasks per core]
	=> part-workload_m=04_n=32_u=80_seq=00.json		   

2) Generate a launch script for your scheduler of interest. E.g., for the P-RES plugin.

	$ ./mkscript.py --scheduler P-PRES --trace-overheads part-workload_m\=04_n\=32_u\=80_seq\=00.json
	Processing part-workload_m=04_n=32_u=80_seq=00.json -> ./part-workload_m=04_n=32_u=80_seq=00.sh

3) Run the workload.

	$ sudo -s 
	# ./part-workload_m=04_n=32_u=80_seq=00.sh

This will set up overhead tracing, run for 10 seconds, tear down everything, et voila, you have some fresh Feather-Trace overhead files to analyze.

See the README in the repository for further details and installation instructions.

- Björn




More information about the litmus-dev mailing list