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 E2BC22009F3 for ; Sat, 21 May 2016 02:59:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E13BC160A2A; Sat, 21 May 2016 00:59:36 +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 36F83160A25 for ; Sat, 21 May 2016 02:59:36 +0200 (CEST) Received: (qmail 53427 invoked by uid 500); 21 May 2016 00:59:34 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 53416 invoked by uid 99); 21 May 2016 00:59:34 -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; Sat, 21 May 2016 00:59:34 +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 335DDC0D82 for ; Sat, 21 May 2016 00:59:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=databricks-com.20150623.gappssmtp.com 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 vSybofLgasnv for ; Sat, 21 May 2016 00:59:32 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 718865F250 for ; Sat, 21 May 2016 00:59:32 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id b65so59895110oia.1 for ; Fri, 20 May 2016 17:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=databricks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jx/keZZzUV9lylda3BVfHTHMVdv2NKOVRIndFmiUuhA=; b=jM8b0dfY5oMCpEOrMezaKGXNr7UlgnuLCPzYHNNUF6ADEeAizlpINYQDBEmlVc/KJ/ i6IuSD0yDlDo4PmIl/ZGE6/awxj/0WM6oeX5BYTs7gDvo9N0Fy5E/zvo2qVqc8a1+nc9 HTimxMBi7DemqvqgTYOLUIidWcZqC2BtIp/RHhED2sflezsfM1kz+Uq0mTvZ8XG6dTix T3Z5U7ZE5ATTbt+qTI1Pq06foXpWSuHEzdG38LVzo9taPJ+CXTvda+B1aM9FcGHPGyuC 2Ff9O0vLyTLh18/OjlnwTTNwXVrF2HKV6WaenUwMmxFLU3RXIY9klKOJZT2AX1/l00i3 4TXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jx/keZZzUV9lylda3BVfHTHMVdv2NKOVRIndFmiUuhA=; b=ZsxL+f4oeKQje9zSz3dZCaZHNn7ntoaqO/znkj8Vv1XASFTeuXShtX1MTLOjw6KB1o 9Hlxb6MQ9naMHuNHp77IhuQVUS2IRRHoUtnsRBoQYOqU/2NNHpniE3SfIkxFzFQnf+b6 DV1MvDzlgNfDTYE/yBX4IUwZJQh3Ozn6tQUYcLpLuUGco9Jv1eBc9vvqOCOTtad7JmX/ lAjVwu6+ETgsG5BTDdhlV0WqoD//ROIwgT+LVhPVhcjFLOQ1ugrAxFQIB7APQGM1DGAv ThF0tCsX4lySZWFxtWwQZy995NUxB1maypEmrV69rq0Ubui3W3OUIG125NOM1sw1hpFG fd/A== X-Gm-Message-State: AOPr4FVxB69uAYkTd4xHG9KibBez43Z5KpW+RB0QKyi87mlY0wXrKxJ1kf8p/7ZUDLbjLOcAJGEs8DA6SZK9cJg2 X-Received: by 10.202.225.8 with SMTP id y8mr3785478oig.192.1463792371523; Fri, 20 May 2016 17:59:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.206.139 with HTTP; Fri, 20 May 2016 17:59:12 -0700 (PDT) In-Reply-To: References: From: Reynold Xin Date: Fri, 20 May 2016 17:59:12 -0700 Message-ID: Subject: Re: Quick question on spark performance To: Yash Sharma Cc: "dev@spark.apache.org" Content-Type: multipart/alternative; boundary=001a113cd17854844905334fb804 archived-at: Sat, 21 May 2016 00:59:37 -0000 --001a113cd17854844905334fb804 Content-Type: text/plain; charset=UTF-8 It's probably due to GC. On Fri, May 20, 2016 at 5:54 PM, Yash Sharma wrote: > Hi All, > I am here to get some expert advice on a use case I am working on. > > Cluster & job details below - > > Data - 6 Tb > Cluster - EMR - 15 Nodes C3-8xLarge (shared by other MR apps) > > Parameters- > --executor-memory 10G \ > --executor-cores 6 \ > --conf spark.dynamicAllocation.enabled=true \ > --conf spark.dynamicAllocation.initialExecutors=15 \ > > Runtime : 3 Hrs > > On monitoring the metrics I notices 10G for executors is not required > (since I don't have lot of groupings) > > Reducing to --executor-memory 3G, Runtime reduced to: 2 Hrs > > Question: > On adding more nodes now has absolutely no effect on the runtime. Is there > anything I can tune/change/experiment with to make the job faster. > > Workload: Mostly reduceBy's and scans. > > Would appreciate any insights and thoughts. Best Regards > > > --001a113cd17854844905334fb804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It's probably due to GC.

On Fri, May 20, 2016 at 5:54 PM, Yash Sha= rma <yash360@gmail.com> wrote:
Hi All,
I am here to get some expert advice on a = use case I am working on.=C2=A0

Cluster & job = details below -

Data - 6 Tb
Cluster - EM= R - 15 Nodes C3-8xLarge (shared by other MR apps)

= Parameters-
--executor-memory 10G \
--executor-cor= es 6 \
--conf spark.dynamicAllocation.enabled=3Dtrue \
<= div>--conf spark.dynamicAllocation.initialExecutors=3D15 \
<= div>
Runtime : 3 Hrs

On monitoring t= he metrics I notices 10G for executors is not required (since I don't h= ave lot of groupings)=C2=A0

Reducing to --executor= -memory 3G, Runtime reduced to: 2 Hrs

Question:
On adding more nodes now has absolutely no effect on the runtime. I= s there anything I can tune/change/experiment with to make the job faster.<= /div>

Workload: Mostly reduceBy's and scans.=C2=A0

Would appreciate any insights and thoughts. Best Re= gards



--001a113cd17854844905334fb804--