Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95F67200B8C for ; Mon, 12 Sep 2016 21:29:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94C8D160AC8; Mon, 12 Sep 2016 19:29:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E4EE4160AB2 for ; Mon, 12 Sep 2016 21:29:21 +0200 (CEST) Received: (qmail 3577 invoked by uid 500); 12 Sep 2016 19:29:21 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 3557 invoked by uid 99); 12 Sep 2016 19:29:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 19:29:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 64E561A72CB for ; Mon, 12 Sep 2016 19:29:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sCdbvqosUV7R for ; Mon, 12 Sep 2016 19:29:18 +0000 (UTC) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6C4385FBB5 for ; Mon, 12 Sep 2016 19:29:17 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id id6so53515792pad.3 for ; Mon, 12 Sep 2016 12:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HaalX3QpO9xghUP0mO6++2X1qz9hk+2MYKUX6t7wDNA=; b=e/lUEMxrOlqrsjYEdHG17P70gFYIA2lNf58I7zvvtllF8ZI7Fn8TzKXZ9O5sLxKTd4 115jizDpdvByh1lod4aWEWhuUXI48OuTTXwRcNdk46xgOWP++EW/TJXAgx9FVY2/DxHg 0LEcg73Kw2NhyT+nPixiqdmp9LLDKy1T8kmB16rEGp9bOBFtfH49FWgxMW1/RcX+wev6 03WQdiVo9QP+aZAPrlRrQGQzvOg6uwYv6NApqMEx3Dro2oH54QT0+Q1/M0/SVipmdei4 97rUfMKwZaiGtE25SLvd0pu99gkNCZagD/ITNaVi+7TqIdQPJx2PqXKmptAhKRMFMXVU 7pXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HaalX3QpO9xghUP0mO6++2X1qz9hk+2MYKUX6t7wDNA=; b=VHRdj4iNj8gstJXk5h/W/4SMrEDG5zYZFzrKa4zaQdXGPX4+vC1I8kBTBKrM6OA8H+ 4X++FKgmlEUHsY+dnOFUVQ8TavmkLZ9SOQV9LMc15OZE6wT9HgjQ8T9fAO36s0YNlW3W v1/EC0KUoPi7S3b3cuCBoTI2uDY/FB+xx7OhEr5a0iJ3qnWBEhRTZVmkR65czOcZjtY4 49xdCEnHGMWjP1Ga1fm5D5bT3CvjhTGbN67ZRyU/5ZL+TZPm2du6z8AKxLCoNAzEL/+6 4HP2naX9mtgu+F9B+mawNbVHfVv+fi0G4huTtY6ChnweLzRUukAJfSJHN7ZKQT7xTCND oSsw== X-Gm-Message-State: AE9vXwO1vz7QQV1LuPkFIj9EtNl5xxdgfbreG+83h/giNUFHl+76Kg27CP/uLRnc/p+zoQ== X-Received: by 10.66.81.201 with SMTP id c9mr36146700pay.14.1473708549449; Mon, 12 Sep 2016 12:29:09 -0700 (PDT) Received: from dhcp-v041-251.mobile.uci.edu (dhcp-v041-251.mobile.uci.edu. [169.234.41.251]) by smtp.gmail.com with ESMTPSA id xp7sm5166145pac.27.2016.09.12.12.29.07 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 12:29:08 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: How to set the lsm component size? From: Jianfeng Jia In-Reply-To: Date: Mon, 12 Sep 2016 12:29:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8FA6BB7D-4D55-4D6C-A463-9CCDFD9F28D7@gmail.com> References: <5F77077E-6828-4FFB-AAD4-F467680DB8B6@gmail.com> To: dev@asterixdb.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Mon, 12 Sep 2016 19:29:22 -0000 I was a little confused, there is another configuration: storage.memorycomponent.globalbudget ( which I set to 4G)=20 I was thinking this is the budget that every component on one partition = is shared. Is that the case? > On Sep 12, 2016, at 12:16 PM, Sattam Alsubaiee = wrote: >=20 > The 128M is shared by all the memory components of the primary index = and > all its secondary indexes across all io devices on that node. > Also the in-memory components usually usually has fill factor of 75% = since > the pages are 75% full and the remaining 25% is un-utilized. >=20 > The page size that you have set 128KB looks reasonable for most cases. = Your > best bet is to increase the value of storage.memorycomponent.numpage = to a > higher number. >=20 > Sattam >=20 >=20 > On Mon, Sep 12, 2016 at 11:33 AM, Jianfeng Jia = > wrote: >=20 >> Dear devs, >>=20 >> I=E2=80=99m using the `no-merge` compaction policy and find that the = physical >> flushed on-disk component is smaller than I was expected. >>=20 >> Here are my related configurations >>=20 >> >> storage.memorycomponent.pagesize >> 128KB >> The page size in bytes for pages allocated to memory >> components. (Default =3D "131072" // 128KB) >> >> >>=20 >> >> storage.memorycomponent.numpages >> 1024 >> The number of pages to allocate for a memory = component. >> (Default =3D 256) >> >> >>=20 >> With these two settings, I=E2=80=99m expecting the lsm component = should be 128M. >> However, the flushed one is about 16M~ 20M. Do we have some = compression for >> the on-disk components? If so, it will be good. Otherwise, could = someone >> help me to increase the component size? Thanks! >>=20 >> Best, >>=20 >> Jianfeng Jia >> PhD Candidate of Computer Science >> University of California, Irvine >>=20 >>=20 Best, Jianfeng Jia PhD Candidate of Computer Science University of California, Irvine