Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-18196

Optimise CompactBuffer implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.6.2, 2.0.1
    • None
    • Spark Core
    • None

    Description

      This change slightly increases the class footprint (8 bytes on IBM Java, 12 bytes on OpenJDK and Oracle's) but we've observed a 4% performance on PageRank using HiBench large with this change, so a worthy trade-off IMO

      This results in a shorter path length for the JIT as a result of less if else statements

      Config used on HiBench

      spark.executor.memory 25G
      spark.driver.memory 4G
      spark.serializer org.apache.spark.serializer.KryoSerializer

      Attachments

        Activity

          People

            Unassigned Unassigned
            aroberts Adam Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: