Skip to content

When using MMAP provide an option to force load the graph #2416

Closed

Description

@karussell

Currently loading big graphs is possible and very fast with MMAP. The problem starts with the first requests: they are very slow.

To reduce this we could query the graph (and force the OS to load specific DataAccess objects from disk into memory) but it is unclear how to do that for arbitrary road data. Instead we can directly call MappedByteBuffer.force() for the important DataAccess objects like the ones of the BaseGraphStorage. We could even allow to specify a percentage for how many DataAccess objects we should call force. And have different values for base graph and for CH/LM (maybe even per-profile).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions