Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 61427 invoked from network); 26 Feb 2010 04:43:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 04:43:43 -0000 Received: (qmail 28771 invoked by uid 500); 26 Feb 2010 04:43:43 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 28726 invoked by uid 500); 26 Feb 2010 04:43:42 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 28718 invoked by uid 99); 26 Feb 2010 04:43:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 04:43:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 04:43:34 +0000 Received: by wwb22 with SMTP id 22so2253652wwb.6 for ; Thu, 25 Feb 2010 20:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=pSOb+HseppUPI3P6keVzFAri3OTWkXdRzCWk3oqEoz0=; b=HphevwqWskVgqhVNUBSZE3Pg4d9q+L4FFHxZ8XnI/muKpKNFZmyMLvD04Ii4PJi5XR GDnuSjoBeWtYnIJ1lWS4snH1eox2FMDWdxkIX1EiDLbeD88XDyGv2HqjaeLVrH+2cF6/ tMMPuk/vZEYawYjz20IUobLflOMqk/F0z6ue0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=tcf1Kq9ld1xF8zfj6E7I1JoaCeBxc2Uk3TAlUkH2LR1GeULEx4BLZ4HAYYin3mOGm4 FEfua/PPeBm/zH4cPxNIVS/CZiLiKfYbvI3rjkNwUWudgYrOO0o7n3hmiDIfhmZp/Xib /CAjshZ9rk2bpf4yHMOjIr1eehpeEtO60JNXE= MIME-Version: 1.0 Received: by 10.216.176.143 with SMTP id b15mr742475wem.155.1267159394436; Thu, 25 Feb 2010 20:43:14 -0800 (PST) In-Reply-To: <20100225215403.GB46232@alumni.caltech.edu> References: <20100225192342.GA46024@alumni.caltech.edu> <1c6fcff1002251136j21525c26hc7062d4227c4ae88@mail.gmail.com> <20100225204832.GA46232@alumni.caltech.edu> <20100225215403.GB46232@alumni.caltech.edu> From: Jonathan Ellis Date: Thu, 25 Feb 2010 22:42:54 -0600 Message-ID: Subject: Re: Multiple Data Directories To: cassandra-user@incubator.apache.org, gdusbabek@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Feb 25, 2010 at 3:54 PM, Anthony Molinaro wrote: > What about the case where cpu and ram are underutilized, and your bottlen= eck > is disk io (which seems to often be the case in ec2), then adding more > spindles improves overall throughput of the system. =A0I've actually test= ed > this when adding an additional ebs, and hand moving files around, then > restarting. =A0Suddenly node's performance (measued via cfstats metrics), > get better That sounds like you're actually ram-limited, so adding nodes will be better than adding EBS devices. >=A0How do > the files ever get that big, does a repair fully compact (ie, down > to one file)? =A0I guess the question is how do you end up with the > "worst" case? Any major compaction will do that. Repair will invoke one, or it can happen "naturally" too. > I guess Raid0 is the only way to use multiple disks efficiently and > the multiple DataFileDirectories is really not very useful? =A0I'm > trying to think of a good reason you might want multiple data directories > and all I can't think of one now, is there a good reason? If you are throughput-bound instead of size-bound (which is the case for most uses, especially on non-virtual hardware), then I would expect better performance from JBOD. -Jonathan