ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Dudkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4571) Optimize futVer generations
Date Wed, 05 Apr 2017 07:40:41 GMT

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

Konstantin Dudkov commented on IGNITE-4571:
-------------------------------------------

Benchmarks result:

|| ||ignite-4571 rev: 3cba6132||master rev: 5d5ba5cf||delta||
|atomic-get|255475|254156|0.52%|
|atomic-get-offheap|231666|235187|-1.52%|
|atomic-get-offheap-val|251440|249509|0.77%|
|atomic-put|133599|135137|-1.15%|
|atomic-put-get|79732.6|81905.1|-2.72%|
|atomic-put-get-offheap|70188.8|70497.9|-0.44%|
|atomic-put-get-offheap-val|81702.8|81751.8|-0.06%|
|atomic-put-offheap|111749|111920|-0.15%|
|atomic-put-offheap-val|137316|137747|-0.31%|


> Optimize futVer generations
> ---------------------------
>
>                 Key: IGNITE-4571
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4571
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Konstantin Dudkov
>            Assignee: Konstantin Dudkov
>
> 1. Optimize futVer generations - need to get rid of using CacheVersion in favor of long
value.
> Example
> org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicUpdateFuture.java:633
> org.apache.ignite.internal.processors.cache.version.GridCacheVersionManager#next(org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion)
> Result:
> Need to replace cache version with random long (int), check compatibility and messages
sizes before & after and benchmark.
> How:
> Use thread local random. Generate ID on atomic future store and switch it to putIfAbsent().



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message