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

Ilya Lantukh edited comment on IGNITE-2654 at 2/19/16 10:56 AM:
----------------------------------------------------------------

Combined with IGNITE-2533, it provides ~1% allocation rate reduction and 
throughput increase.

Benchmarking results:

Before:
||Benchmark||                                                Mode||  Cnt||      
Score||       Error||   Units||
|JmhCacheBenchmark.put|                                   thrpt|   60|   
5208.582| ± 122.580|   ops/s|
|JmhCacheBenchmark.put:·gc.alloc.rate|                    thrpt|   60|    
107.208| ± 6.516|  MB/sec|
|JmhCacheBenchmark.put:·gc.alloc.rate.norm|               thrpt|   60|  
21710.562| ± 868.121|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space|           thrpt|   60|    
125.590| ± 144.742|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space.norm|      thrpt|   60|  
27104.565| ± 31384.219|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space|       thrpt|   60|      
2.221| ± 5.401|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space.norm|  thrpt|   60|    
474.483| ± 1164.709|    B/op|
|JmhCacheBenchmark.put:·gc.count|                         thrpt|   60|      
8.000| |             counts|
|JmhCacheBenchmark.put:·gc.time|                          thrpt|   60|    
479.000| |                 ms|

After:
||Benchmark||                                                Mode||  Cnt||      
Score||       Error||   Units||
|JmhCacheBenchmark.put|                                   thrpt|   60|   
5294.714| ± 103.792|   ops/s|
|JmhCacheBenchmark.put:·gc.alloc.rate|                    thrpt|   60|    
108.265| ± 6.416|  MB/sec|
|JmhCacheBenchmark.put:·gc.alloc.rate.norm|               thrpt|   60|  
21565.311| ± 870.442|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space|           thrpt|   60|    
120.791| ± 139.510|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space.norm|      thrpt|   60|  
25149.299| ± 29055.202|  B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space|       thrpt|   60|      
1.596| ± 5.264|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space.norm|  thrpt|   60|    
331.954| ± 1093.293|    B/op|
|JmhCacheBenchmark.put:·gc.count|                         thrpt|   60|      
8.000| |              counts|
|JmhCacheBenchmark.put:·gc.time|                          thrpt|   60|    
534.000| |                 ms|


was (Author: ilantukh):
Combined with IGNITE-2533, it provides ~1% allocation rate reducement and 
throughput increase.

Benchmarking results:

Before:
||Benchmark||                                                Mode||  Cnt||      
Score||       Error||   Units||
|JmhCacheBenchmark.put|                                   thrpt|   60|   
5208.582| ± 122.580|   ops/s|
|JmhCacheBenchmark.put:·gc.alloc.rate|                    thrpt|   60|    
107.208| ± 6.516|  MB/sec|
|JmhCacheBenchmark.put:·gc.alloc.rate.norm|               thrpt|   60|  
21710.562| ± 868.121|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space|           thrpt|   60|    
125.590| ± 144.742|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space.norm|      thrpt|   60|  
27104.565| ± 31384.219|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space|       thrpt|   60|      
2.221| ± 5.401|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space.norm|  thrpt|   60|    
474.483| ± 1164.709|    B/op|
|JmhCacheBenchmark.put:·gc.count|                         thrpt|   60|      
8.000| |             counts|
|JmhCacheBenchmark.put:·gc.time|                          thrpt|   60|    
479.000| |                 ms|

After:
||Benchmark||                                                Mode||  Cnt||      
Score||       Error||   Units||
|JmhCacheBenchmark.put|                                   thrpt|   60|   
5294.714| ± 103.792|   ops/s|
|JmhCacheBenchmark.put:·gc.alloc.rate|                    thrpt|   60|    
108.265| ± 6.416|  MB/sec|
|JmhCacheBenchmark.put:·gc.alloc.rate.norm|               thrpt|   60|  
21565.311| ± 870.442|    B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space|           thrpt|   60|    
120.791| ± 139.510|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Eden_Space.norm|      thrpt|   60|  
25149.299| ± 29055.202|  B/op|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space|       thrpt|   60|      
1.596| ± 5.264|  MB/sec|
|JmhCacheBenchmark.put:·gc.churn.PS_Survivor_Space.norm|  thrpt|   60|    
331.954| ± 1093.293|    B/op|
|JmhCacheBenchmark.put:·gc.count|                         thrpt|   60|      
8.000| |              counts|
|JmhCacheBenchmark.put:·gc.time|                          thrpt|   60|    
534.000| |                 ms|

> Protocol optimization for GridNearLockRequest/Response
> ------------------------------------------------------
>
>                 Key: IGNITE-2654
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2654
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: general
>            Reporter: Ilya Lantukh
>            Assignee: Ilya Lantukh
>             Fix For: 1.6
>
>
> Create new, more lightweight versions of GridNearLockRequest/Response:
> - Make miniId integer.
> - Store boolean flags in a single byte field.
> - Remove unused fields.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to