Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

0522-CurveBS 提供NVMF支持之SPDK篇 #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wuhongsong
Copy link
Contributor

No description provided.

Copy link
Contributor

@aspirer aspirer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要等curveadm支持后才能发布,现在这篇是手工部署的,不是我们的产品形态。

@@ -0,0 +1,127 @@
# 背景
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外这里最好介绍下,curvebs的客户端协议已经支持了哪些。下面的内容是我之前发布在眼界大开里面的,可以作为参考:
锋哥这个spdk for nvme-of补齐了CurveBS客户端最后一块短板,此后Curve BS对客户端协议的支持基本就是最全的了(全面对标到Ceph RBD),现在我们支持了如下几种客户端协议:
1)cbd:curve私有客户端协议,可以用来对接各种应用(包括qemu、spdk、tgt target、fio、nbd等等)
2)curve-nbd:基于cbd实现的nbd块设备管理服务,直接挂载到裸机使用curve卷
3)iscsi:基于tgt target实现的iscsi协议模块,iscsi是标准存储协议,非常流行,锋哥优化了开源tgt的线程和锁模型,性能提升明显
4)rbd:目前马杰在做cbd转换rbd协议的开发,基本已经poc通过,只是还有少量优化工作待完成,rbd协议也是一个比较流行的协议,原生是ceph的块存储协议,但因为在算力平台、裸机平台上应用广泛,已经算是半标准存储协议了。cbd转rbd功能开发完毕后,curvebs的用户也可以直接通过rbd协议来使用curve卷了,大大降低了用户门槛。
5)spdk iscsi:基于用户态的spdk协议栈+cbd库实现的iscsi target,支持iscsi服务端缓存加速能力,相比tgt target性能提升非常明显
6)spdk nvme-of:基于用户态的spdk协议栈+cbd库实现的nvmf target,支持标准存储协议nvme-of,支持服务端缓存加速能力,支持rdma/tcp网络协议,相比spdk iscsi性能提升更加显著
近期我们会把4、5、6这几种协议的支持集成到curveadm或者发布各种软件包(主要是rbd协议兼容转换功能的软件包需要部署到裸机上),进一步简化用户使用。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants