Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12463

MemstoreLAB reduce #objects created

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.99.0
    • None
    • Performance
    • None

    Description

      By default Memstore uses MSLAB. For each of the Cell added to memstore, we will allocate area in MSLAB and return the area in BR wrapper. So each time a new BR object is created. Instead of this we can have ThreadLocal level BR instance and each time when allocate() API return the BR, we can set the byte[], offset, length on this ThreadLocal level BR instance. So totally only those many objects as the threads count (max handler count)

      Attachments

        1. HBASE-12463.patch
          4 kB
          Anoop Sam John

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anoopsamjohn Anoop Sam John
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: