Return-Path: X-Original-To: apmail-drill-commits-archive@www.apache.org Delivered-To: apmail-drill-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0815617AA2 for ; Sun, 10 May 2015 16:30:47 +0000 (UTC) Received: (qmail 25240 invoked by uid 500); 10 May 2015 16:30:46 -0000 Delivered-To: apmail-drill-commits-archive@drill.apache.org Received: (qmail 25177 invoked by uid 500); 10 May 2015 16:30:46 -0000 Mailing-List: contact commits-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@drill.apache.org Delivered-To: mailing list commits@drill.apache.org Received: (qmail 25129 invoked by uid 99); 10 May 2015 16:30:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 May 2015 16:30:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8E43AE045C; Sun, 10 May 2015 16:30:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jacques@apache.org To: commits@drill.apache.org Date: Sun, 10 May 2015 16:30:47 -0000 Message-Id: <6071bebc84714aef87e67f3a8681758c@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [02/12] drill git commit: DRILL-3007: Disable automatic mmap threshold on Linux DRILL-3007: Disable automatic mmap threshold on Linux Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/0f424096 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/0f424096 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/0f424096 Branch: refs/heads/merge_2015_05_09 Commit: 0f424096a1d98e603d346ba4906eb7c3434855df Parents: 42d5f81 Author: Jacques Nadeau Authored: Sat May 9 17:17:56 2015 -0700 Committer: Jacques Nadeau Committed: Sun May 10 09:24:21 2015 -0700 ---------------------------------------------------------------------- distribution/src/resources/drill-config.sh | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/0f424096/distribution/src/resources/drill-config.sh ---------------------------------------------------------------------- diff --git a/distribution/src/resources/drill-config.sh b/distribution/src/resources/drill-config.sh index c66afea..3de6be4 100644 --- a/distribution/src/resources/drill-config.sh +++ b/distribution/src/resources/drill-config.sh @@ -197,6 +197,13 @@ if $is_cygwin; then fi fi +# make sure allocator chunks are done as mmap'd memory (and reduce arena overhead) +export MALLOC_ARENA_MAX=4 +export MALLOC_MMAP_THRESHOLD_=131072 +export MALLOC_TRIM_THRESHOLD_=131072 +export MALLOC_TOP_PAD_=131072 +export MALLOC_MMAP_MAX_=65536 + # Variables exported form this script export HADOOP_HOME export is_cygwin