drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [02/12] drill git commit: DRILL-3007: Disable automatic mmap threshold on Linux
Date Sun, 10 May 2015 16:30:47 GMT
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 <jacques@apache.org>
Authored: Sat May 9 17:17:56 2015 -0700
Committer: Jacques Nadeau <jacques@apache.org>
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


Mime
View raw message