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] Set Spark memory overhead automatically according to off-heap size when it's not explicitly configured #7045

Merged
merged 6 commits into from
Aug 28, 2024

Conversation

zhztheplayer
Copy link
Member

@zhztheplayer zhztheplayer commented Aug 28, 2024

In vanilla Spark, the option spark.executor.memoryOverhead is by default calculated by max(0.1 * on-heap size, 384m). The patch makes it max(0.1 * off-heap size, 384m) to gain better compatibility with Velox's memory management system.

If user does configure the memory overhead options, Velox backend will raise a warning when it's smaller than the recommended size during initialization.

@github-actions github-actions bot added CORE works for Gluten Core VELOX labels Aug 28, 2024
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer changed the title [VL] Set Spark memory overhead automatically according to off-heap size when it's not explicit configured [VL] Set Spark memory overhead automatically according to off-heap size when it's not explicitly configured Aug 28, 2024
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer marked this pull request as ready for review August 28, 2024 04:38
@zhztheplayer zhztheplayer merged commit 36e435d into apache:main Aug 28, 2024
43 checks passed
sharkdtu pushed a commit to sharkdtu/gluten that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CORE works for Gluten Core VELOX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants