Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CFFF9200B31 for ; Tue, 24 May 2016 18:50:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CEAC0160A35; Tue, 24 May 2016 16:50:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BCDE116098E for ; Tue, 24 May 2016 18:50:42 +0200 (CEST) Received: (qmail 43551 invoked by uid 500); 24 May 2016 16:50:42 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 43538 invoked by uid 99); 24 May 2016 16:50:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 16:50:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 38701C08AC for ; Tue, 24 May 2016 16:50:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id RUG_RpeytHOb for ; Tue, 24 May 2016 16:50:40 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id EBD465F297 for ; Tue, 24 May 2016 16:50:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u4OGocOm013512; Tue, 24 May 2016 16:50:38 GMT Message-Id: <201605241650.u4OGocOm013512@ip-10-146-233-104.ec2.internal> Date: Tue, 24 May 2016 16:50:38 +0000 From: "Jim Apple (Code Review)" To: Youwei Wang <429222616@qq.com>, impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Alex Behm , Marcel Kornacker , Tim Armstrong , Mostafa Mokhtar , Jim Apple Reply-To: jbapple@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?[Impala-CR](cdh5-trunk)_IMPALA-2809:_Improve_ByteSwap_with_builtin_function_or_SSE_or_AVX2.=0A?= X-Gerrit-Change-Id: I392ed5a8d5683f30f161282c228c1aedd7b648c1 X-Gerrit-ChangeURL: X-Gerrit-Commit: 2fc064df6eb0cf68dced3df06c8aff0cd17a2271 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.10-rc0 archived-at: Tue, 24 May 2016 16:50:44 -0000 Jim Apple has posted comments on this change. Change subject: IMPALA-2809: Improve ByteSwap with builtin function or SSE or AVX2. ...................................................................... Patch Set 11: (6 comments) http://gerrit.cloudera.org:8080/#/c/3081/11/be/src/benchmarks/bswap-benchmark.cc File be/src/benchmarks/bswap-benchmark.cc: Line 49: // SIMD 57.73 2.18X Why is SIMD so much slower? Line 222: MACRO_TEST_FBS_CASE(8, 5) This code can be further reduced by making 8,5 to 8,8 a loop. Line 260: FIXED_LEN_SIZE Which values are of interest? Is 3? Line 263: NUM_BYTES Please explain this in the comment above. Line 273: bit range The bit range of what? What are we doing with that bit range? where does "1" come from in "1x8=8"? Line 537: MACRO_TEST_AVX2_CASE(16, 9) Again, this can be reduced in size with a loop over the second param. -- To view, visit http://gerrit.cloudera.org:8080/3081 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I392ed5a8d5683f30f161282c228c1aedd7b648c1 Gerrit-PatchSet: 11 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Youwei Wang <429222616@qq.com> Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Jim Apple Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Mostafa Mokhtar Gerrit-Reviewer: Tim Armstrong Gerrit-Reviewer: Youwei Wang <429222616@qq.com> Gerrit-HasComments: Yes