[tarantool-patches] Re: [PATCH 1/1] swim: optimize memory layout of struct swim_member

Konstantin Osipov kostja at tarantool.org
Thu Apr 25 13:53:15 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/04/25 00:46]:
> Struct swim_member describes attributes of one remote member of
> a SWIM cluster. It is relatively often accessed. And it has two
> huge structures - struct swim_packet ping/ack_task. Each is 1500
> bytes. When these tasks are in the middle of the structure, they
> split and spoil cache lines.
> 
> This patch moves the whole failure detection attribute family to
> the bottom of the structure, and moves these two tasks to the
> end of layout.
> ---

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list