First unlock after changing cpu assignment does not update the affinity of platform cores
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jim Gauld |
Bug Description
Brief Description
-----------------
After change cpu assignment and unlock the host the first time, the affinity of platform cores is not as expected
Severity
--------
standard
Steps to Reproduce
------------------
1. Locked the host (eg. controller-1)
2. Edit the cpu assignment for the platform so processor 1 has Platform cpu assignment:
Processor Logical Cores
Platform Processor 0 : 0,2
Processor 1 : 1,3
vSwitch Processor 0 : 4,6
Shared
Applications Processor 0 : 8,10,12,
Processor 1 : 5,7,9,11,
3. Unlock the host
4. Confirm the new assignment
[wrsroot@
+------
| uuid | log_c | processor | phy_c | thread | processor_model | assigned_function |
| | ore | | ore | | | |
+------
| 16446cb8-
| cf0ccd99-
| 5699a8bd-
| cacef69f-
| 79ce6b16-
| 0ad7b84e-
| f246d8cc-
| 24e1e037-
| a77f76d3-
| 6dfd5e29-
| 784cd99b-
| 779f4520-
| eb8e7f4f-
.
5. Confirm affinity platform cores
see log and output in affinity.txt file attached
Expected Behavior
------------------
Expected affinity to include 1,3 (as well as 0,2) for the platform but only appears to be 0,2
"Reaffining tasks to platform cores (0,2)...
"
Actual Behavior
----------------
platform.log (controller-1)
2019-04-
2019-04-
daemon.log (controller-1)
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
2019-04-
Reproducibility
---------------
First time unlock controller after changing the platform cpu assignment
System Configuration
-------
eg. duplex
Branch/Pull Time/Commit
-------
BUILD_ID=
JOB="STX_
Last Pass
---------
Timestamp/Logs
--------------
see ~17:34:47
Test Activity
-------------
[Platform pinning Feature Testing]
summary: |
- First unlock after changing cpu assignment, unexpectedly does not update - the affinity of platform cores + First unlock after changing cpu assignment does not update the affinity + of platform cores |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
status: | Triaged → Fix Released |
Changed in starlingx: | |
assignee: | Jim Gauld (jgauld) → Wendy Mitchell (wmitchellwr) |
Marking as release gating; issue with cpu affinity