Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E01237D2D for ; Fri, 22 Jul 2011 15:09:31 +0000 (UTC) Received: (qmail 73297 invoked by uid 500); 22 Jul 2011 15:09:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 73206 invoked by uid 500); 22 Jul 2011 15:09:29 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 73198 invoked by uid 99); 22 Jul 2011 15:09:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 15:09:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mina.naguib@bloomdigital.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 15:09:21 +0000 Received: by qwc23 with SMTP id 23so1898647qwc.31 for ; Fri, 22 Jul 2011 08:09:01 -0700 (PDT) Received: by 10.52.93.200 with SMTP id cw8mr1703974vdb.31.1311347340883; Fri, 22 Jul 2011 08:09:00 -0700 (PDT) Received: from mina.bloomlan (modemcable098.129-202-24.mc.videotron.ca [24.202.129.98]) by mx.google.com with ESMTPS id g7sm1270428vdv.9.2011.07.22.08.08.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Jul 2011 08:08:58 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Equalizing nodes storage load From: Mina Naguib In-Reply-To: Date: Fri, 22 Jul 2011 11:08:56 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9A77C9AD-E511-43FD-8390-5AA40E57E632@bloomdigital.com> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to balance Load ( 41.98GB vs 59.4GB vs 74.65GB ) Owns looks ok. They're all 33.33% which is what I want. It was = calculated simply by 2^127 / num_nodes. The only reason the first one = doesn't start at 0 is that I''ve actually carved the ring planning for 9 = machines (2 new data centers of 3 machines each). However only 1 data = center (DCMTL) is currently up. On 2011-07-22, at 10:56 AM, Sasha Dolgy wrote: > are you trying to balance "load" or "owns" ? "owns" looks fine ... > 33.33% each ... which to me says balanced. >=20 > how did you calculate your tokens? >=20 >=20 > On Fri, Jul 22, 2011 at 4:37 PM, Mina Naguib > wrote: >>=20 >> Address Status State Load Owns Token >> xx.xx.x.105 Up Normal 41.98 GB 33.33% = 37809151880104273718152734159085356828 >> xx.xx.x.107 Up Normal 59.4 GB 33.33% = 94522879700260684295381835397713392071 >> xx.xx.x.18 Up Normal 74.65 GB 33.33% = 151236607520417094872610936636341427313