XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0, 0.7.0, 0.8.0-alpha
    • 0.8.0-alpha, 0.7.1
    • None
    • None

    Description

      GenericCounter::increment(1) shows up as a ~16% performance penalty inside the unvectorized codepath of Hive queries.

      The vectorized codepath amortizes this entirely by running through that exactly once every 1024 rows & the performance improvement is dramatic.


      Optimize the GenericCounter impl for mostly uncontested atomic operations.

      Attachments

        1. TEZ-2731.1.patch
          2 kB
          Gopal Vijayaraghavan
        2. atomic-long-cntr.png
          21 kB
          Gopal Vijayaraghavan
        3. lock-inc.png
          7 kB
          Gopal Vijayaraghavan
        4. mr-reader-next.png
          28 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: