Re: [PATCH 6/6] rteval: Add --housekeeping option to reserve isolated CPUs
Tomas Glozar <[email protected]> Mon, 20 Apr 2026 11:33:05 +0200
| Newsgroups | org.kernel.vger.linux-rt-users |
|---|---|
| Message-ID | <CAP4=nvQLbPBhQva-fBqeC1_ApGDYmNG7tSzuBNxMFg-EiFp7ag@mail.gmail.com> |
pá 17. 4. 2026 v 21:51 odesílatel John Kacur <[email protected]> napsal: > > Add a new --housekeeping option that allows users to specify isolated CPUs > that should be reserved for system housekeeping tasks and not used by > rteval's measurement or load modules. > > Key features: > - Validates that housekeeping CPUs are in the isolated CPU list (isolcpus) > - Detects conflicts with explicitly specified --measurement-cpulist or > --loads-cpulist options and exits with a clear error message > - Filters housekeeping CPUs from both measurement and load CPU lists > - Correctly excludes housekeeping CPUs from inverted CPU lists when only > one of measurement/loads is specified > > Example usage: > rteval --housekeeping 0-3 --measurement-run-on-isolcpus > Reserves isolcpus 0-3 for system tasks, runs measurements on > remaining isolated CPUs (4+) plus non-isolated CPUs > > Implementation: > - systopology.py: Add validate_housekeeping_cpus() function to validate > that housekeeping CPUs are in isolcpus > - rteval-cmd: Add --housekeeping argument, conflict checking, filtering, > and fix inversion logic to exclude housekeeping CPUs > This might be a good opportunity to additionally pin the rteval process to the housekeeping CPUs, as well as pass them to rtla's -H option. Tomas