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

[CELEBORN-1914] incWriteTime when ShuffleWriter invoke pushGiantRecord #3155

Closed
wants to merge 1 commit into from

Conversation

TheodoreLx
Copy link
Contributor

What changes were proposed in this pull request?

incWriteTime when ShuffleWriter invoke pushGiantRecord

Why are the changes needed?

When ShuffleWriter calls pushGiantRecord, the task thread needs to wait synchronously for the push to complete, just like pushing the last part of data in the close method. The time spent on pushGiantRecord needs to be included in writeTime.

Does this PR introduce any user-facing change?

no

How was this patch tested?

ut

@FMX
Copy link
Contributor

FMX commented Mar 17, 2025

@TheodoreLx Although pushing the gaint record is a synchronized operation, the push data structure is sent in a synchronized way. So I think this PR is still helpful because it can measure the time of data compression.

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks. Merged into main(v0.6.0).

@FMX FMX closed this in 7174275 Mar 18, 2025
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