Bug 1509130 - [RADOS]: Messenger:- Apparently "ms async affinity cores" option not working
Summary: [RADOS]: Messenger:- Apparently "ms async affinity cores" option not working
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 3.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 3.*
Assignee: Josh Durgin
QA Contact: ceph-qe-bugs
Bara Ancincova
URL:
Whiteboard:
Depends On:
Blocks: 1494421
TreeView+ depends on / blocked
 
Reported: 2017-11-03 07:14 UTC by shylesh
Modified: 2019-01-23 16:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.The `ms_async_affinity_cores` option does not work The `ms_async_affinitiy_cores` option is not implemented. Specifying it in the Ceph configuration file does not have any effect.
Clone Of:
Environment:
Last Closed: 2019-01-23 16:20:31 UTC
Embargoed:


Attachments (Terms of Use)

Description shylesh 2017-11-03 07:14:51 UTC
Description of problem:
Setting "ms_async_affinitiy_cores" doesn't make worker threads to bind to cores.

Version-Release number of selected component (if applicable):
12.2.1-39redhat1xenial

How reproducible:
Always

Steps to Reproduce:
1.I have set the following ms_async config in conf file.

ms_async_max_op_threads=8
ms_async_op_threads=5
ms_async_affinity_cores=1,4
ms async set affinity=true


If above syntax is correct then all the async worker threads should be bound to core 1-4,
but something different is happening.

Here is the output "top -H -p  <pid>". last field is the core.




87381       1 64045 ceph     ceph     ?          0:00.02  0.0  0.6 S msgr-worker-0                                         4
  87382       1 64045 ceph     ceph     ?          0:00.02  0.0  0.6 S msgr-worker-1                                        10
  87383       1 64045 ceph     ceph     ?          0:00.04  0.3  0.6 S msgr-worker-2                                         2
  87384       1 64045 ceph     ceph     ?          0:00.04  0.0  0.6 S msgr-worker-3                                         5
  87385       1 64045 ceph     ceph     ?          0:00.02  0.0  0.6 S msgr-worker-4                                         3


affinity parameter is not obeyed.


This is on a cpu with 12 cores.

Am I missing something very basic.


Note You need to log in before you can comment on or make changes to this bug.