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

[core] Add compression for ExternalBuffer. #3146

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

leaves12138
Copy link
Contributor

@leaves12138 leaves12138 commented Apr 2, 2024

External buffer spill could add compression.

This will compress bytes and reduce memory copy while read.

Choose lz4, reason:

  1. lz4 is faster than zip zstd snappy, write spill need speed
  2. lz4 compression ratio is acceptable

see https://indico.fnal.gov/event/16264/contributions/36466/attachments/22610/28037/Zstd__LZ4.pdf

image

image

image

@leaves12138 leaves12138 requested a review from JingsongLi April 2, 2024 12:27
@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 6757f56 into apache:master Apr 3, 2024
9 checks passed
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