Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE72018639 for ; Wed, 29 Jul 2015 18:02:28 +0000 (UTC) Received: (qmail 52030 invoked by uid 500); 29 Jul 2015 18:02:06 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 52006 invoked by uid 500); 29 Jul 2015 18:02:06 -0000 Mailing-List: contact issues-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list issues@ignite.incubator.apache.org Received: (qmail 51996 invoked by uid 99); 29 Jul 2015 18:02:06 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 18:02:06 +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 67AD31A8BE5 for ; Wed, 29 Jul 2015 18:02:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id b2aatncrpOOE for ; Wed, 29 Jul 2015 18:02:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id A88D521379 for ; Wed, 29 Jul 2015 18:02:05 +0000 (UTC) Received: (qmail 50956 invoked by uid 99); 29 Jul 2015 18:02:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 18:02:05 +0000 Date: Wed, 29 Jul 2015 18:02:05 +0000 (UTC) From: "Anton Vinogradov (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (IGNITE-1093) Rebalancing with default parameters is very slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anton Vinogradov updated IGNITE-1093: ------------------------------------- Comment: was deleted (was: I've created simple test to check how much time takes to relocated 40_000_000 entries: { Ignite ignite = startGrid(0); try (IgniteDataStreamer stmr = ignite.dataStreamer(CACHE_NAME_DHT)) { for (int i = 0; i < 40_000_000; i++) stmr.addData(i, KEY_VAL); } startGrid(1); stopAllGrids(); } By default RebalanceTimeout equals to 10 seconds. In this case new node requests entries each 10-20 seconds. And old node creates and sends message with entries. Sounds bad, IMHO. And in this case we have following metrics: data load takes 81 s suply message preparation takes 49 s send-receive (from send to handle start) takes 399 s put gained entries to cache takes 118 s So, I set cacheCfg.setRebalanceTimeout(1000000) and gain: data load takes 81s suply message preparation takes 49 s send-receive (from send to handle start) takes 45 s put gained entries to cache takes 118 s Seems that we have to change default value of rebalanceTimeout) > Rebalancing with default parameters is very slow > ------------------------------------------------ > > Key: IGNITE-1093 > URL: https://issues.apache.org/jira/browse/IGNITE-1093 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: sprint-7 > Reporter: Pavel Konstantinov > Assignee: Anton Vinogradov > Priority: Critical > Fix For: sprint-8 > > > # Start one node with partitioned cache with one backup. > # Load into the cache 40billions of keys using DataStreamer > # Start second node on the same host -- This message was sent by Atlassian JIRA (v6.3.4#6332)