其他分享
首页 > 其他分享> > 深入理解SPDK 之二: 消息和无锁队列

深入理解SPDK 之二: 消息和无锁队列

作者:互联网

并发理论

期望: 随着硬件的线性增加,性能也线性增加;

** 各管各妈

SPDK takes a different approach altogether. Instead of placing shared data in a global location that all threads access after acquiring a lock, SPDK will often assign that data to a single thread.

** 你看我娃
When other threads want to access the data, they pass a message to the owning thread to perform the operation on their behalf.

消息传递架构

spdk 事件框架

现在直接调用 spdk_app_start() 为你打理所有下面的准备工作:

标签:无锁,thread,spdk,之二,SPDK,线程,poller
来源: http://blog.51cto.com/xiamachao/2350007