Actions
Bug #42054
closedosd child thread not inherit main thread affinity attribute
Source:
Community (user)
Tags:
osd, numa node,cpu affinity,thread
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
in osd process,main thread set cpu affinity ,but the child threads not inherit the affinity.
so osd`s threads not run in the same numa node.
Updated by Sage Weil over 4 years ago
- Status changed from New to In Progress
- Assignee set to Sage Weil
- Priority changed from Normal to High
from the man page,
A new thread created by pthread_create(3) inherits a copy of its creator's CPU affinity mask.
the affinity probably isn't being set early enough in the boot process to get inherited by all the right threads.
Updated by Sage Weil over 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 30712
Updated by Sage Weil over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42203: nautilus: osd child thread not inherit main thread affinity attribute added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions