RT-MIGRATE-TEST(8)
πΈ RT-MIGRATE-TEST(8) β the real-time task migration program, bestie edition πΈ
okay so this is a page from the System Manager's Manual, and it's about a lil tool called rt-migrate-test. she's giving real-time multiprocessor scheduling energy and she's here to spill. grab a snack. π
# SPDX-License-Identifier: GPL-2.0-only
β¨ NAME β¨
rt-migrate-test β the real-time task migration program π
π¦ SYNOPSIS π¦
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]
like, that's the whole vibe right there. she takes options and optionally a number of tasks, that's it, that's the girl. β¨
π DESCRIPTION π
so what she does is test real-time multiprocessor scheduling of tasks β the whole point is making sure the highest priority tasks are running on all available CPUs. no cap. if your RT tasks are out here getting ignored on some CPU while a lower-prio task is just vibing, this is the test that catches it. π€
π OPTIONS π
she follows the usual GNU command line syntax, meaning long options start with two dashes (--). classic.
also, quick heads up bestie: in the summary of options below, a value in brackets () means that's the default value. so when you see (50) just know that's what you get if you don't say otherwise. iykyk. π«Ά
-c,--checkβ stop the whole thing if a lower prio task ends up being quicker than a higher one (off by default). it's giving "we caught you slipping" energy.-D,--duration=TIMEβ set a length for the test run. and here's the cute part: appendm,h, ordto say minutes, hours, or days. so30mis thirty minutes, periodt. β°-e,--equalβ use equal prio for#CPU-1tasks. note she requires more than 2 CPUS for this one, so don't try it on a tiny machine, she will not be able to help you. π-h,--helpβ display usage. the "just tell me what to do" option, iconic.--json=FILENAMEβ write the final results into FILENAME, JSON formatted. for all my data girlies who want to parse it later. π-l,--loops=LOOPSβ number of iterations to run (50). she's gonna loop and loop and loop. π-m,--maxerr=TIMEβ max allowed error, in microsecs. that's your tolerance threshold bestie, choose wisely.-p,--prio=PRIOβ base priority to start the RT tasks with (2). higher number, higher priority, main character energy. π-r,--run-time=TIMEβ run time (ms) to busy loop the threads (20). yes, busy loop, she's spinning, she's not sleeping, she's working. π₯-s,--sleep-time=TIMEβ sleep time (ms) between intervals (100). the little nap she takes in between. π΄[NR_TASKS]β number of tasks to run. default is number of cpus + 1, because one extra task keeps everybody honest fr fr. π§
π AUTHOR π
rt-migrate-test was written by Steven Rostedt <srostedt@redhat.com> π
this manual page was written by John Kacur <jkacur@redhat.com> π
ok that's the whole page bestie, go run your scheduling tests and slay π β¨
signing off from the System Manager's Manual β RT-MIGRATE-TEST(8), dated September 18, 2020. that's the source, that's the version tag, that's the date, all of it, no details dropped, we keep receipts around here. ππ¦
π¦ where this page comes from
- arch rolling: rt-tests 2.11-1 Β· GPL-2.0-or-later
- centos-stream 10: realtime-tests 2.11-1.el10 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
- centos-stream 9: realtime-tests 2.11-1.el9 Β· GPLv2
- fedora 43: realtime-tests 2.11-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
- fedora 43: realtime-tests 2.8-6.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
- fedora 44: realtime-tests 2.11-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
- fedora 44: realtime-tests 2.8-7.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
- nixos 26.05: rt-tests 2.10
- nixpkgs unstable: rt-tests 2.11
- opensuse-leap 16.0: rt-tests 2.8-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: rt-tests 2.8-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: rt-tests 2.8-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: rt-tests 2.8-160000.2.2 Β· GPL-2.0-only
- ubuntu resolute: rt-tests 2.9-1ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: rt-tests 2.10-1ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms