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

Rewrite the PureJavaCrc32 loop for performance improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • performance, util
    • None
    • 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

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: