From: Konstantin Osipov <kostja@tarantool.org>
To: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH 1/1] swim: optimize memory layout of struct swim_member
Date: Thu, 25 Apr 2019 13:53:15 +0300 [thread overview]
Message-ID: <20190425105315.GJ29257@atlas> (raw)
In-Reply-To: <1aa402d982fd6b8da46abfba78196c94f455ecbd.1556136325.git.v.shpilevoy@tarantool.org>
* Vladislav Shpilevoy <v.shpilevoy@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
next prev parent reply other threads:[~2019-04-25 10:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 20:05 [tarantool-patches] " Vladislav Shpilevoy
2019-04-25 10:53 ` Konstantin Osipov [this message]
2019-04-25 13:51 ` [tarantool-patches] " Vladislav Shpilevoy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190425105315.GJ29257@atlas \
--to=kostja@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH 1/1] swim: optimize memory layout of struct swim_member' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox