hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5912) org.apache.hadoop.hbase.ipc.ProtocolSignature.getFingerprint takes significant CPU
Date Wed, 02 May 2012 02:30:48 GMT
Todd Lipcon created HBASE-5912:

             Summary: org.apache.hadoop.hbase.ipc.ProtocolSignature.getFingerprint takes significant
                 Key: HBASE-5912
                 URL: https://issues.apache.org/jira/browse/HBASE-5912
             Project: HBase
          Issue Type: Improvement
          Components: ipc, performance
    Affects Versions: 0.94.1
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon

I ran oprofile on a YCSB client and found that a large percentage of the CPU time was going
to this function:

51991     0.4913  25361.jo                 java                     java.lang.reflect.Method[]
51384     0.4856  25361.jo                 java                     int org.apache.hadoop.hbase.ipc.ProtocolSignature.getFingerprint(java.lang.reflect.Method)
50428     0.4766  25361.jo                 java                     void java.util.Arrays.sort1(int[],
int, int)

We should introduce a simple cache to avoid this overhead.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message