Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10674

Rewrite the PureJavaCrc32 loop for performance improvement

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: performance, util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Below are some performance improvement opportunities performance improvement in PureJavaCrc32.

      • eliminate "off += 8; len -= 8;"
      • replace T8_x_start with hard coded constants
      • eliminate c0 - c7 local variables

      In my machine, there are 30% to 50% improvement for most of the cases.

        Attachments

        1. c10674_20140624.patch
          23 kB
          Tsz-wo Sze
        2. c10674_20140619.patch
          23 kB
          Tsz-wo Sze
        3. c10674_20140612.patch
          50 kB
          Tsz-wo Sze
        4. c10674_20140610.patch
          46 kB
          Tsz-wo Sze
        5. c10674_20140609b.patch
          35 kB
          Tsz-wo Sze
        6. c10674_20140609.patch
          36 kB
          Tsz-wo Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz-wo Sze
                Reporter:
                szetszwo Tsz-wo Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: