Bug 1896348
| Summary: | [RFE] Allow setting isolated_cores without touching the default irq affinity | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Marcel Apfelbaum <mapfelba> |
| Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Robin Hack <rhack> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.3 | CC: | fromani, jeder, jmencak, jskarvad, rhack, yjoseph |
| Target Milestone: | rc | Keywords: | FutureFeature, Patch, TestCaseProvided, Triaged, Upstream |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://github.com/redhat-performance/tuned/pull/306 | ||
| Whiteboard: | |||
| Fixed In Version: | tuned-2.15.0-0.1.rc1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:05:25 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
Marcel Apfelbaum
2020-11-10 10:37:58 UTC
In "Additional info" I meant having default_smp_affinity set to the inverted mask of isolated_cpus messes up the plan. This is change of behavior. We need to keep backward compatibility. We could: a) add 'default_smp_irq_affinity' option and set it by default to the special value like e.g. 'calc_from_isolated_cores'. In such case it will work the same way. Other value will be taken as the cpuset specification, or b) add 'set_default_smp_irq_affinity' option and set it by default to '1', if set to '0' TuneD will not touch the default smp irq affinity. (In reply to Jaroslav Škarvada from comment #2) > This is change of behavior. We need to keep backward compatibility. > > We could: > a) add 'default_smp_irq_affinity' option and set it by default to the > special value like e.g. 'calc_from_isolated_cores'. In such case it will > work the same way. Other value will be taken as the cpuset specification, or > Or use special values like 'calc' to calcalate and 'ignore' to ignore. (In reply to Jaroslav Škarvada from comment #2) > This is change of behavior. We need to keep backward compatibility. > > We could: > a) add 'default_smp_irq_affinity' option and set it by default to the > special value like e.g. 'calc_from_isolated_cores'. In such case it will > work the same way. Other value will be taken as the cpuset specification, I like this better since it will allow us set a value for default_smp_irq_affinity from the profile (in the future) > or > b) add 'set_default_smp_irq_affinity' option and set it by default to '1', > if set to '0' TuneD will not touch the default smp irq affinity. This also would be enough, however the above adds more functionality. Thank you, Marcel Upstream PR: https://github.com/redhat-performance/tuned/pull/306 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-2021:1671 |