[dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue to virt ring

Xie, Huawei huawei.xie at intel.com
Fri Nov 6 06:50:31 CET 2015


On 11/6/2015 9:48 AM, Changchun Ouyang wrote:
>
>
> > From: huawei.xie at intel.com
> > To: huawei.xie at intel.com; dev at dpdk.org
> > Date: Thu, 5 Nov 2015 10:21:41 +0000
> > CC: haifeng.lin at intel.com; ann.zhuangyanying at huawei.com
> > Subject: Re: [dpdk-dev] [RFC PATCH] vhost: remove lockless enqueue
> to virt ring
> >
> > If no objections, would remove the internal cmpset enqueue, should get
> > some improved performance.
>
> I think it is good.
> The vhost sample also need some changes for this modification.
> do we have the percentage of gaining when removing the lock?
The atomic cmpset is a costly operation.
We plan to implement vhost/virtio performance test example, which will
cover the most common scenarios.
/huawei
>
> thanks and regards,
> Changchun
>


More information about the dev mailing list