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

[Feat][Spark] Memory tuning for GraphAr spark with persist and storage level #326

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

acezen
Copy link
Contributor

@acezen acezen commented Jan 17, 2024

Proposed changes

This change tuning the memory usage of GraphAr spark with

  • Persist the DataFrame and RDD that frequently used and unpersist them when they are not used anymore.
  • Use MEMORY_AND_DISK_SER as persist storage level for reduce the memory usage

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

related #324
close #322

@acezen acezen force-pushed the 324-spark-memory-tuning branch from ef7b727 to b568d63 Compare January 17, 2024 09:13
@acezen acezen changed the title [Feat][Spark] Memory tuning for GraphAr spark [Feat][Spark] Memory tuning for GraphAr spark with persist and storage level Jan 17, 2024
@acezen acezen force-pushed the 324-spark-memory-tuning branch from f7e6ae8 to b568d63 Compare January 18, 2024 02:00
@acezen acezen force-pushed the 324-spark-memory-tuning branch from b568d63 to dcfe35c Compare January 18, 2024 03:10
Copy link
Contributor

@lixueclaire lixueclaire left a comment

Choose a reason for hiding this comment

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

LGTM

@acezen acezen merged commit f2c8fc4 into apache:main Jan 18, 2024
4 checks passed
@acezen acezen deleted the 324-spark-memory-tuning branch January 18, 2024 03:47
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.

[Feat][Spark] Consider cache vertexDataFrame in VertexWriter
2 participants