Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Cassandra: Tuning Garbage Collection

Cassandra: Tuning Garbage Collection:

Mikio L. Braun shares a set of experiments he ran configuring the garbage collection for Cassandra:

In summary, a bit of garbage collection tuning can help to make Cassandra run in a stable manner. In particular, you should set the CMS thresholds a bit lower, and probably also experiment with incremental CMS if you have enough cores. Setting the CMS threshold to 75%, I got Cassandra to run well in 8GB without any GC induced glitches, which is a big progress from the previous post.

Jonathan Ellis has recently mentioned a valuable resource for Garbage Collection tuning, a presentation by Tony Printezis, Charlie Hunt and Ludovic Poitou: "Garbage Collection Tuning in the Java HotSpot Virtual Machine" (nb unfortunately the link is not available anymore, but if you can find it somewhere make sure you get a copy). Also to note that the last Cassandra release went outside the VM dealing directly with the OS for addressing a combination of GC behavior and swapping.

Original title and link for this post: Cassandra: Tuning Garbage Collection (published on the NoSQL blog: myNoSQL)

Source Article
Comments
0
Be the first to comment

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect
avatar
Tags: collection, garbage, cassandra, tuning, cms
Tuning garbage collection
Jul 21, 2010
Hi, I'm using Tomcat 6.0.26, Java 1.6 and wondering what tools/strategies you use to tune your garbage collection parameters? Further, does anyone know how to read entries in the garbage collection log? Entries in my log look like Desired…

Created: (JCR-2686) Data store garbage collection: interrupt mark
Jul 22, 2010
Data store garbage collection: interrupt mark

Follow-up post on cassandra configuration with some experiments on GC tuning
Aug 24, 2010
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, thanks again for all the comments I got on my last post. I've played a bit with different GC settings and got my Cassandra instance to run very nicely with 8GB of heap. I summarized my…

Created: (COLLECTIONS-358) CollectionUtils.removeAll(Collection collection, Collection remove) calls ListUtils.retainAll(collection, remove)
Jun 29, 2010
CollectionUtils.removeAll(Collection collection, Collection remove) calls ListUtils.retainAll(collection, remove)

apache tuning for svn
Jul 8, 2010
Hi Gurus, Any advise on initial tuning values for apache MinSpareServers, MaxSpareServers, and StartServers, tcp tunings, ulimits, sysctl.... I'm running svn 1.6 over apache2 pre-fork. System load goes high as much as 10 during heavy usage. What…

Re: Capped collection Vs Normal collection
Aug 18, 2010
If you had one database per month you could just move the datafiles for that month to archival storage at the end of the month. On Wed, Aug 18, 2010 at 6:54 AM, ram <rams.a### @gmail.com> wrote: > Hi, > > I am using mongo-db for…

Capped collection Vs Normal collection
Aug 18, 2010
Hi, I am using mongo-db for realtime analytics, I am getting 2 million data points per day which will increase in future to 5 million at least. we require to have at least 1 month data online then we will move it to archive. Presently I am running…

Re: performance tuning - where does the slowness come from?
Jun 29, 2010
Weijunli, I also have an environment that has similar very large datasets with strict latency. Can you please elaborate on the custom changes you added to cassandra to meet these sla, either code or configuration. i am very interested in…

Scanning through 12k rows, performance tuning suggestions?
Aug 11, 2010
Hi list, I just uploaded a screen shot of some profiling result to flickr: http://www.flickr.com/photos/alexdong/4884059360/ This query will scan around 12k rows, my c++ code will read one column and parse the row key into 3 parts. I've already…

APR or Apache, virtual hosts and multi-core tuning...
Jun 28, 2010
Hi All, I noticed using Firefox with a plugin yslow that it recommends using only 4 virtual hosts instead of the 16 I have for serving images. I am using a 6 core system and want to make sure I take advantage of it using Apache APR so I setup more…