You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Rakov (JIRA)" <ji...@apache.org> on 2017/08/07 14:19:01 UTC

[jira] [Created] (IGNITE-5961) Align pages in LFS partition files to pageSize

Ivan Rakov created IGNITE-5961:
----------------------------------

             Summary: Align pages in LFS partition files to pageSize
                 Key: IGNITE-5961
                 URL: https://issues.apache.org/jira/browse/IGNITE-5961
             Project: Ignite
          Issue Type: Improvement
          Components: persistence
    Affects Versions: 2.1
            Reporter: Ivan Rakov
            Assignee: Ivan Rakov
            Priority: Critical
             Fix For: 2.2


We store 17 bytes of header at the start of every partition file:
{noformat}
    /** Allocated field offset. */
    static final int HEADER_SIZE = 8/*SIGNATURE*/ + 4/*VERSION*/ + 1/*type*/ + 4/*page size*/;
{noformat}
Even if pageSize is equal to OS page cache size and equal to SSD disk page size (which is best scenario), when generate two dirty pages insteadf of one. This is suboptimal and can be a bottleneck of checkpoint write speed. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)