Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 35443 invoked from network); 19 Nov 2009 16:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 16:35:11 -0000 Received: (qmail 81205 invoked by uid 500); 19 Nov 2009 16:35:11 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 81188 invoked by uid 500); 19 Nov 2009 16:35:11 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 81178 invoked by uid 99); 19 Nov 2009 16:35:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 16:35:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 16:35:09 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D65E117D16; Thu, 19 Nov 2009 16:34:47 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 19 Nov 2009 16:34:47 -0000 Message-ID: <20091119163447.19673.27485@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22CassandraHardware=22_by_Jonat?= =?utf-8?q?hanEllis?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "CassandraHardware" page has been changed by JonathanEllis. http://wiki.apache.org/cassandra/CassandraHardware?action=3Ddiff&rev1=3D2&r= ev2=3D3 -------------------------------------------------- =3D=3D=3D Memory =3D=3D=3D - The most recently written data resides in memory tables (aka [[MemtableTh= resholds|memtables]]), but older data that has been flushed to disk can be = kept in the OS's file-system cache. In other words, ''the more memory, the = better'', with 1GB being the minimum recommended. + The most recently written data resides in memory tables (aka [[MemtableTh= resholds|memtables]]), but older data that has been flushed to disk can be = kept in the OS's file-system cache. In other words, ''the more memory, the = better'', with 1GB being the minimum recommended in a virtualized environme= nt. With dedicated hardware there is no reason to use less than 4GB, and a= t the high end, you see clusters with 16 or 32 GB. = =3D=3D=3D CPU =3D=3D=3D Many workloads will actually be CPU-bound in Cassandra before being memor= y-bound. Cassandra is highly concurrent and will make good use of however = many cores you can give it. For high-end clusters, quad- or 8-core boxes a= re good. If you're running on virtualized machines, consider using a provi= der such as Rackspace Cloud Servers that allows CPU bursting. - = = =3D=3D=3D Disk =3D=3D=3D The short answer here is, ''at least 2 disks'', one to keep your `CommitL= ogDirectory` on, the other to use in `DataFileDirectories`. The exact answe= r though depends a lot on your usage so it's important to understand what i= s going on here.