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

Add spilling performance benchmark #6071

Closed
wants to merge 1 commit into from

Conversation

xiaoxmeng
Copy link
Contributor

@xiaoxmeng xiaoxmeng commented Aug 10, 2023

  • Add more spill stats to break down the spill write path and collect
    both per-query and global (aggregated stats across all queries) stats.
    The per-query stats is reported through task runtime stats and the
    latter are collected in a global stats (shared by thread id)
  • Refactor spiller internal stats collection mechanism.
  • Add hash probe spill stats collection
  • Change hash build to report stats at operator level
  • Add spill input performance benchmark

Followup will report the global stats through stats (like ODS in Meta)
mechanism by Prestissimo

@netlify
Copy link

netlify bot commented Aug 10, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 062d8a7
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/64daf7ede67ad100097abd97

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 10, 2023
@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@xiaoxmeng xiaoxmeng force-pushed the spill branch 20 times, most recently from 0d4b574 to 3cacb87 Compare August 13, 2023 06:14
@xiaoxmeng xiaoxmeng changed the title [WIP]Add spilling performance benchmark Add spilling performance benchmark Aug 13, 2023
@xiaoxmeng xiaoxmeng marked this pull request as ready for review August 13, 2023 06:14
@facebook-github-bot
Copy link
Contributor

@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48217707

xiaoxmeng added a commit to xiaoxmeng/velox that referenced this pull request Aug 14, 2023
Summary:
- Add more spill stats to break down the spill write path and collect
   both per-query and global (aggregated stats across all queries) stats.
   The per-query stats is reported through task runtime stats and the
   latter are collected in a global stats (shared by thread id)
- Refactor spiller internal stats collection mechanism.
- Add hash probe spill stats collection
- Change hash build to report stats at operator level
- Add spill input performance benchmark

Followup will report the global stats through stats (like ODS in Meta)
mechanism by Prestissimo

Pull Request resolved: facebookincubator#6071

Differential Revision: D48217707

Pulled By: xiaoxmeng

fbshipit-source-id: 4364ed4e3847e9fcfd381e2221df02afe8aa247a
Summary:
- Add more spill stats to break down the spill write path and collect
   both per-query and global (aggregated stats across all queries) stats.
   The per-query stats is reported through task runtime stats and the
   latter are collected in a global stats (shared by thread id)
- Refactor spiller internal stats collection mechanism.
- Add hash probe spill stats collection
- Change hash build to report stats at operator level
- Add spill input performance benchmark

Followup will report the global stats through stats (like ODS in Meta)
mechanism by Prestissimo

Pull Request resolved: facebookincubator#6071

Reviewed By: oerling

Differential Revision: D48217707

Pulled By: xiaoxmeng

fbshipit-source-id: 9853618c85d3801c2801c8a60a1d68d0d4afdb77
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48217707

@facebook-github-bot
Copy link
Contributor

@xiaoxmeng merged this pull request in f97c954.

@conbench-facebook
Copy link

Conbench analyzed the 1 benchmark run on commit f97c954d.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

@xiaoxmeng xiaoxmeng deleted the spill branch August 17, 2023 14:49
unigof pushed a commit to unigof/velox that referenced this pull request Aug 18, 2023
Summary:
- Add more spill stats to break down the spill write path and collect
   both per-query and global (aggregated stats across all queries) stats.
   The per-query stats is reported through task runtime stats and the
   latter are collected in a global stats (shared by thread id)
- Refactor spiller internal stats collection mechanism.
- Add hash probe spill stats collection
- Change hash build to report stats at operator level
- Add spill input performance benchmark

Followup will report the global stats through stats (like ODS in Meta)
mechanism by Prestissimo

Pull Request resolved: facebookincubator#6071

Reviewed By: oerling

Differential Revision: D48217707

Pulled By: xiaoxmeng

fbshipit-source-id: c40b8075d444ea9711d0676254fc6f6f2b0d44ec
ericyuliu pushed a commit to ericyuliu/velox that referenced this pull request Oct 12, 2023
Summary:
- Add more spill stats to break down the spill write path and collect
   both per-query and global (aggregated stats across all queries) stats.
   The per-query stats is reported through task runtime stats and the
   latter are collected in a global stats (shared by thread id)
- Refactor spiller internal stats collection mechanism.
- Add hash probe spill stats collection
- Change hash build to report stats at operator level
- Add spill input performance benchmark

Followup will report the global stats through stats (like ODS in Meta)
mechanism by Prestissimo

Pull Request resolved: facebookincubator#6071

Reviewed By: oerling

Differential Revision: D48217707

Pulled By: xiaoxmeng

fbshipit-source-id: c40b8075d444ea9711d0676254fc6f6f2b0d44ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants