[teiid-issues] [JBoss JIRA] (TEIID-2404) Expose buffermanager monitoring properties

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Feb 25 11:02:57 EST 2013


    [ https://issues.jboss.org/browse/TEIID-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756491#comment-12756491 ] 

Steven Hawkins commented on TEIID-2404:
---------------------------------------

Here are the refined properties

getMemoryBufferUsedKB - derived from the blocks used, which is completely accurate.

getHeapMemoryInUseByActivePlansKB - refined and renamed getMemoryInUseByActivePlansKB, however this is an intentional over estimate and can easily report a value larger than the vm size.  We are using it as a measure of maximum memory pressure to ensure that we don't trigger an OOM by holding references in the buffermanager.

getHeapCacheMemoryInUseKB - refined and renamed getTotalMemoryInUseKB, however here again this is likely an overestimate - but it won't be as bad as getMemoryInUseByActivePlansKB since the batches will be sized based upon the objects they hold.


                
> Expose buffermanager monitoring properties
> ------------------------------------------
>
>                 Key: TEIID-2404
>                 URL: https://issues.jboss.org/browse/TEIID-2404
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Server
>    Affects Versions: 8.3
>            Reporter: Steven Hawkins
>            Assignee: Ramesh Reddy
>             Fix For: 8.3
>
>
> We should expose:
> BufferServiceImpl.getUserBufferSpace - the number of megs currently used by the buffermanager disk storage.
> A rough total of the memory buffer space used can be added, which would be from the BufferFrontedCacheStore concurrent bits set X block size.
> Also the BufferManagerImpl could report the total estimate of objects held in memory.

--
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


More information about the teiid-issues mailing list