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 66B37200CA5 for ; Sat, 27 May 2017 00:44:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6522B160BC8; Fri, 26 May 2017 22:44:49 +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 ACA3F160B9C for ; Sat, 27 May 2017 00:44:48 +0200 (CEST) Received: (qmail 87410 invoked by uid 500); 26 May 2017 22:44:47 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 87391 invoked by uid 99); 26 May 2017 22:44:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2017 22:44:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 321A1C0145 for ; Fri, 26 May 2017 22:44:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id txxgItHPXT0r for ; Fri, 26 May 2017 22:44:46 +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 mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 447245F306 for ; Fri, 26 May 2017 22:44:46 +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 v4QMijgc027264; Fri, 26 May 2017 22:44:45 GMT Message-Id: <201705262244.v4QMijgc027264@ip-10-146-233-104.ec2.internal> Date: Fri, 26 May 2017 22:44:45 +0000 From: "Joe McDonnell (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Tim Armstrong , Jim Apple , Marcel Kornacker , Dan Hecht Reply-To: joemcdonnell@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4623=3A_Enable_file_handle_cache=0A?= X-Gerrit-Change-Id: Ibe5ff60971dd653c3b6a0e13928cfa9fc59d078d X-Gerrit-ChangeURL: X-Gerrit-Commit: 991cc16b9265ddaa464a4e959aff3f1acc09a4dd 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.12.7 archived-at: Fri, 26 May 2017 22:44:49 -0000 Joe McDonnell has posted comments on this change. Change subject: IMPALA-4623: Enable file handle cache ...................................................................... Patch Set 22: (2 comments) http://gerrit.cloudera.org:8080/#/c/6478/22/be/src/runtime/disk-io-mgr-handle-cache.h File be/src/runtime/disk-io-mgr-handle-cache.h: Line 155: uint8_t padding[CACHE_LINE_SIZE]; > What happened? The clang-tidy complaints seem to be about other types; does I misunderstood and thought that changing the alignas(64) on this struct to a CacheLineAligned would eliminate the problem, but aligning this in either way requires DiskIoMgr to also be aligned. http://gerrit.cloudera.org:8080/#/c/6478/22/be/src/runtime/disk-io-mgr.h File be/src/runtime/disk-io-mgr.h: Line 199: class DiskIoMgr { > This is apparently a type that should be cache-aligned. This cache alignment is required because FileHandleCachePartition is cache aligned. To pass clang tidy, cache alignment should apply to both or neither. This upload does neither. I'm switching it to both. -- To view, visit http://gerrit.cloudera.org:8080/6478 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ibe5ff60971dd653c3b6a0e13928cfa9fc59d078d Gerrit-PatchSet: 22 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Joe McDonnell Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Jim Apple Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Tim Armstrong Gerrit-HasComments: Yes