BDB JE GC comparison graph questions

43 views
Skip to first unread message

cburroughs

unread,
Jun 6, 2011, 9:08:03 PM6/6/11
to Krati
The appendix to http://sna-projects.com/krati/slides/krati_vs_bdb.pdf
has several graphs. Two questions:

1) What tool was used to create them? It doesn't look like any of
the common gc log analyzers I've seen.

2) What exactly are they showing? It looks like it's pause time and
heap size on the same axis, but there are a lot of colors there.

Jingwei

unread,
Jun 7, 2011, 7:02:51 PM6/7/11
to Krati

To get the gc views as shown in the slides, you only need to pass a
few java gc options ("-Xloggc:target/logs/krati.gc -XX:
+PrintGCDetails") to the test you run and visualize the gc log using
gcviewer

You can get gcviewer from http://www.tagtraum.com/gcviewer.html and
you will see detailed explanations about gc views here.

In the latest release 0.3.9 of krati, you can do the following to a
run test

mvn test -Dtest=TestDataPartition -Dkrati.test.jvm.args="-
Xloggc:target/logs/krati.gc -XX:+PrintGCDetails" -
Dkrati.test.idCount=5000000 -Dkrati.test.numReaders=4 -
Dkrati.test.hitPercent=10 -Dkrati.test.initLevel=8 -
Dkrati.test.runTimeSeconds=600

This test runs approximately 600 seconds after the initial bootstrap.
It has 1 writer and 4 concurrent readers which hit 10% values from a
rang [0, 5000000).

After the test is done, you can check target/logs/ which lists three
files: krati.gc, krati.log and stats.log. You can use gcviewer to open
target/logs/krati.gc to see the gc views.

Thank you.

-jingwei


On Jun 6, 6:08 pm, cburroughs <chris.burrou...@gmail.com> wrote:
> The appendix tohttp://sna-projects.com/krati/slides/krati_vs_bdb.pdf
Reply all
Reply to author
Forward
0 new messages