You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/01 21:39:00 UTC
[jira] [Resolved] (HBASE-14522) Document and/or disable hsperfdata GC pauses
[ https://issues.apache.org/jira/browse/HBASE-14522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell resolved HBASE-14522.
-----------------------------------------
Assignee: (was: Lars Francke)
Resolution: Abandoned
> Document and/or disable hsperfdata GC pauses
> --------------------------------------------
>
> Key: HBASE-14522
> URL: https://issues.apache.org/jira/browse/HBASE-14522
> Project: HBase
> Issue Type: Task
> Components: documentation, Performance
> Reporter: Nick Dimiduk
> Priority: Major
> Attachments: HBASE-14522.patch
>
>
> {quote}
> The JVM by default exports statistics by mmap-ing a file in /tmp (hsperfdata). On Linux, modifying a memory mapped file can block until disk I/O completes, which can be hundreds of milliseconds. Since the JVM modifies these statistics during garbage collection and safepoints, this causes pauses that are hundreds of milliseconds long.
> {quote}
> Via [JVM mmap pause|http://www.evanjones.ca/jvm-mmap-pause.html].
> We should add {{-XX:+PerfDisableSharedMem}} to our default options as was apparently done in CASSANDRA-9242 and/or document the presence of this bug so operators know to use tmpfs.
> Hat-tip [~vrodionov]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)