Re: [dpdk-dev] [PATCH v1 2/2] lib/vhost: restrict pointer aliasing for packed path

2020-07-09 Thread Joyce Kong
v@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1 2/2] lib/vhost: restrict pointer aliasing > for > packed path > > > On 6/11/20 5:32 AM, Joyce Kong wrote: > > Restrict pointer aliasing to allow the compiler to vectorize loops > > more aggressively. > > > > Wit

Re: [dpdk-dev] [PATCH v1 2/2] lib/vhost: restrict pointer aliasing for packed path

2020-07-07 Thread Adrian Moreno
On 6/11/20 5:32 AM, Joyce Kong wrote: > Restrict pointer aliasing to allow the compiler to vectorize > loops more aggressively. > > With this patch, a 9.6% improvement is observed in throughput for the > packed virtio-net PVP case, and a 2.8% improvement in throughput for > the packed virtio-use

[dpdk-dev] [PATCH v1 2/2] lib/vhost: restrict pointer aliasing for packed path

2020-06-10 Thread Joyce Kong
Restrict pointer aliasing to allow the compiler to vectorize loops more aggressively. With this patch, a 9.6% improvement is observed in throughput for the packed virtio-net PVP case, and a 2.8% improvement in throughput for the packed virtio-user PVP case. All performance data are measured under