ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali <alimovalis...@gmail.com>
Subject Re: CacheMetrics Offheap size
Date Fri, 28 Jul 2017 12:23:48 GMT
P.S. Ignite version 2.1.0



With best regards
Alisher Alimov
alimovalisher@gmail.com

> On 28 Jul 2017, at 15:20, Ali <alimovalisher@gmail.com> wrote:
> 
> Hello!
> 
> I have problem with retrieving actual allocated size in offheap for cache, CacheMetrics#offHeapAllocatedSize
always return 0
> 
> CacheConfiguration: 
> 
> cacheConfiguration.setBackups(1);
> cacheConfiguration.setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL);
> cacheConfiguration.setCacheMode(CacheMode.REPLICATED);
> cacheConfiguration.setCopyOnRead(true);
> cacheConfiguration.setReadFromBackup(true);
> cacheConfiguration.setManagementEnabled(true);
> cacheConfiguration.setStatisticsEnabled(true);
> cacheConfiguration.setMemoryPolicyName(“test");
> cacheConfiguration.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);
> 
> Here are CacheMetrics 
> 
> "CONTRACTORS": {
>   "offHeapGets": 0,
>   "offHeapPuts": 0,
>   "offHeapHits": 0,
>   "offHeapMisses": 0,
>   "offHeapAllocatedSize": 0,
>   "size": 1729,
>   "keySize": 1729,
>   "txThreadMapSize": 0,
>   "txXidMapSize": 0,
>   "txCommitQueueSize": 0,
>   "txPrepareQueueSize": 0,
>   "txCommittedVersionsSize": 7,
>   "txRolledbackVersionsSize": 7,
>   "txDhtThreadMapSize": -1,
>   "txDhtXidMapSize": -1,
>   "txDhtCommitQueueSize": 0,
>   "txDhtPrepareQueueSize": 0,
>   "txDhtCommittedVersionsSize": -1,
>   "txDhtRolledbackVersionsSize": -1,
>   "writeBehindFlushSize": -1,
>   "writeBehindStoreBatchSize": -1,
>   "keysToRebalanceLeft": 0,
>   "rebalancingKeysRate": 0,
>   "rebalancingBytesRate": 0,
>   "keyType": "java.lang.Object",
>   "empty": false,
>   "valueType": "java.lang.Object",
>   "storeByValue": true,
>   "writeBehindEnabled": false,
>   "writeBehindFlushFrequency": -1,
>   "writeBehindFlushThreadCount": -1,
>   "readThrough": false,
>   "writeThrough": false,
>   "statisticsEnabled": true,
>   "managementEnabled": true,
>   "cacheRemovals": 0,
>   "cacheGets": 0,
>   "cachePuts": 0,
>   "cacheHits": 0,
>   "cacheMisses": 0,
>   "cacheHitPercentage": 0.0,
>   "cacheMissPercentage": 0.0,
>   "cacheEvictions": 0,
>   "averageGetTime": 0.0,
>   "averagePutTime": 0.0,
>   "averageRemoveTime": 0.0,
>   "averageTxCommitTime": 0.0,
>   "averageTxRollbackTime": 0.0,
>   "cacheTxCommits": 0,
>   "cacheTxRollbacks": 0,
>   "offHeapRemovals": 0,
>   "offHeapEvictions": 0,
>   "offHeapHitPercentage": 0.0,
>   "offHeapMissPercentage": 0.0,
>   "offHeapEntriesCount": 1729,
>   "heapEntriesCount": 0,
>   "offHeapPrimaryEntriesCount": 1729,
>   "offHeapBackupEntriesCount": 0,
>   "dhtEvictQueueCurrentSize": -1,
>   "txStartVersionCountsSize": 0,
>   "txDhtStartVersionCountsSize": 0,
>   "totalPartitionsCount": 512,
>   "rebalancingPartitionsCount": 0,
>   "writeBehindTotalCriticalOverflowCount": -1,
>   "writeBehindCriticalOverflowCount": -1,
>   "writeBehindErrorRetryCount": -1,
>   "writeBehindBufferSize": -1
> }
> 
> 
> With best regards
> Alisher Alimov
> alimovalisher@gmail.com <mailto:alimovalisher@gmail.com>


Mime
View raw message