Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The leaf node of R-tree , a file named .osrm.fileindex, was loaded with mmap function rather directly copy into memory #6772

Open
CodeExplorerQuantumScripter opened this issue Jan 22, 2024 · 3 comments
Labels

Comments

@CodeExplorerQuantumScripter

Sorry to interrupt, there is a question confusing me a lot. In the engine of osrm, R-tree can convert a true location node to a nearest edge based node, which is relying on shortest distance search.

@CodeExplorerQuantumScripter
Copy link
Author

The R-tree is composed of two part, tree node saved in .osrm.ramIndex about 22M and leaf node saved in .osrm.fileIndex about 5G. Why .osrm.fileIndex of R-tree was loaded by mmap way when startup parameter without ‘--mmap’.

@CodeExplorerQuantumScripter
Copy link
Author

Sincerely appreciate for your help

@hy05190134
Copy link

#6781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants