[ 
https://issues.apache.org/jira/browse/CASSANDRA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841440#action_12841440
 ] 

Brandon Williams commented on CASSANDRA-813:
--------------------------------------------

Actually, I beat a node up to test this and CMS takes longer and longer each 
time (because there are more objects to try and GC) so > 1s works out pretty 
well.  Excerpt:

 INFO [GC inspection] 2010-03-04 13:19:24,906 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 3928 ms, 342980016 reclaimed leaving 742486824 used; max 
is 1211498496
 INFO [GC inspection] 2010-03-04 13:19:37,748 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 4606 ms, 312227360 reclaimed leaving 774805960 used; max 
is 1211498496
 INFO [GC inspection] 2010-03-04 13:19:49,122 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 5199 ms, 329389672 reclaimed leaving 752057072 used; max 
is 1211498496
 INFO [GC inspection] 2010-03-04 13:20:03,012 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 5508 ms, 295174904 reclaimed leaving 772658752 used; max 
is 1211498496
 INFO [GC inspection] 2010-03-04 13:20:16,815 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 6517 ms, 147381704 reclaimed leaving 940865624 used; max 
is 1211498496
 INFO [GC inspection] 2010-03-04 13:20:33,484 GCInspector.java (line 86) GC for 
ConcurrentMarkSweep: 7299 ms, 93970512 reclaimed leaving 990179352 used; max is 
1211498496

However, since ParNew is typically in the 50ms range, a threshold of 100 works 
just fine as well, so I'm +1 on that.  

> add some kind of logging of GC activity
> ---------------------------------------
>
>                 Key: CASSANDRA-813
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-813
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 0001_log_gc_stats.txt, 813-v2.txt, 813-v3.txt
>
>
> "help, my node froze when i hammered it too hard" is a faq. before we have 
> CASSANDRA-685 it would be nice to make it obvious what is going on w/ gc 
> storms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to