Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3F561780D for ; Tue, 14 Jul 2015 10:55:04 +0000 (UTC) Received: (qmail 27098 invoked by uid 500); 14 Jul 2015 10:55:04 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 26950 invoked by uid 500); 14 Jul 2015 10:55:04 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 26935 invoked by uid 99); 14 Jul 2015 10:55:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 10:55:04 +0000 Date: Tue, 14 Jul 2015 10:55:04 +0000 (UTC) From: "Tsuyoshi Ozawa (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-2606) Cache-friendly data structure for sorting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEZ-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626192#comment-14626192 ] Tsuyoshi Ozawa commented on TEZ-2606: ------------------------------------- [~gopalv] Thank you for the clarification. I think my suggestion has been already implemented by using TezBytesComparator. Can we have TezIntComparator or TezTextComparator for accelerating MapReduce jobs? Additionally, I think we can implement SIMD-based bitonic merge sorting by using the prefix. I'd like to continue to work on TEZ-2607, but do you have any concern about it? > 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)