On 29 October 2014 16:48, Ted Unangst <t...@tedunangst.com> wrote: > On Wed, Oct 29, 2014 at 07:25, David Gwynne wrote: > >> if you want it to go fast, it would make more sense to set the item >> alignment in pool_init to the size of the cacheline. colouring would then >> become irrelevant from a speed perspective. > > There's some sense to this. Like round everything to nearest 64, > except things less than 64 (round to 16 or 32).
It sounds better than random offsets to me. But I have no proof.