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] [Updated] (SPARK-12950) Improve performance of BytesToBytesMap
Date Wed, 27 Jan 2016 19:11:40 GMT

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

Davies Liu updated SPARK-12950:
-------------------------------
    Assignee:     (was: Davies Liu)

> 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
>
> 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