spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davies Liu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-12950) Improve performance of BytesToBytesMap
Date Wed, 10 Feb 2016 00:45:18 GMT

     [ https://issues.apache.org/jira/browse/SPARK-12950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davies Liu resolved SPARK-12950.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11010
[https://github.com/apache/spark/pull/11010]

> Improve performance of BytesToBytesMap
> --------------------------------------
>
>                 Key: SPARK-12950
>                 URL: https://issues.apache.org/jira/browse/SPARK-12950
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Davies Liu
>             Fix For: 2.0.0
>
>
> When benchmark generated aggregate with grouping keys, the profiling show that lookup
in BytesToBytesMap took about 90% of the CPU time, we should optimize it.
> After profiling with jvisualvm, here are the things that take most of the time:
> 1. decode address from Long to baseObject and offset
> 2. calculate hash code
> 3. compare the bytes (equality check)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message