Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9112

Pre-touch for Ignite off-heap memory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4, 2.5, 2.6
    • None
    • None
    • Docs Required

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            agerus Alexander Gerus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: