hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15598) DataChecksum calculate checksum is contented on hashtable lock
Date Wed, 11 Jul 2018 08:51:00 GMT
Prasanth Jayachandran created HADOOP-15598:
----------------------------------------------

             Summary: DataChecksum calculate checksum is contented on hashtable lock
                 Key: HADOOP-15598
                 URL: https://issues.apache.org/jira/browse/HADOOP-15598
             Project: Hadoop Common
          Issue Type: Bug
          Components: common
    Affects Versions: 3.2.0
            Reporter: Prasanth Jayachandran
         Attachments: Screen Shot 2018-07-11 at 1.45.06 AM.png

When profiling a multi-threaded hive streaming ingest, observed lock contention on java.util.Properties
getProperty() to check if os is "sparc". java.util.Properties internally uses HashTable. HashTable.get()
is synchronized method. In the test application, on a 30s profile with 64 threads ~40% CPU
time is spent on getProperty() contention. See attached snapshot.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message