[ovs-dev] [PATCH 01/13] bond: Reorder elements in bond_slave structure.
Ben Pfaff
blp at ovn.org
Fri Nov 3 19:51:21 UTC 2017
On Fri, Sep 08, 2017 at 06:59:13PM +0100, Bhanuprakash Bodireddy wrote:
> By reordering elements in bond_slave structure, holes can be removed and
> saves a cache line.
>
> Before: structure size: 136, sum holes: 10, cachelines:3
> After : structure size: 128, sum holes: 2, cachelines:2
>
> Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
I don't think that performance is important for this structure, but I
like the reduction in size.
Applied to master, thanks!
More information about the dev
mailing list