tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-2606) Cache-friendly data structure for sorting
Date Thu, 09 Jul 2015 14:55:04 GMT

    [ https://issues.apache.org/jira/browse/TEZ-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620628#comment-14620628
] 

Tsuyoshi Ozawa commented on TEZ-2606:
-------------------------------------

[~gopalv] I think this change is only checking partition, right? My idea is kvmeta's including
new prefix of key's binary. I think this technique improves cache hit ratio when referencing
keys because comparator need to check body of keys currently. What do you think?


> Cache-friendly data structure for sorting
> -----------------------------------------
>
>                 Key: TEZ-2606
>                 URL: https://issues.apache.org/jira/browse/TEZ-2606
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Tsuyoshi Ozawa
>
> Alphasort[1]  mentions prefix key sort is effective way. I'd like to suggest to change
a layout of ring buffer to include prefix of key in meta data. This can improve the cache
hit rate when sorting.
> [1] Alphasort: http://dl.acm.org/citation.cfm?id=615237



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

Mime
View raw message