Skip to content

[#2460] feat(spark3): Add client/uniffle different observed shuffle speed #2500

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 1 commit into from
Jun 13, 2025

Conversation

zuston
Copy link
Member

@zuston zuston commented Jun 12, 2025

What changes were proposed in this pull request?

Add client/uniffle different observed shuffle speed

image

Why are the changes needed?

followup #2460

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Neen't

@zuston zuston requested a review from jerqi June 12, 2025 07:17
roundToTwoDecimals(aggTaskInfo.shuffleBytes.toDouble / aggTaskInfo.shuffleWriteMillis / 1000)
}
val clientObservedReadAvgSpeed = if (aggTaskInfo.shuffleReadMillis == 0) 0 else {
roundToTwoDecimals(aggTaskInfo.shuffleBytes.toDouble / aggTaskInfo.shuffleReadMillis / 1000)
Copy link
Contributor

Choose a reason for hiding this comment

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

Has the time excluded computation time?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. This is aligned with the spark's shuffle write metrics

Copy link

Test Results

 3 049 files  +11   3 049 suites  +11   6h 47m 52s ⏱️ + 2m 22s
 1 186 tests ± 0   1 185 ✅ + 1   1 💤 ±0  0 ❌ ±0 
15 042 runs  +11  15 027 ✅ +12  15 💤 ±0  0 ❌ ±0 

Results for commit 17f3e2f. ± Comparison against base commit 6c636ac.

@zuston zuston merged commit 575eee0 into apache:master Jun 13, 2025
41 checks passed
@zuston zuston deleted the avgSpeedShow branch June 13, 2025 03:55
zuston added a commit to zuston/incubator-uniffle that referenced this pull request Jun 17, 2025
…ffle speed (apache#2500)

### What changes were proposed in this pull request?

Add client/uniffle different observed shuffle speed

![image](https://github.com/user-attachments/assets/1383eadd-0462-44fe-8fe6-8d1bf46fffa2)

### Why are the changes needed?

followup apache#2460 

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

No.

### How was this patch tested?

Neen't
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