Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F01210AE8 for ; Wed, 26 Feb 2014 16:31:46 +0000 (UTC) Received: (qmail 94318 invoked by uid 500); 26 Feb 2014 16:31:45 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 94286 invoked by uid 500); 26 Feb 2014 16:31:44 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 94278 invoked by uid 99); 26 Feb 2014 16:31:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 16:31:44 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Feb 2014 16:31:43 +0000 Received: (qmail 93536 invoked by uid 99); 26 Feb 2014 16:31:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 16:31:22 +0000 Date: Wed, 26 Feb 2014 16:31:22 +0000 (UTC) From: "Adam Lewis (JIRA)" To: dev@storm.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STORM-241) "storm jar" underperforms compared to scp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STORM-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913108#comment-13913108 ] Adam Lewis commented on STORM-241: ---------------------------------- I'm with you on keeping configs trim...Taylor originally suggested including a config option for this when I filed the JIRA, I'm kind of ambivalent. As Nathan said on the mailing list, the 15k default was a completely arbitrary number...300k is another arbitrary number that works better for me :) I just want the out-of-the-box experience to be smooth for people and this issue was/is a thorn in my side in that regard. My only concern is that 300k was specific to my particular network configuration (on that day of the week)...and it is a number I arrived at by increasing 50k at a time until I saw diminishing returns and speeds approaching SCP. Perhaps the best way to handle this is incrementally. Hard code 300k now, and if we start seeing requests to change the number _again_ then make it configurable. > "storm jar" underperforms compared to scp > ----------------------------------------- > > Key: STORM-241 > URL: https://issues.apache.org/jira/browse/STORM-241 > Project: Apache Storm (Incubating) > Issue Type: Improvement > Environment: Internet connected dev machine deploying to storm cluster on AWS. Storm 0.9.0.1 > Reporter: Adam Lewis > Labels: configuration, newbie > > "storm jar" is very slow at sending the jar file, achieving roughly 10% of the throughput compared to SCP for the same network configuration. This is especially problematic when deploying jars from over the Internet. > This appears to be related to the chunk size used to transmit the JAR file over the thrift protocol. Anecdotally, a 300KB chunk size (compared to the currently used default of 15KB), achieved performance in line with scp. > Default can be overridden in the BufferFileInputStream ctor: https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/StormSubmitter.java?source=cc#L154 -- This message was sent by Atlassian JIRA (v6.1.5#6160)