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

[MINOR] Use multithreading to detect multiple disks #687

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

smallzhongfeng
Copy link
Contributor

What changes were proposed in this pull request?

When disk detection is enabled, we can use multiple threads to read and write.

Why are the changes needed?

Although the detection time is relatively short, the overall acceleration is about 30%.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Origin uts.

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jerqi jerqi merged commit ffa50b9 into apache:master Mar 6, 2023
@smallzhongfeng
Copy link
Contributor Author

Thanks !

advancedxy pushed a commit to advancedxy/incubator-uniffle that referenced this pull request Mar 21, 2023
### What changes were proposed in this pull request?
When disk detection is enabled, we can use multiple threads to read and write.

### Why are the changes needed?
Although the detection time is relatively short, the overall acceleration is about 30%.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Origin uts.
xianjingfeng pushed a commit to xianjingfeng/incubator-uniffle that referenced this pull request Apr 5, 2023
### What changes were proposed in this pull request?
When disk detection is enabled, we can use multiple threads to read and write.

### Why are the changes needed?
Although the detection time is relatively short, the overall acceleration is about 30%.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Origin uts.
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.

None yet

2 participants