From 3a4e5398d3581b9ebb16056f28378ef0ac916fad Mon Sep 17 00:00:00 2001 From: Michael Kamprath Date: Mon, 29 Jun 2020 23:38:40 -0700 Subject: [PATCH] further tweaks --- .../worker-node/spark-conf/spark-defaults.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf b/spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf index 71746bd..fb4e0c6 100644 --- a/spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf +++ b/spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf @@ -1,15 +1,16 @@ # performance optimizations spark.serializer org.apache.spark.serializer.KryoSerializer spark.default.parallelism 200 -spark.sql.shuffle.partitions 400 +spark.sql.shuffle.partitions 200 # worker node / executor set up # expecting a worker with 12 cores and 56g of memory -spark.executor.memory 25g -spark.executor.cores 6 +spark.executor.memory 51g +spark.executor.cores 12 +spark.executor.extraJavaOptions -XX:+UseG1GC # driver configurations -spark.driver.memory 8g +spark.driver.memory 9g spark.driver.cores 2 # operational configurations