Re: [dpdk-dev] [PATCH v4] vhost: batch used descs chains write-back with packed ring

2018-12-21 Thread Maxime Coquelin
On 12/20/18 5:47 PM, Maxime Coquelin wrote: Instead of writing back descriptors chains in order, let's write the first chain flags last in order to improve batching. Also, move the write barrier in logging cache sync, so that it is done only when logging is enabled. It means there is now one

Re: [dpdk-dev] [PATCH v4] vhost: batch used descs chains write-back with packed ring

2018-12-20 Thread Tiwei Bie
On Thu, Dec 20, 2018 at 05:47:55PM +0100, Maxime Coquelin wrote: > Instead of writing back descriptors chains in order, let's > write the first chain flags last in order to improve batching. > > Also, move the write barrier in logging cache sync, so that it > is done only when logging is enabled.

Re: [dpdk-dev] [PATCH v4] vhost: batch used descs chains write-back with packed ring

2018-12-20 Thread Michael S. Tsirkin
On Thu, Dec 20, 2018 at 05:47:55PM +0100, Maxime Coquelin wrote: > Instead of writing back descriptors chains in order, let's > write the first chain flags last in order to improve batching. > > Also, move the write barrier in logging cache sync, so that it > is done only when logging is enabled.

[dpdk-dev] [PATCH v4] vhost: batch used descs chains write-back with packed ring

2018-12-20 Thread Maxime Coquelin
Instead of writing back descriptors chains in order, let's write the first chain flags last in order to improve batching. Also, move the write barrier in logging cache sync, so that it is done only when logging is enabled. It means there is now one more barrier for split ring when logging is enabl