Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45E6919C9D for ; Wed, 13 Jul 2016 14:11:46 +0000 (UTC) Received: (qmail 62219 invoked by uid 500); 13 Jul 2016 14:11:46 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 62199 invoked by uid 500); 13 Jul 2016 14:11:46 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 62188 invoked by uid 99); 13 Jul 2016 14:11:45 -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; Wed, 13 Jul 2016 14:11:45 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BFF58E04BE; Wed, 13 Jul 2016 14:11:45 +0000 (UTC) From: wesolowskim To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #14137: SPARK-16478 graphX (added graph caching in strongly conn... Content-Type: text/plain Message-Id: <20160713141145.BFF58E04BE@git1-us-west.apache.org> Date: Wed, 13 Jul 2016 14:11:45 +0000 (UTC) Github user wesolowskim commented on the issue: https://github.com/apache/spark/pull/14137 I added unpersists to additionally created caches and checked performance. scc.run is slightly longer, but returned graph is cached (both vertices and edges). To fully optimize it and remove all unused graphs I'd have to carefully check everything on large graph since sometimes it's easy to remove cache to early and in this case effect will be seen after some materialization on graph outside scc. I hope to get it accepted in current state (that is much more performant at least for larger graphs). Later on I'll try to further optimize it(it is tricky to do it elegantly because sccWorkGraph gets overwritten twice before it is materialized, and one loop get's executed at least once). --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org