Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 813B8182F9 for ; Sat, 29 Aug 2015 00:03:46 +0000 (UTC) Received: (qmail 34936 invoked by uid 500); 29 Aug 2015 00:03:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34898 invoked by uid 500); 29 Aug 2015 00:03:46 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 34887 invoked by uid 99); 29 Aug 2015 00:03:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2015 00:03:46 +0000 Date: Sat, 29 Aug 2015 00:03:46 +0000 (UTC) From: "Asif A Bashar (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9242) Add PerfDisableSharedMem to default JVM params 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/CASSANDRA-9242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720817#comment-14720817 ] Asif A Bashar commented on CASSANDRA-9242: ------------------------------------------ After adding this flag, jps command does not show cassandra process anymore. dse cassandra-stop also does not work. > Add PerfDisableSharedMem to default JVM params > ---------------------------------------------- > > Key: CASSANDRA-9242 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9242 > Project: Cassandra > Issue Type: Improvement > Components: Config > Reporter: Matt Stump > Assignee: Ariel Weisberg > Fix For: 2.2.0 beta 1 > > > We should add PerfDisableSharedMem to default JVM params. The JVM will save stats to a memory mapped file when reaching a safepoint. This is performed synchronously and the JVM remains paused while this action takes place. Occasionally the OS will stall the calling thread while this happens resulting in significant impact to worst case JVM pauses. By disabling the save in the JVM these mysterious multi-second pauses disappear. > The behavior is outlined in [this article|http://www.evanjones.ca/jvm-mmap-pause.html]. Another manifestation is significant time spent in sys during GC pauses. In [the linked test|http://cstar.datastax.com/graph?stats=762d9c2a-eace-11e4-8236-42010af0688f&metric=gc_max_ms&operation=1_write&smoothing=1&show_aggregates=true&xmin=0&xmax=110.77&ymin=0&ymax=10421.4] you'll notice multiple seconds spent in sys during the longest pauses. -- This message was sent by Atlassian JIRA (v6.3.4#6332)