You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ben Manes (JIRA)" <ji...@apache.org> on 2013/08/03 09:47:48 UTC

[jira] [Commented] (CASSANDRA-5821) Test new ConcurrentLinkedHashMap implementation (1.4RC)

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

Ben Manes commented on CASSANDRA-5821:
--------------------------------------

In addition to lower latencies and higher throughput, the GC impact is much smaller. Adaption to Guava is being evaluated.

 --------------
 CACHE BUILDER
 --------------
 'CacheBuilder' Finished with 1 thread(s). Average time: 94 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 1
 'CacheBuilder' Finished with 2 thread(s). Average time: 294 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CacheBuilder' Finished with 4 thread(s). Average time: 487 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CacheBuilder' Finished with 8 thread(s). Average time: 964 ms
number of young gc collections: 1, number of old gc collections: 0
 Jit compilation: 0
 'CacheBuilder' Finished with 16 thread(s). Average time: 1504 ms
number of young gc collections: 1, number of old gc collections: 0
 Jit compilation: 15
 'CacheBuilder' Finished with 32 thread(s). Average time: 9817 ms
number of young gc collections: 3, number of old gc collections: 1
 Jit compilation: 74
 'CacheBuilder' Finished with 64 thread(s). Average time: 15467 ms
number of young gc collections: 11, number of old gc collections: 2
 Jit compilation: 0
Young Space in mb:
(min:0/max:275)
                 :   |                                                             
                 :   |  |  |    |                                                  
                 :  || || ||   ||            | |            | |           | |  ||  
                 :|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 :   2   1   3   0   0   0   9   0   0   0   0   0   0   2   8   5 
                 :   7   4                   9                           1   3   5 
                 :   5                                                             

Survivor Space in mb:
(min:0/max:137)
                    :                               |||         ||                    
                    :                               |||         ||                    
                    :          |||||                |||         ||                    
                    :|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                    :   0   0   5   3   3   3   3   1   0   0   1   1   1   1   0   0 
                    :           2   4   4   4   4   3           3   6   6   6         
                    :                               7           7                     

Old Space in mb:
(min:0/max:504)
               :                                             ||||||||||||||||||||
               :               |||||||||||||||||||           ||||||||||||||||||||
               :               ||||||||||||||||||||||||||||||||||||||||||||||||||
               :|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
               :   0   0   9   3   3   3   3   3   2   2   2   5   5   5   5   5 
               :           5   5   5   5   5   6   7   7   7   0   0   0   0   0 
               :               3   3   3   3   7   4   4   4   4   4   4   4   4 

Perm Space in mb:
(min:6/max:6)
                :|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                :   6   6   6   6   6   6   6   6   6   6   6   6   6   6   6   6 

--------------
CLHM V1.3.2
--------------
'CLHM' Finished with 1 thread(s). Average time: 87 ms
00:38:34.586 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 2 thread(s). Average time: 243 ms
00:38:34.832 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 1, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 4 thread(s). Average time: 396 ms
00:38:35.277 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 1, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 8 thread(s). Average time: 944 ms
00:38:36.360 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 3, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 16 thread(s). Average time: 2344 ms
00:38:39.178 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 8, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 32 thread(s). Average time: 6873 ms
00:38:46.379 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 9, number of old gc collections: 2
Jit compilation: 0
'CLHM' Finished with 64 thread(s). Average time: 9522 ms
00:38:57.278 [main] INFO  org.greencheek.annotations.GCMonitor - number of young gc collections: 17, number of old gc collections: 3
Jit compilation: 0
Young Space in mb:
(min:0/max:134)
                 :                                   |          
                 : |         |                      ||          
                 : || |     ||   |            |||  |||    ||    
                 :||||||||||||||||||||||||||||||||||||||||||||||
                 :   1   0   1   4   0   9   9   0   1   1   0  
                 :           0   9                   3   6      
                 :           7                       4          

Survivor Space in mb:
(min:0/max:142)
                    :      |||| |   |                              
                    :     ||||| |  ||            |                 
                    :     |||||||  ||       ||   |           ||   |
                    :||||||||||||||||||||||||||||||||||||||||||||||
                    :   4   1   1   1   0   5   0   0   1   1   0  
                    :   1   4   4   4       7           1   5      
                    :       2   2   2                              

Old Space in mb:
(min:0/max:687)
               :                                         |    
               :        ||||          |||     |    |||||||    
               :     |||||||||||||||||||||||||||||||||||||||||
               :||||||||||||||||||||||||||||||||||||||||||||||
               :   1   4   5   3   4   5   3   4   4   6   4  
               :   7   1   8   4   4   3   1   4   7   2   3  
               :   5   7   4   9   7   8   1   8   5   0   9  

Perm Space in mb:
(min:6/max:6)
                :||||||||||||||||||||||||||||||||||||||||||||||
                :   6   6   6   6   6   6   6   6   6   6   6  
 

 --------------
 CLHM V1.4RC
 --------------
 'CLHM' Finished with 1 thread(s). Average time: 35 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CLHM' Finished with 2 thread(s). Average time: 49 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CLHM' Finished with 4 thread(s). Average time: 62 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CLHM' Finished with 8 thread(s). Average time: 101 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
 'CLHM' Finished with 16 thread(s). Average time: 161 ms
number of young gc collections: 0, number of old gc collections: 0
 Jit compilation: 0
'CLHM' Finished with 32 thread(s). Average time: 247 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'CLHM' Finished with 64 thread(s). Average time: 434 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
Young Space in mb:
(min:0/max:3)
                 :  |
                 : ||
                 : ||
                 :|||
                 :   

Survivor Space in mb:
(min:0/max:0)
                    :|||
                    :   

Old Space in mb:
(min:0/max:0)
               :|||
               :   

Perm Space in mb:
(min:6/max:6)
                :|||

                
> Test new ConcurrentLinkedHashMap implementation (1.4RC)
> -------------------------------------------------------
>
>                 Key: CASSANDRA-5821
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5821
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ryan McGuire
>            Assignee: Ryan McGuire
>
> There are some [improvements being made to CLHM| https://code.google.com/p/concurrentlinkedhashmap/source/detail?r=888ad7cebe5b509e5e713b00836f5df9f50baf32] that we should test.
> Create a small enough dataset that it can fit in memory and devise a test that has a high key cache hit rate, and compare results to CLHM 1.3 we already use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira