Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: mechanik20051988 <mechanik20051988@tarantool.org>,
	alyapunov@tarantool.org
Cc: mechanik20051988 <mechanik20.05.1988@gmail.com>,
	tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 3/4] memtx: implement api for memory allocator selection
Date: Sun, 10 Jan 2021 14:56:25 +0100	[thread overview]
Message-ID: <bd207288-8e7a-2e9c-ea84-3ce02937cb40@tarantool.org> (raw)
In-Reply-To: <88afdf49f30ccd53898a8925868534479d4836d1.1609239402.git.mechanik20051988@tarantool.org>

Thanks for the patch!

On 29.12.2020 12:03, mechanik20051988 via Tarantool-patches wrote:
> From: mechanik20051988 <mechanik20.05.1988@gmail.com>
> 
> Slab allocator, which is used for tuples allocation,
> has a certain disadvantage - it tends to unresolvable
> fragmentation on certain workloads (size migration).
> New option allows to select the appropriate
> allocator if necessary.
> 
> @TarantoolBot document
> Title: Add new 'allocator' option
> Add new 'allocator' option which allows to
> select the appropriate allocator for memtx
> tuples if necessary.

- Option for what? box.cfg?

- What are the option values?

- How a user is supposed to choose one? Depending on what?

- Is system allocator restricted by the same memory quota?

- Does system allocator allocate all the memory at start, like
small does?

- The option introduction could be a separate commit. Now you
did refactoring + new 'feature' in one commit.

> Closes #5419

- It does not really 'close' the issue, because at this commit the
new allocator type is not implemented.

- Besides, this line is below docbot request, which means it
will go to the doc ticket. It shouldn't.

Taking into account some comments being about system allocator, it
seems you should better extract the box.cfg change into a new
commit, move it to the end, and add the docbot request to there.

  reply	other threads:[~2021-01-10 14:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 11:03 [Tarantool-patches] [PATCH 0/4] Choose allocator mor memtx mechanik20051988
2020-12-29 11:03 ` [Tarantool-patches] [PATCH 1/4] test: add performance test for memtx allocator mechanik20051988
2020-12-29 11:03 ` [Tarantool-patches] [PATCH 2/4] memtx: changed some memtx files from .c to .cc mechanik20051988
2020-12-29 11:03 ` [Tarantool-patches] [PATCH 3/4] memtx: implement api for memory allocator selection mechanik20051988
2021-01-10 13:56   ` Vladislav Shpilevoy via Tarantool-patches [this message]
2020-12-29 11:03 ` [Tarantool-patches] [PATCH 4/4] Implement system allocator, based on malloc mechanik20051988
2021-01-10 13:56   ` Vladislav Shpilevoy via Tarantool-patches
2021-01-10 13:55 ` [Tarantool-patches] [PATCH 0/4] Choose allocator mor memtx Vladislav Shpilevoy via Tarantool-patches
2021-01-10 14:36 ` Vladislav Shpilevoy via Tarantool-patches

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=bd207288-8e7a-2e9c-ea84-3ce02937cb40@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=alyapunov@tarantool.org \
    --cc=mechanik20.05.1988@gmail.com \
    --cc=mechanik20051988@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 3/4] memtx: implement api for memory allocator selection' \
    /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