Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org,
	Konstantin Osipov <kostja@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH 1/1] swim: optimize memory layout of struct swim_member
Date: Thu, 25 Apr 2019 16:51:45 +0300	[thread overview]
Message-ID: <90fe9de4-16cd-dfb4-3fd1-7df3aa3b6c4f@tarantool.org> (raw)
In-Reply-To: <20190425105315.GJ29257@atlas>

Pushed into the master.

On 25/04/2019 13:53, Konstantin Osipov wrote:
> * 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
> 

      reply	other threads:[~2019-04-25 13:51 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 ` [tarantool-patches] " Konstantin Osipov
2019-04-25 13:51   ` Vladislav Shpilevoy [this message]

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=90fe9de4-16cd-dfb4-3fd1-7df3aa3b6c4f@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=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