Support for bytedelta filter#456
Merged
Merged
Conversation
aras-p
reviewed
Mar 9, 2023
Member
Author
|
Using the latest bytedelta version here, a python script for downloading data and another for transcoding from the ERA5 dataset, I am getting pretty impressive figures. Using regular shuffle in Blosc2: Using shuffle + bytedelta: Using bitshuffle: All in all, bar the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This bytedelta filter makes a delta for every byte on a data stream. This is implemented as plugin for Blosc2, and mainly meant to be used after a shuffle filter.
This is essentially based on @aras-p fascinating blog: https://aras-p.info/blog/2023/03/01/Float-Compression-7-More-Filtering-Optimization/, but removing the shuffle part. For speed, it would make sense to intertwine shuffle and bytedelta, as it is done in the blog, but that would require far more work, as Blosc supports shuffle for general (2 to 255) typesizes (channels in the blog jargon).
This is still a bit preliminary (I still need to assess the new dependency on SSE4.1). Some benchmarks should follow soon too.