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

ORC-175: ORC-232: add jmh-generator-annprocess in pom.xml. improve zlib perfomance using isal api #159

Closed
wants to merge 9 commits into from

Conversation

iamhumanbeing
Copy link

after add jmh-generator-annprocess in pom.xml, BenchmarkList was created

after add jmh-generator-annprocess in pom.xml, BenchmarkList was created.
@iamhumanbeing iamhumanbeing changed the title ORC-232: add jmh-generator-annprocess in pom.xml ORC-232&ORC-175: add jmh-generator-annprocess in pom.xml. improve zlib perfomance using isal api Aug 22, 2017
@iamhumanbeing iamhumanbeing changed the title ORC-232&ORC-175: add jmh-generator-annprocess in pom.xml. improve zlib perfomance using isal api ORC-175: ORC-232: add jmh-generator-annprocess in pom.xml. improve zlib perfomance using isal api Aug 22, 2017
@@ -53,6 +54,8 @@ public OutputStream create(OutputStream out) throws IOException {
return new GZIPOutputStream(out);
case SNAPPY:
return new SnappyCodec().createOutputStream(out);
case ISAL:
Copy link
Contributor

Choose a reason for hiding this comment

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

ISAL is just the library for gzip? That doesn't need a new codec - have you tried LD_PRELOAD to load ISAL instead of libz?

Copy link
Author

Choose a reason for hiding this comment

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

  1. igzip is only part of the ISAL.
  2. igzip only support level 0 - level 1 compression, it can not replace libz totally.
  3. igzip's API can not replace ligz's API directly.

@10110346
Copy link

LGTM

@omalley
Copy link
Contributor

omalley commented Aug 29, 2017

Is the ISA-L zlib support sufficient to read and write the ORC files with zlib compression? I agree with Gopal that it doesn't feel like a separate compression codec.

I'm don't think it is a good idea to build in support for proprietary compression formats. If it is just an optimization on performance, that might be workable. As a unique codec, it isn't.

@iamhumanbeing
Copy link
Author

@omalley: How about we add a compiling option which use ISA-L ZLIB support for ZLIB compression&decompression? this option is just an optimization on performance.

@xndai
Copy link
Contributor

xndai commented Sep 11, 2017

@iamhumanbeing did you compare it with zstd? Based on my experience, zstd is way better than igzip. I would expect a similar result with ISA-L. It doesn't seem to be adding a lot of value if we plan to support zstd in near future.

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.

5 participants