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 8D164200BF0 for ; Thu, 15 Dec 2016 09:00:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8BBD0160B10; Thu, 15 Dec 2016 08:00:00 +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 D4636160B0B for ; Thu, 15 Dec 2016 08:59:59 +0100 (CET) Received: (qmail 56113 invoked by uid 500); 15 Dec 2016 07:59:59 -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 56080 invoked by uid 99); 15 Dec 2016 07:59:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 07:59:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F37332C0057 for ; Thu, 15 Dec 2016 07:59:58 +0000 (UTC) Date: Thu, 15 Dec 2016 07:59:58 +0000 (UTC) From: "Dmitriy Govorukhin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-1678) IgniteAtomicSequence: make following reservations in advance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Dec 2016 08:00:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15750704#comment-15750704 ] Dmitriy Govorukhin edited comment on IGNITE-1678 at 12/15/16 7:58 AM: ---------------------------------------------------------------------- I got the following results, see attach. All changes in branch [1678-2|https://github.com/gridgain/apache-ignite/tree/ignite-1678-2] was (Author: dmitriygovorukhin): I got the following results, see attach. > IgniteAtomicSequence: make following reservations in advance > ------------------------------------------------------------ > > Key: IGNITE-1678 > URL: https://issues.apache.org/jira/browse/IGNITE-1678 > Project: Ignite > Issue Type: Improvement > Components: data structures > Affects Versions: ignite-1.4 > Reporter: Denis Magda > Assignee: Dmitriy Govorukhin > Fix For: 2.0 > > Attachments: Screenshot from 2016-12-15 10-50-22.png > > > In current implementation a new reservation is made when the current local sequence boundary is exceeded. > In cases when there are many nodes that use the same atomic sequence there can be a situation when all the nodes start doing a new reservation at the same time. This can lead to performance drops. > As a performance optimization it makes sense to start reserving new sequence slot in advance (in background), like when around 80% of current reservation has already been used. Probably we should add a special parameter to {{AtomicConfiguration}} that will manage such behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332)