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 745C025D93 for ; Tue, 5 Feb 2019 11:43:57 -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 97V2gzgTfn5q for ; Tue, 5 Feb 2019 11:43:57 -0500 (EST) Received: from smtp52.i.mail.ru (smtp52.i.mail.ru [94.100.177.112]) (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 3122D24F4E for ; Tue, 5 Feb 2019 11:43:57 -0500 (EST) Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1gr3pD-0005yn-Ar for tarantool-patches@freelists.org; Tue, 05 Feb 2019 19:43:55 +0300 Date: Tue, 5 Feb 2019 19:43:55 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 3/9] vinyl: use uncompressed run size for range split/coalesce/compaction Message-ID: <20190205164355.GB6811@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/21 06:58]: > Historically, when considering splitting or coalescing a range or > updating compaction priority, we use sizes of compressed runs (see > bytes_compressed). This makes the algorithms dependent on whether > compression is used or not and how effective it is, which is weird, > because compression is a way of storing data on disk - it shouldn't > affect the way data is partitioned. E.g. if we turned off compression > at the first LSM tree level, which would make sense, because it's > relatively small, we would affect the compaction algorithm because > of this. > OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov