[
https://issues.apache.org/jira/browse/IGNITE-9112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560004#comment-16560004
]
Dmitriy Pavlov commented on IGNITE-9112:
----------------------------------------
Hi [~agerus], proposal seems reasonable to me.
In the same time I would encourage you to discuss this issue on dev.list:
[email protected] so everybody in community could provide feedback.
> 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.4, 2.5, 2.6
> Reporter: Alexander Gerus
> Priority: Major
> Labels: features, offheap
>
> 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)