You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Rakov (JIRA)" <ji...@apache.org> on 2019/01/30 18:54:00 UTC

[jira] [Updated] (IGNITE-11156) FreeLists are overflowed with pages with almost no free space left

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

Ivan Rakov updated IGNITE-11156:
--------------------------------
    Description: 
{code:java}
    /** */
    private static final int MIN_PAGE_FREE_SPACE = 8;
{code}
If data page has 8 free bytes or more, it will be stored in a free list. As result, free lists mostly contain "free pages" that are actually useless: pair of (boolean, boolean) takes approximately 50 bytes. I think, we'll increase this constant to something like 40, memory will be used more efficiently in result and WAL usage will decrease.

  was:
{code:java}
    /** */
    private static final int MIN_PAGE_FREE_SPACE = 8;
{code}
If data pages has 8 free bytes or more, it will be stored in a free list. As result, free lists mostly contain "free pages" that are actually useless: pair of (boolean, boolean) takes approximately 50 bytes. I think, we'll increase this constant to something like 40, memory will be used more efficiently in result and WAL usage will decrease.


> FreeLists are overflowed with pages with almost no free space left
> ------------------------------------------------------------------
>
>                 Key: IGNITE-11156
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11156
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Rakov
>            Assignee: Ivan Rakov
>            Priority: Major
>             Fix For: 2.8
>
>
> {code:java}
>     /** */
>     private static final int MIN_PAGE_FREE_SPACE = 8;
> {code}
> If data page has 8 free bytes or more, it will be stored in a free list. As result, free lists mostly contain "free pages" that are actually useless: pair of (boolean, boolean) takes approximately 50 bytes. I think, we'll increase this constant to something like 40, memory will be used more efficiently in result and WAL usage will decrease.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)