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

[SYSTEMDS-3346] Multi-threaded buffer pool evictions #1580

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

phaniarnab
Copy link
Contributor

This patch implements a simple technique to exploit multithreading
while evicting multiple buffer pool entries. Here we distribute
the files to be evicted among threads. More sophisticated strategies
include using our parallel reader/writes, multithreaded write to an
output stream, however, they have more implementation overhead and
left as future work. This simple strategy is already beneficial for
unified memory as UMM tends to evict multiple objects in each
eviction call while making space for worst-case output sizes.

This patch implements a simple technique to exploit multithreading
while evicting multiple buffer pool entries. Here we distribute
the files to be evicted among threads. More sophisticated strategies
include using our parallel reader/writes, multithreaded write to an
output stream, however, they have more implementation overhead and
left as future work. This simple strategy is already beneficial for
unified memory as UMM tends to evict multiple objects in each
eviction call while making space for worst-case output sizes.
@phaniarnab
Copy link
Contributor Author

This work needs more testing. I will keep it open for the next release.

@j143 j143 added this to the next-release milestone Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants