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

revert use of mmap-go #706

Merged
merged 1 commit into from
Nov 29, 2023
Merged

revert use of mmap-go #706

merged 1 commit into from
Nov 29, 2023

Conversation

keegancsmith
Copy link
Member

We have a suspicion that when we switched to using the mmap-go library it contributed to an issue where zoekt-webserver stops responding on some linux versions. Our suspicion has something to do from us hardcoding the page size to 4k to asking the kernel and how that interacts with THP. Given we don't actually build for windows anymore, we are partially reverting the mmap changes from
7424ac8

Test Plan: go test ./... on darwin. Then CI for linux testing.

We have a suspicion that when we switched to using the mmap-go library
it contributed to an issue where zoekt-webserver stops responding on
some linux versions. Our suspicion has something to do from us
hardcoding the page size to 4k to asking the kernel and how that
interacts with THP. Given we don't actually build for windows anymore,
we are partially reverting the mmap changes from
7424ac8

Test Plan: go test ./... on darwin. Then CI for linux testing.
@keegancsmith keegancsmith requested a review from a team November 29, 2023 13:15
@keegancsmith
Copy link
Member Author

cc @peterguy

@keegancsmith keegancsmith merged commit 0d03621 into main Nov 29, 2023
8 checks passed
@keegancsmith keegancsmith deleted the k/partial-revert-mmap branch November 29, 2023 13:21
keegancsmith added a commit that referenced this pull request Nov 29, 2023
We have a suspicion that when we switched to using the mmap-go library
it contributed to an issue where zoekt-webserver stops responding on
some linux versions. Our suspicion has something to do from us
hardcoding the page size to 4k to asking the kernel and how that
interacts with THP. Given we don't actually build for windows anymore,
we are partially reverting the mmap changes from
7424ac8

Test Plan: go test ./... on darwin. Then CI for linux testing.
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