XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: regionserver, Scanners
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We do read from this using Unsafe based reads on underlying BB. The UnsafeAccess getters having 2 branches of code for HBB and DBB and exact memory offset calculation varies. We can do an optimize here. We can initialize the reference object and exact memory offset for Unsafe reads while creating the SBB. We will do doing the reads on this SBB many a times. Each time when we do read we can use
      Unsafe.getXXX(Object, long)
      I am able to get a slight adv of 2% on this change. Small change and worth getting this slight gain.

        Attachments

        1. HBASE-14480.patch
          6 kB
          Anoop Sam John
        2. HBASE-14480_V2.patch
          9 kB
          Anoop Sam John
        3. HBASE-14480_V2.patch
          9 kB
          Anoop Sam John

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: