Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1509130 - [RADOS]: Messenger:- Apparently "ms async affinity cores" option not working
[RADOS]: Messenger:- Apparently "ms async affinity cores" option not working
Status: NEW
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RADOS (Show other bugs)
3.0
x86_64 Linux
unspecified Severity low
: rc
: 3.*
Assigned To: Josh Durgin
ceph-qe-bugs
Bara Ancincova
:
Depends On:
Blocks: 1494421
  Show dependency treegraph
 
Reported: 2017-11-03 03:14 EDT by shylesh
Modified: 2018-02-22 07:26 EST (History)
5 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description shylesh 2017-11-03 03:14:51 EDT
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.