Tarantool development patches archive
 help / color / mirror / Atom feed
From: Nikita Pettik <korablev@tarantool.org>
To: tarantool-patches@dev.tarantool.org
Cc: v.shpilevoy@tarantool.org
Subject: [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint
Date: Tue, 28 Apr 2020 04:03:41 +0300	[thread overview]
Message-ID: <cover.1588035071.git.korablev@tarantool.org> (raw)

Branch: https://github.com/tarantool/tarantool/tree/np/gh-3519-unthrottle-sched-master-v2
Issue: https://github.com/tarantool/tarantool/issues/3519

Changes in v2:
 - now scheduler is unthrottled only on manual checkpoints, i.e.
fired via explicit box.snapshot() invocation. Scheduled checkpoints
still can be subjected to throttling;
 - to unthrottle scheduler only on manual checkpoints, auxiliary
boolean argument to engine->vtab->begin_checkpoint() is introduced
to tell checkpoint fired via daemon from checkpoint fired via box.snapshot();
 - patch-set has been re-based on master branch instead of 1.10.

@ChangeLog (2.5):
* box.snapshot() now ignores

Nikita Pettik (2):
  engine: add is_scheduled arg to engine->begin_checkpoint
  vinyl: unthrottle scheduler on manual checkpoint

 src/box/engine.c                 |  7 ++++---
 src/box/engine.h                 |  6 +++---
 src/box/gc.c                     |  8 ++++----
 src/box/memtx_engine.c           |  3 ++-
 src/box/vinyl.c                  |  5 +++--
 src/box/vy_scheduler.c           | 21 ++++++++++++++-------
 src/box/vy_scheduler.h           |  2 +-
 test/box/errinj.result           |  8 --------
 test/box/errinj.test.lua         |  2 --
 test/vinyl/errinj.result         |  8 --------
 test/vinyl/errinj.test.lua       |  3 ---
 test/vinyl/errinj_stat.result    |  8 --------
 test/vinyl/errinj_stat.test.lua  |  2 --
 test/vinyl/errinj_vylog.result   | 28 ----------------------------
 test/vinyl/errinj_vylog.test.lua |  8 --------
 15 files changed, 31 insertions(+), 88 deletions(-)

-- 
2.17.1

             reply	other threads:[~2020-04-28  1:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28  1:03 Nikita Pettik [this message]
2020-04-28  1:03 ` [Tarantool-patches] [PATCH v2 1/2] engine: add is_scheduled arg to engine->begin_checkpoint Nikita Pettik
2020-04-28  1:03 ` [Tarantool-patches] [PATCH v2 2/2] vinyl: unthrottle scheduler on manual checkpoint Nikita Pettik
2020-05-03 17:01 ` [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl " Vladislav Shpilevoy
2020-05-27 13:40   ` Nikita Pettik

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=cover.1588035071.git.korablev@tarantool.org \
    --to=korablev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint' \
    /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