[dpdk-dev] [PATCH v6 6/6] vhost: optimize cache access

2016-09-21 Thread Maxime Coquelin
On 09/20/2016 04:00 AM, Zhihong Wang wrote: > This patch reorders the code to delay virtio header write to improve > cache access efficiency for cases where the mrg_rxbuf feature is turned > on. CPU pipeline stall cycles can be significantly reduced. > > Virtio header write and mbuf data copy are

[dpdk-dev] [PATCH v6 6/6] vhost: optimize cache access

2016-09-19 Thread Zhihong Wang
This patch reorders the code to delay virtio header write to improve cache access efficiency for cases where the mrg_rxbuf feature is turned on. CPU pipeline stall cycles can be significantly reduced. Virtio header write and mbuf data copy are all remote store operations which takes a long time to