| 1 |
.\" |
| 2 |
.TH RT-MIGRATE-TEST 8 "September 18, 2020" |
| 3 |
# SPDX-License-Identifier: GPL-2.0-only |
| 4 |
.\" Please adjust this date whenever editing this manpage |
| 5 |
.SH NAME |
| 6 |
rt-migrate-test \- real-time task migration program |
| 7 |
.SH SYNOPSIS |
| 8 |
.LP |
| 9 |
rt-migrate-test [-c|--check] [-D|--duration TIME] [-e|--equal] [-h|--help] [--json FILENAME] [-l|--loops LOOPS] [-m|--maxerr TIME] [-p|--prio PRIO] [-r|--run-time TIME] [-s|--sleep-time TIME] [NR_TASKS] |
| 10 |
.SH DESCRIPTION |
| 11 |
Test real-time multiprocessor scheduling of tasks to ensure the highest priority tasks are running on all available CPUs |
| 12 |
.SH OPTIONS |
| 13 |
This program follows the usual GNU command line syntax, with long options starting with two dashes ('\-\-'). |
| 14 |
.br |
| 15 |
.TP |
| 16 |
In the summary of options, a value in brackets (), indicates a default value |
| 17 |
.br |
| 18 |
.TP |
| 19 |
.B \-c, \-\-check |
| 20 |
Stop if lower prio task is quicker than higher (off) |
| 21 |
.TP |
| 22 |
.B \-D, \-\-duration=TIME |
| 23 |
Specify a length for the test run. |
| 24 |
.br |
| 25 |
Append 'm', 'h', or 'd' to specify minutes, hours or days. |
| 26 |
.TP |
| 27 |
.B \-e, \-\-equal |
| 28 |
Use equal prio for #CPU-1 tasks (requires > 2 CPUS) |
| 29 |
.br |
| 30 |
.TP |
| 31 |
.B \-h, \-\-help |
| 32 |
Display usage |
| 33 |
.br |
| 34 |
.TP |
| 35 |
.B \-\-json=FILENAME |
| 36 |
Write final results into FILENAME, JSON formatted. |
| 37 |
.br |
| 38 |
.TP |
| 39 |
.B \-l \-\-loops=LOOPS |
| 40 |
Number of iterations to run (50) |
| 41 |
.br |
| 42 |
.TP |
| 43 |
.B \-m, \-\-maxerr=TIME |
| 44 |
Max allowed error (microsecs) |
| 45 |
.br |
| 46 |
.TP |
| 47 |
.B \-p, \-\-prio=PRIO |
| 48 |
base priority to start RT tasks with (2) |
| 49 |
.br |
| 50 |
.TP |
| 51 |
.B \-r, \-\-run\-time=TIME |
| 52 |
Run time (ms) to busy loop the threads (20) |
| 53 |
.br |
| 54 |
.TP |
| 55 |
.B \-s, \-\-sleep\-time=TIME |
| 56 |
Sleep time (ms) between intervals (100) |
| 57 |
.br |
| 58 |
.TP |
| 59 |
.B [NR_TASKS] |
| 60 |
number of tasks to run (number of cpus + 1) |
| 61 |
.br |
| 62 |
.SH AUTHOR |
| 63 |
rt-migrate-test was written by Steven Rostedt <[email protected]> |
| 64 |
.TP |
| 65 |
This manual page was written by John Kacur <[email protected]> |