You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/30 11:29:00 UTC

[jira] [Commented] (GEODE-10087) Enhance Off-heap memory fragmentation visibility

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

ASF subversion and git services commented on GEODE-10087:
---------------------------------------------------------

Commit a350ed22d912bee409e62fda3770dba91631d7a3 in geode's branch refs/heads/develop from Alberto Gomez
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a350ed2 ]

GEODE-10087: Enhance off-heap fragmentation visibility. (#7407)

* GEODE-10087: Enhance off-heap fragmentation visibility.

As per RFC https://cwiki.apache.org/confluence/display/GEODE/Enhance+Off-heap+memory+fragmentation+visibility
Geode's off-heap fragmentation visibility has been improved
by adding a new stat: freedChunks as well as
by the periodic update of the largestFragment stat.

The new one stat will also be periodically updated
with a default frequency of one hour that can be changed by the
update-off-heap-stats-frequency-ms system property.

Besides, the new stat and the largestFragment stat
will be published via JMX.

* GEODE-10087: Update after review

* GEODE-10087: Rename method after review

>  Enhance Off-heap memory fragmentation visibility
> -------------------------------------------------
>
>                 Key: GEODE-10087
>                 URL: https://issues.apache.org/jira/browse/GEODE-10087
>             Project: Geode
>          Issue Type: Improvement
>          Components: offheap, statistics
>            Reporter: Alberto Gomez
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: pull-request-available
>
> As pointed out in https://cwiki.apache.org/confluence/display/GEODE/Enhance+Off-heap+memory+fragmentation+visibility:
> "Even though Geode offers several stats related to the status of the off-heap memory area ({_}usedMemory{_}, {_}freeMemory{_}, {_}fragmentation{_}, _largestFragment_ and {_}fragments{_}), the ones that provide information about the level of the fragmentation of the off-heap memory ({_}fragmentation{_}, _largestFragment_ and {_}fragments{_}) are only updated when defragmentation is executed."
> The visibility of the off-heap memory fragmentation status must be made more visible as proposed in the above RFC by means of:
>  * Updating the largestFragment stat periodically.
>  * Adding a new off-heap stat called "freedChunks" that will provide the number of elements in the tiny and huge lists. This stat will be periodically updated.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)