geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sai Boorlagadda (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-996) OffheapStats - fragmentation percentage calculation has to be revisited.
Date Tue, 01 Mar 2016 22:25:18 GMT

     [ https://issues.apache.org/jira/browse/GEODE-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sai Boorlagadda closed GEODE-996.
---------------------------------

> OffheapStats - fragmentation percentage calculation has to be revisited.
> ------------------------------------------------------------------------
>
>                 Key: GEODE-996
>                 URL: https://issues.apache.org/jira/browse/GEODE-996
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, offheap
>            Reporter: Sai Boorlagadda
>            Assignee: Sai Boorlagadda
>
> Fragmentation calculation is not correct before compaction or even after compaction if
the largest fragment is >= MAX_SLAB_SIZE.
> Currently the fragmentation is calculated as below. 
> {quote}
>     FS - LF
>  -----------   * 100
>        FS
> FS: Free space found during compaction
> LF: Largest fragment found during compaction
> {quote}
> eg: 
> For a free space of 100G and largest fragment = 2G (MAX_SLAB_SIZE)
> Fragmentation = (100G - 2G / 100G) * 100 ~ 98% (where as we want it to be close to 0
as the free space is not fragmented)



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

Mime
View raw message