New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore/NVMEDevice: add the spdk core mask check #14068

Merged
merged 1 commit into from Mar 22, 2017

Conversation

Projects
None yet
3 participants
@optimistyzy
Contributor

optimistyzy commented Mar 21, 2017

This patch adds the spdk core mask check and also
set the master core for starting DPDK.

Signed-off-by: optimistyzy optimistyzy@gmail.com

@optimistyzy

This comment has been minimized.

Show comment
Hide comment
@optimistyzy

optimistyzy Mar 22, 2017

Contributor

@yuyuyu101 I updated this code, it used to check each bit in core_value.

Contributor

optimistyzy commented Mar 22, 2017

@yuyuyu101 I updated this code, it used to check each bit in core_value.

@tangwenjun3

This comment has been minimized.

Show comment
Hide comment
@tangwenjun3

tangwenjun3 Mar 22, 2017

Contributor

this patch tested and worked well in my ceph,and solve the issues ( http://tracker.ceph.com/issues/19093)
succeed to deploy multiple SPDK blueStore OSD instances per node。

my osd config is that:
[osd.0]
host = 127.0.0.1
osd data = /data/osd/osd.0
bluestore_block_path = spdk:55cd2e404c7e1063
bluestore_spdk_socket_mem = 512,512
bluestore_spdk_coremask = 0x3 #0、1 core

[osd.1]
host = 127.0.0.1
osd data = /data/osd/osd.1
bluestore_block_path = spdk:55cd2e404bde228b
bluestore_spdk_socket_mem = 512,512
bluestore_spdk_coremask = 0XC00000 # 22、23 core

Contributor

tangwenjun3 commented Mar 22, 2017

this patch tested and worked well in my ceph,and solve the issues ( http://tracker.ceph.com/issues/19093)
succeed to deploy multiple SPDK blueStore OSD instances per node。

my osd config is that:
[osd.0]
host = 127.0.0.1
osd data = /data/osd/osd.0
bluestore_block_path = spdk:55cd2e404c7e1063
bluestore_spdk_socket_mem = 512,512
bluestore_spdk_coremask = 0x3 #0、1 core

[osd.1]
host = 127.0.0.1
osd data = /data/osd/osd.1
bluestore_block_path = spdk:55cd2e404bde228b
bluestore_spdk_socket_mem = 512,512
bluestore_spdk_coremask = 0XC00000 # 22、23 core

Bluestore, NVMEDevice: add the spdk core mask check
This patch adds the spdk core mask check and also
set the master core for starting DPDK.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
@optimistyzy

This comment has been minimized.

Show comment
Hide comment
@optimistyzy

optimistyzy Mar 22, 2017

Contributor

updated with suggested comments. @yuyuyu101

Contributor

optimistyzy commented Mar 22, 2017

updated with suggested comments. @yuyuyu101

@yuyuyu101 yuyuyu101 changed the title from Bluestore, NVMEDevice: add the spdk core mask check to os/bluestore/NVMEDevice: add the spdk core mask check Mar 22, 2017

@yuyuyu101 yuyuyu101 merged commit 6962b0d into ceph:master Mar 22, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment