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

Use faster CRC implementation #78

Merged
merged 4 commits into from
Feb 20, 2024
Merged

Use faster CRC implementation #78

merged 4 commits into from
Feb 20, 2024

Conversation

Kimahriman
Copy link
Owner

Using flamegraph, I discovered that most of the read/write time was spent doing CRC calculations. Using the new beta of the crc crate and it's slice16 support, this greatly increases the CRC throughput which in turn greatly speeds up the read and write throughput. The read throughput is now equal to or slightly higher than the libhdfs method. The write is still a little behind, need to look into that more.

@Kimahriman Kimahriman merged commit 4b16e3a into master Feb 20, 2024
7 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.

1 participant