From issues-return-57628-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Fri Feb 16 15:17:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 715C4180647 for ; Fri, 16 Feb 2018 15:17:03 +0100 (CET) Received: (qmail 49101 invoked by uid 500); 16 Feb 2018 14:17:02 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 49091 invoked by uid 99); 16 Feb 2018 14:17:02 -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; Fri, 16 Feb 2018 14:17:02 +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 20A46C0238 for ; Fri, 16 Feb 2018 14:17:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-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 iSFaAr-LRS8T for ; Fri, 16 Feb 2018 14:17:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 21FFF5F18F for ; Fri, 16 Feb 2018 14:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 87ECDE01DB for ; Fri, 16 Feb 2018 14:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 45C3321E5D for ; Fri, 16 Feb 2018 14:17:00 +0000 (UTC) Date: Fri, 16 Feb 2018 14:17:00 +0000 (UTC) From: "Dmitriy Pavlov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-7489) Weird FillFactor metric fluctuation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-7489?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 67346#comment-16367346 ]=20 Dmitriy Pavlov commented on IGNITE-7489: ---------------------------------------- Looks good to me, thank you, [~ilyak]. [~agoncharuk], could you please merge? > Weird FillFactor metric fluctuation. > ------------------------------------ > > Key: IGNITE-7489 > URL: https://issues.apache.org/jira/browse/IGNITE-7489 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.1, 2.2, 2.3 > Reporter: Andrew Mashenkov > Assignee: Ilya Kasnacheev > Priority: Major > Attachments: FillFactorTest.java > > > For now there is no way to get Used\FreeMemory=C2=A0for region in bytes.= =20 > MemoryMetrics.getPagesFillFactor() javadoc says that the method return th= e percentage of space that is still free and can be filled in. > So, I'd think used memory can be calculated as=C2=A0PhysicalMemoryPages*P= ageSize*FillFactor. > I've tried to use this, but found weir thing. > =C2=A0 > PFA a repro. > There is 2 node grid with no persistence configure. Topology is stable. > Cache is populated with unique keys (no updates) and observe allocated da= ta pages metric grows constantly as expected. > But the error look too large, used memory (and FillFactor as well) may 2-= 10+ time differs. > E.g. allocated pages, fillFactor, usedMem (bytes):( > node-0: 13789 0.851563 48096032 > node-1: 14447 0.781250 46230400 > In next second: > node-0: 13958 0.039063 2233280 > node-1: 14624 0.347656 20824576 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)