floodlight/loxigen — pull request #237 by rlane (2014-04-02 18:41:55+00:00)
Title: loci: use minimal allocation for fixed-length objects

Reviewer: @andi-bigswitch

Previously we allocated the full 64KB even for objects like the barrier reply,
which will only ever use 8 bytes. Allocating and zeroing unnecessarily large
wire buffers was a performance problem.

This change increases performance in my barrier microbenchmark by 46%.