From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BBF1F262A6 for ; Thu, 17 Jan 2019 06:32:38 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ewHFMR--dpI3 for ; Thu, 17 Jan 2019 06:32:38 -0500 (EST) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7AECD262A5 for ; Thu, 17 Jan 2019 06:32:38 -0500 (EST) Received: from [185.6.245.178] (port=40422 helo=atlas.local) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1gk5uW-00035f-EI for tarantool-patches@freelists.org; Thu, 17 Jan 2019 14:32:36 +0300 Date: Thu, 17 Jan 2019 14:32:36 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 00/12] vinyl: statistics improvements Message-ID: <20190117113236.GD28204@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org * Vladimir Davydov [19/01/15 17:20]: > This patch set adds a few metrics necessary for implementing compaction > randomization and transaction throttling, but it's useful on its own, > because it makes box.stat.vinyl() a little bit more useful when it comes > to performance analysis. Here's an example of box.stat.vinyl() output > with this patch set applied: Please write a documentation request which explains the meaning of these variables. AFAIK these stats are still not described in the manual. Please try to explain why these statistics are useful, and how they can be used. > --- > - tx: > conflict: 0 > commit: 1979052 > rollback: 0 > statements: 2 > transactions: 1 > gap_locks: 0 > read_views: 0 > regulator: let's rename it to rate_limit or rate_limits? Regulator is not specific enough. What does it regulate? > dump_bandwidth: 10485760 Without comments even I forget the meaning of these. > dump_watermark: 20023725 > write_rate: 7085581 > memory: > tuple_cache: 0 > tx: 2388 > level0: 19394239 > page_index: 4422529 > bloom_filter: 1517177 Good. > disk: > data_compacted: 500330587 What's this? > data: 762493299 > index: 41814873 > scheduler: > dump_time: 186.61679973663 It's total dump time, the name can be confused with last dump time. > tasks_inprogress: 3 > dump_output: 2115930554 > compaction_queue: 213022513 > compaction_output: 4130054964 > compaction_time: 737.99443827965 > dump_count: 136 > tasks_failed: 0 > tasks_completed: 1839 > dump_input: 2061676471 > compaction_input: 5646476938 -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov