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

Scalability issue due to laio cleanup #632

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

Conversation

deukyeon
Copy link
Collaborator

Problem

Splinter faces a scalability issue due to waiting for all I/O completions whenever an asynchronous read or write request is submitted.

Solution

To address this, laio_cleanup() is piggybacked in laio_read_async() and laio_write_async() to handle completions returned by io_getevents() once. It immediately returns if there are no completions, even if some I/O operations may be still in flight.

@deukyeon deukyeon requested a review from rtjohnso August 29, 2024 22:50
@deukyeon deukyeon self-assigned this Aug 29, 2024
Copy link

netlify bot commented Aug 29, 2024

Deploy Preview for splinterdb canceled.

Name Link
🔨 Latest commit ba91d41
🔍 Latest deploy log https://app.netlify.com/sites/splinterdb/deploys/6736f073cf55470008d1daad

@deukyeon deukyeon changed the title Make async read and write not to wait all other IO completions Scalability issue with laio Aug 30, 2024
@deukyeon deukyeon changed the title Scalability issue with laio Scalability issue due to laio cleanup Aug 30, 2024
@deukyeon deukyeon removed their assignment Sep 3, 2024
@deukyeon deukyeon closed this Sep 3, 2024
@deukyeon deukyeon deleted the deukyeon/fix-io-bottleneck branch September 3, 2024 15:52
@deukyeon deukyeon restored the deukyeon/fix-io-bottleneck branch September 3, 2024 15:57
@deukyeon deukyeon reopened this Sep 3, 2024
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