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

first alloc, then register #860

Merged
merged 8 commits into from
Dec 28, 2024
Merged

first alloc, then register #860

merged 8 commits into from
Dec 28, 2024

Conversation

philsippl
Copy link
Contributor

@philsippl philsippl commented Dec 27, 2024

Previously we allocated all memory for the db with cuMemAllocHost_v2, which allocates and page-locks the memory. This causes the program to block for quite some time. This PR tries to instead allocate the memory by the OS, fill it while loading, and only then hand it over to CUDA to page-lock it.

@eaypek-tfh eaypek-tfh merged commit 6d5b2f2 into main Dec 28, 2024
14 checks passed
@eaypek-tfh eaypek-tfh deleted the ps/host-mem-alloc branch December 28, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants