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

Reduce buffer copies in IPC server response path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.2
    • 0.98.0, 0.96.1
    • IPC/RPC
    • None
    • Reviewed

    Description

      The new PB code is sloppy with buffers and makes several needless copies. This increases GC time a lot. A few simple changes can cut this back down.

      Attachments

        1. buffer-copies.txt
          2 kB
          Todd Lipcon
        2. even-fewer-copies.txt
          17 kB
          Todd Lipcon
        3. hbase-5495.txt
          24 kB
          Todd Lipcon
        4. 5945-in-progress.patch
          101 kB
          Devaraj Das
        5. 5945-in-progress.2.patch
          144 kB
          Devaraj Das
        6. 5945-in-progress.2.1.patch
          136 kB
          Devaraj Das
        7. 5945v2.txt
          23 kB
          Michael Stack
        8. 5945v4.txt
          27 kB
          Michael Stack
        9. without_patch.png
          384 kB
          Michael Stack
        10. with_patch.png
          386 kB
          Michael Stack
        11. 5945v4.txt
          27 kB
          Michael Stack
        12. 5945v5.txt
          45 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: