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 D5978200C60 for ; Mon, 24 Apr 2017 17:25:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D434C160B99; Mon, 24 Apr 2017 15:25:03 +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 27C31160B8F for ; Mon, 24 Apr 2017 17:25:03 +0200 (CEST) Received: (qmail 91916 invoked by uid 500); 24 Apr 2017 15:25:02 -0000 Mailing-List: contact user-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@kudu.apache.org Delivered-To: mailing list user@kudu.apache.org Received: (qmail 91906 invoked by uid 99); 24 Apr 2017 15:25:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2017 15:25:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 89AF2D0533 for ; Mon, 24 Apr 2017 15:25:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.897 X-Spam-Level: X-Spam-Status: No, score=-0.897 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nLx2znn4A2xu for ; Mon, 24 Apr 2017 15:25:00 +0000 (UTC) Received: from mail-yb0-f171.google.com (mail-yb0-f171.google.com [209.85.213.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9507C5FD7D for ; Mon, 24 Apr 2017 15:25:00 +0000 (UTC) Received: by mail-yb0-f171.google.com with SMTP id s22so61040762ybe.3 for ; Mon, 24 Apr 2017 08:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Kk8SossLKc9x9yOyoVf9v22IniniVyJAZgOGE3EN+ls=; b=puXr+2YFzilm2fUJ/hd1F12/uQxWqfwW2w3nJFJ0XQ6qlwu5lbchQ/IEwHEf8kqQkJ zrbDHXOXhvFU2AInZZYJm+4RnVA+NJsj65OU/+cyOqXhltFFwUDWOFK3EFSztKiYtbvw MbaAXgL68a8PLLtlPFbqOhCphvH/lUZTw4rFkdrIvxNTWxVUWZNpLlvFcgTsKvuslxD7 3w5CovM+INoo8AfwNkWrwJoeZeoTTLJyjW5Yx0WAiq1Yd135gIeAjV/mekZGo55iydnf kPnLTeEHBr0Poo+I2wchpEcNan56Avqi2g643TECf1uvNzLaR+GsfjhPhLLD8i8Gm5wm islg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Kk8SossLKc9x9yOyoVf9v22IniniVyJAZgOGE3EN+ls=; b=I6sM7hddM7MIApcl0KFWsfKgW4Ox7hml20mGjRAndaV89x8iaf0rinLzCEFImdxfpo 6eS/Jc1ujtgxxaoqrrvMjs8ocWCnBpP+SyIzQCkMwMyPOE2F1onqNf7LE5p37yz/J4+O kOKC4yuw8O7jLd5OkMhQ7S0xU5izRbh1EXrmujZV4QnnTKL/JsKTcxdcj60EE+JpRY+F +tYWcOKTysiV+KwhMZn6tYH1N3o8Z6vL3WWeA18pzt7WSO47u0qOfutTCcYa9gz0DZIL 6VPZRRqlnuUUriRzPzbdtxuJmxb281EVOqO6upjJj0TQEaRFisOskn/KA4m+Vv1V2bax c2jQ== X-Gm-Message-State: AN3rC/7XjFUzrEoEc69QRAvc64oXvA7+A5KiDqGLsEbDZ082aqFLPlgP 1J145RXY0m77nGiuljSUMCNOVsGDxvR4 X-Received: by 10.37.64.20 with SMTP id n20mr5353962yba.39.1493047499974; Mon, 24 Apr 2017 08:24:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.61.9 with HTTP; Mon, 24 Apr 2017 08:24:59 -0700 (PDT) From: Jason Heo Date: Tue, 25 Apr 2017 00:24:59 +0900 Message-ID: Subject: Question about memory_limit_hard_bytes and To: user@kudu.apache.org Content-Type: multipart/alternative; boundary=001a11c029b2de703a054deb35a3 archived-at: Mon, 24 Apr 2017 15:25:04 -0000 --001a11c029b2de703a054deb35a3 Content-Type: text/plain; charset=UTF-8 Hello. I'm using Apache Kudu 1.3.0. I found some explanation in manual and cdh about memory_limit_hard and block_cache_capacity But I couldn't understand what are they exactly used for, what is stored at block_cache, and what's the meaning of hard limit of memory? In Kudu Configuration Reference: - *memory_limit_hard_bytes *: Maximum amount of memory this daemon should use, in bytes. A value of 0 autosizes based on the total system memory. A value of -1 disables all memory limiting. - *block_cache_capacity_mb *: block cache capacity in MB In Cloudera Manager's help: - *memory_limit_hard_bytes*: Maximum amount of memory that the Kudu Tablet Server will use before it starts rejecting all incoming writes. - *block_cache_capacity_mb*: Maximum amount of memory allocated to the Kudu Tablet Server's block cache. Is hard_limit related with insert/update/delete and is not related to performance of read? Does block_cache store tablet data? Then what's the relationship with page cache. After watching Comcast presentation, I was surprised because they are using memory_limit_hard=4G, block_cache=512MB. Regards, Jason --001a11c029b2de703a054deb35a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello.

I'm using Apache Kudu 1.3.0.=

I found some explanation in manual and cdh about = memory_limit_hard and block_cache_capacity But I couldn't understand wh= at are they exactly used for, what is stored at block_cache, and what's= the meaning of hard limit of memory?

In Kudu= Configuration Reference:
  • <= a href=3D"https://kudu.apache.org/docs/configuration_reference.html#kudu-ts= erver_memory_limit_hard_bytes">memory_limit_hard_bytes: Maximum amo= unt of memory this daemon should use, in bytes. A value of 0 autosizes base= d on the total system memory. A value of -1 disables all memory limiting.
  • block_cache_capacity_mb: block cache capacity in MB

In Cl= oudera Manager's help:
  • memory_limit_hard_bytes= :=C2=A0Maximum amount of memory that the Kudu Tablet Server will use before= it starts rejecting all incoming writes.
  • block_cache_capaci= ty_mb:=C2=A0Maximum amount of memory allocated to the Kudu Tablet Serve= r's block cache.
Is hard_limit related with insert/up= date/delete and is not related to performance of read? Does block_cache sto= re tablet data? Then what's the relationship with page cache.

After watching Comcast presentation, I was surp= rised because they are using memory_limit_hard=3D4G, block_cache=3D512MB.

Regards,

Jason
--001a11c029b2de703a054deb35a3--