Re: [ovs-dev] [PATCH] dpif-netdev: Reorder elements in dp_netdev_port structure.

2017-07-26 Thread Greg Rose
On 07/24/2017 09:18 PM, Bhanuprakash Bodireddy wrote: By reordering the elements in dp_netdev_port structure, pad bytes can be reduced there by saving a cache line. Marginal performance improvement is also observed with this change. Before: structure size: 136, holes: 7, sum padbytes:7,

[ovs-dev] [PATCH] dpif-netdev: Reorder elements in dp_netdev_port structure.

2017-07-24 Thread Bhanuprakash Bodireddy
By reordering the elements in dp_netdev_port structure, pad bytes can be reduced there by saving a cache line. Marginal performance improvement is also observed with this change. Before: structure size: 136, holes: 7, sum padbytes:7, cachelines:3 After : structure size: 128, holes: 6, sum