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 E897B2009EE for ; Wed, 18 May 2016 11:14:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E73FD160A00; Wed, 18 May 2016 09:14:45 +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 3A3BB1609B1 for ; Wed, 18 May 2016 11:14:45 +0200 (CEST) Received: (qmail 57549 invoked by uid 500); 18 May 2016 09:14:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 57539 invoked by uid 99); 18 May 2016 09:14:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 09:14:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0340AC0D69 for ; Wed, 18 May 2016 09:14:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.169 X-Spam-Level: * X-Spam-Status: No, score=1.169 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UWO8C4lUttIw for ; Wed, 18 May 2016 09:14:40 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id D9AC95F484 for ; Wed, 18 May 2016 09:14:39 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id B950E27D2961 for ; Wed, 18 May 2016 01:58:05 -0700 (PDT) Date: Wed, 18 May 2016 01:59:38 -0700 (PDT) From: ght230 To: user@ignite.apache.org Message-ID: <1463561978972-5016.post@n6.nabble.com> Subject: Problem about cache data size MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Wed, 18 May 2016 09:14:46 -0000 I am trying to estimate cache data size when setting CacheMode.PARTITIONED with different replications. I confirmed the cache data size by ignitevisorcmd and found the result is a bit strange. Following is my cache configures. CacheCfg.setCacheMode(CacheMode.PARTITIONED); CacheCfg.setMemoryMode(CacheMemoryMode.OFFHEAP_TIERED); CacheCfg.setOffHeapMaxMemory(0); CacheCfg.setSwapEnabled(false); case 1 : CacheCfg.setBackups(0); Non-heap memory initialized 23m Non-heap memory used 58m Non-heap memory committed 88m Non-heap memory maximum 130m case 2 : CacheCfg.setBackups(1); Non-heap memory initialized 23m Non-heap memory used 58m Non-heap memory committed 88m Non-heap memory maximum 130m case 3 : CacheCfg.setBackups(2); Non-heap memory initialized 23m Non-heap memory used 58m Non-heap memory committed 88m Non-heap memory maximum 130m I have 2 questions: 1. How to estimate the memory used for the cache data? According to "initialized ", "used", "committed" or "maximum"? 2. Why memory used looks same in different replications? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Problem-about-cache-data-size-tp5016.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.