Bug 2093847
Summary: | [RFE] Automate determining initial cpu isolation setup and update tuned-profiles-realtime | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Juri Lelli <jlelli> |
Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED ERRATA | QA Contact: | Robin Hack <rhack> |
Severity: | unspecified | Docs Contact: | Šárka Jana <sjanderk> |
Priority: | unspecified | ||
Version: | 9.1 | CC: | ailan, bhu, gfialova, jeder, jkacur, jskarvad, jzerdik, kazen, kcarcia, mhou, mstowell, mtosatti, rlandry, rt-qe, shichen, sjanderk, skurup, williams |
Target Milestone: | rc | Keywords: | FutureFeature, Patch, TestCaseNeeded, Triaged |
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tuned-2.19.0-0.1.rc1.el9 | Doc Type: | Enhancement |
Doc Text: |
.TuneD real-time profiles now auto determine initial CPU isolation setup
TuneD is a service for monitoring your system and optimizing the performance profile. You can also isolate central processing units (CPUs) using the `tuned-profiles-realtime` package to give application threads the most execution time possible.
Previously, the real-time profiles for systems running the real-time kernel did not load if you did not specify the list of CPUs to isolate in the `isolated_cores` parameter.
With this enhancement, TuneD introduces the `calc_isolated_cores` built-in function that automatically calculates housekeeping and isolated cores lists, and applies the calculation to the `isolated_cores` parameter. With the automatic preset, one core from each socket is reserved for housekeeping, and you can start using the real-time profile without any additional steps. If you want to change the preset, customize the `isolated_cores` parameter by specifying the list of CPUs to isolate.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 11:17:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Juri Lelli
2022-06-06 08:11:33 UTC
Hi Juri, This looks like a great idea! Do we know if/how this will affect the virtual real-time profiles? Would be great if you or Jarda include the Virt-RT team in the patches so that we can review and test them with the KVM-RT test-cases. Upstream PR: https://github.com/redhat-performance/tuned/pull/453 (In reply to Luiz Capitulino from comment #2) > Hi Juri, > > This looks like a great idea! > > Do we know if/how this will affect the virtual real-time profiles? Would be > great if you or Jarda include the Virt-RT team in the patches so that we can > review and test them with the KVM-RT test-cases. IMHO the difference is: - previously the stock realtime profiles refused to load if user haven't specified the isolated_cores - now, with the patch, it presets isolated_cores according to the comment 0 Users can still customize the isolated_cores (change what was preset for her/him). In case she/he already customized it, nothing will change for her/him. I preset one housekeeping core per socket in the patch. If two are needed, please let me know to update the patch. With this enhancement, TuneD introduces the `calc_isolated_cores` built-in function that automatically calculates housekeeping and isolated cores lists, and applies the calculation to the `isolated_cores` parameter. With the automatic preset, one core from each socket is reserved for housekeeping, and you can start using the real-time profile without any additional steps. If you want to change the preset, customize the `isolated_cores` parameter by specifying the list of CPUs to isolate. Example: isolated_cores=${f:calc_isolated_cores:2} On machine with 2 sockets, each 4 cores, it will expand to: isolated_cores=2, 3, 6, 7 I.e. cores 0, 1 and 4, 5 will be used for housekeeping. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (tuned bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8321 |