You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexander Gerus (JIRA)" <ji...@apache.org> on 2018/07/27 16:45:00 UTC

[jira] [Created] (IGNITE-9112) Pre-touch for Ignite off-heap memory

Alexander Gerus created IGNITE-9112:
---------------------------------------

             Summary: Pre-touch for Ignite off-heap memory
                 Key: IGNITE-9112
                 URL: https://issues.apache.org/jira/browse/IGNITE-9112
             Project: Ignite
          Issue Type: New Feature
    Affects Versions: 2.6, 2.5, 2.4
            Reporter: Alexander Gerus


At the moment Ignite off-heap memory is allocated in virtual memory of operating system, not physical memory: it is recorded in an internal data structure to avoid it being used by any other process. Not even a single page will be allocated in physical memory until it's actually accessed. When the Ignite needs memory, the operating system will allocate pages as needed.

The proposal is to add an option to Ignite that will touch every single byte of the max off heap with a '0', resulting in the memory being allocated in the physical memory in addition to being reserved in the internal data structure (virtual memory). Similar option is available in JVM {{-XX:+AlwaysPreTouch}}



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