Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15179 Cell/DBB end-to-end on the write-path
  3. HBASE-15204

Try to estimate the cell count for adding into WALEdit

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • regionserver
    • None
    • Reviewed

    Description

      The write path profiling shows that when we try to add Cells to WALEdits we try to do a lot of Array copy inorder to grow the Arraylist backing the WALEdits. In a simple one min profiling of the write path with 50 YCSB threads shows around 261MB of allocation done for the Array copy to happen. We can try to avoid that.

      Attachments

        1. HBASE-15204_branch-1.patch
          4 kB
          ramkrishna.s.vasudevan
        2. HBASE-15204_4.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-15204_3.patch
          4 kB
          ramkrishna.s.vasudevan
        4. HBASE-15204_3.patch
          4 kB
          ramkrishna.s.vasudevan
        5. HBASE-15204_2.patch
          6 kB
          ramkrishna.s.vasudevan
        6. HBASE-15204_1.patch
          5 kB
          ramkrishna.s.vasudevan
        7. HBASE-15204_1.patch
          5 kB
          ramkrishna.s.vasudevan
        8. HBASE-15204.patch
          8 kB
          ramkrishna.s.vasudevan
        9. WAlEdit_add_allocation_after_patch.jpg
          162 kB
          ramkrishna.s.vasudevan
        10. WAlEdit_add_allocation.jpg
          52 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              ram_krish ramkrishna.s.vasudevan
              ram_krish ramkrishna.s.vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: