[LITMUS^RT] st-job-stats

Björn Brandenburg bbb at mpi-sws.org
Thu Sep 20 15:08:37 CEST 2018



> On 20. Sep 2018, at 13:28, Martinez Garcia Jorge Luis (PS-EC/ESB2) <JorgeLuis.MartinezGarcia at de.bosch.com> wrote:
> 
> I am using a modern reservation-based plugin and invoking the tasks in the following fashion: 
> 
> resctl -n 101 -c 0 -t unconstrained-server -q 1
> rtspin -w  -m 0 -s 1 -p 0 -r 101 -q 1 0.200000 1.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 102 -c 0 -t unconstrained-server -q 2
> rtspin -w  -m 0 -s 1 -p 0 -r 102 -q 2 0.150000 2.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 103 -c 0 -t unconstrained-server -q 3
> rtspin -w  -m 0 -s 1 -p 0 -r 103 -q 5 0.250000 5.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 104 -c 0 -t unconstrained-server -q 4
> rtspin -w  -m 0 -s 1 -p 0 -r 104 -q 10 2.700000 10.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 105 -c 0 -t unconstrained-server -q 5
> rtspin -w  -m 0 -s 1 -p 0 -r 105 -q 20 2.350000 20.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 106 -c 0 -t unconstrained-server -q 6
> rtspin -w  -m 0 -s 1 -p 0 -r 106 -q 50 0.600000 50.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 107 -c 0 -t unconstrained-server -q 7
> rtspin -w  -m 0 -s 1 -p 0 -r 107 -q 100 2.150000 100.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"
> 
> resctl -n 108 -c 0 -t unconstrained-server -q 8
> rtspin -w  -m 0 -s 1 -p 0 -r 108 -q 200 0.100000 200.000000 2  &
> PID="$!"
> PIDS="$PIDS $PID"
> START_PIDS="$START_PIDS $PID"

Thanks for the context. One more question regarding your first email:

> when I check the results by means of  “st-job-stats *.bin”, I see that there are many jobs of the 1 ms task that are skipped even though it has the highest priority in the system

All jobs seem to be present and have reasonable release times, no tardiness, and more-or-less plausible response times. What exactly do you mean by “skipped”? 

- Björn






More information about the litmus-dev mailing list