From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH 0/2] vinyl: allow to limit dump bandwidth Date: Tue, 29 May 2018 18:19:35 +0300 Message-Id: To: kostja@tarantool.org Cc: tarantool-patches@freelists.org List-ID: Apply box.cfg.snap_io_rate_limit to vinyl dump/compaction tasks. https://github.com/tarantool/tarantool/issues/3220 https://github.com/tarantool/tarantool/commits/gh-3220-vy-limit-dump-bandwidth Vladimir Davydov (2): xlog: use ev_sleep instead of fiber_sleep for rate limiting vinyl: apply box.cfg.snap_io_rate_limit to dump/compaction src/box/box.cc | 5 +++ src/box/vinyl.c | 6 +++ src/box/vinyl.h | 6 +++ src/box/vy_run.c | 7 +++- src/box/vy_run.h | 2 + src/box/xlog.c | 2 +- test/vinyl/snap_io_rate.result | 85 ++++++++++++++++++++++++++++++++++++++++ test/vinyl/snap_io_rate.test.lua | 38 ++++++++++++++++++ 8 files changed, 149 insertions(+), 2 deletions(-) create mode 100644 test/vinyl/snap_io_rate.result create mode 100644 test/vinyl/snap_io_rate.test.lua -- 2.11.0