-
Notifications
You must be signed in to change notification settings - Fork 1k
Pin db threads to cores #2801
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
Merged
Merged
Pin db threads to cores #2801
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
62d85d8
Pin db threads to cores
coolreader18 3391f0d
Move the module instance inside the database core.
jsdt 42fe57b
Fix errors
coolreader18 48f1a3d
Allow 50 messages at a time on the queue.
jsdt 31f1fe8
More robust job system
coolreader18 ece5074
Merge remote-tracking branch 'origin/jsdt/remove-pool' into noa/pin-t…
coolreader18 f46b4e9
Try pinning rayon
coolreader18 ea9901a
fixup! More robust job system
coolreader18 31e7cc6
fix lints
joshua-spacetime a46d9f0
Merge branch 'master' into noa/pin-threads
joshua-spacetime 511a6a1
Bring back queue length stats.
jsdt 72e4e56
Use sched_setaffinity on tokio blocking threads
coolreader18 d3a0323
Remove unnecessary utility function
coolreader18 54c9fb8
Remove outdated comment
coolreader18 655b48f
Clarify and and add docs for core::util::jobs
coolreader18 dcf94a9
Use a slightly better data structure for JobCores
coolreader18 909ee0b
More docs
coolreader18 759a165
Allow closing a JobThread
coolreader18 72623f8
Tiny fix
coolreader18 69b77dd
Tiny fix 2
coolreader18 3f872b5
Don't finish the queue before closing
coolreader18 cc2b42b
Bump JOB_CHANNEL_LENGTH to 64
coolreader18 7e7e462
Update crates/core/src/startup.rs
coolreader18 c4e7166
Address review
coolreader18 75cf78b
Remove lending_pool.rs
coolreader18 ba56187
More comments
coolreader18 08d30b2
Add TODO
coolreader18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.