Re: [RFC PATCH V2 0/8] Packed ring for vhost

From: Jason Wang
Date: Mon Mar 26 2018 - 23:33:53 EST




On 2018å03æ27æ 03:01, Konrad Rzeszutek Wilk wrote:
On Mon, Mar 26, 2018 at 11:38:45AM +0800, Jason Wang wrote:
Hi all:

This RFC implement packed ring layout. The code were tested with pmd
implement by Jens at
http://dpdk.org/ml/archives/dev/2018-January/089417.html. Minor change
was needed for pmd codes to kick virtqueue since it assumes a busy
polling backend.

Test were done between localhost and guest. Testpmd (rxonly) in guest
reports 2.4Mpps. Testpmd (txonly) repots about 2.1Mpps.
And how does it compare to older ring layout?


No obvious difference.

Vhost itself becomes a bottleneck. I plan to do more aggressive batching like dpdk on top.

Thanks