Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4354

Performance improvement with compressor object reinit restriction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 0.20.205.0
    • 0.20.205.0
    • performance

    Description

      HADOOP-5879 patch aimed at picking the conf (instead of default) settings for GzipCodec. It also involved re-initializing the recycled compressor object.
      On our performance tests, this re-initialization led to performance degradation of 15% for LzoCodec because re-initialization for Lzo involves reallocation of buffers. LzoCodec takes the initial settings from config so it is not necessary to re-initialize it. This patch checks for the codec class and calls reinit only if the codec class is Gzip. This led to significant performance improvement of 15% for LzoCodec.

      Attachments

        1. codec_reinit_diff
          0.8 kB
          Ankit Kamboj
        2. modify_lzo_codec_reinit
          3 kB
          Ankit Kamboj

        Activity

          People

            Unassigned Unassigned
            kamboj Ankit Kamboj
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: