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

[VL] Missing Spill (Memory) and Spill (Disk) metrics #6763

Closed
marin-ma opened this issue Aug 9, 2024 · 5 comments
Closed

[VL] Missing Spill (Memory) and Spill (Disk) metrics #6763

marin-ma opened this issue Aug 9, 2024 · 5 comments
Labels
bug Something isn't working triage

Comments

@marin-ma
Copy link
Contributor

marin-ma commented Aug 9, 2024

Backend

VL (Velox)

Bug description

When spill is triggered, the spilled size is not reported to spark task metrics.

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

@marin-ma marin-ma added bug Something isn't working triage labels Aug 9, 2024
@marin-ma
Copy link
Contributor Author

marin-ma commented Aug 9, 2024

Shuffle spill is added in #6740
Spill from velox pipeline is still missing hence the reported spill size can be smaller than the actual spill size.

@FelixYBW
Copy link
Contributor

FelixYBW commented Aug 9, 2024

What's the spill reported from velox? memory spill or disk spill?

@marin-ma
Copy link
Contributor Author

marin-ma commented Aug 9, 2024

What's the spill reported from velox? memory spill or disk spill?

@FelixYBW Spill(Memory) is the in-memory raw data to be spilled, usually uncompressed. Spill(Disk) is the actual bytes spilled to disks, equals to the spill file size.
For velox pipeline, we may count Spill(Memory) from the memory allocation: before spill - after spill allocated memory size, and minus the shrunk bytes. And count Spill(Disk) from the spill file size.

@FelixYBW
Copy link
Contributor

FelixYBW commented Aug 9, 2024

What's the current spill size reported from Velox?

@jinchengchenghh
Copy link
Contributor

I have supported the metric in spill, can we get it on the UI? https://github.com/facebookincubator/velox/pull/6076/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

3 participants