-
Notifications
You must be signed in to change notification settings - Fork 30
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
Question about matches in snzip tool #30
Comments
should I use snzip to compress when window size is greater then 64k (match offset?) |
I'm not sure what is window size you wrote. If it is kBlockSize, you should ask google snappy mailing list. |
I create the flowing file data to compress: |
Could you post concrete explanation? |
ok, |
character on snzip file |
I haven't got your question yet. Your explanation is unclear.
I got it until here. You did something similar to the following command. od -t x1z out.txt.sz > out.txt.sz.hex # od is a command line tool on linux
I'm not sure what you did. |
I expect to match snappy sequence in the first sequence of last block |
I want post similar with the following. If you cannot copy and paste hex dump as text, paste images instead. Head of hex data dumped by
line 3815-3820 of
I interpreted it as: The stream identifier (chunk type 0xff) starts at offset 0x000000. The chunk data size is 0x000006. The total chunk size is 4 + 0x000006 = 0x00000a. The first chunk of part c starts at 0x00ee7f. It is a compressed data chunk. The subsequent bytes looks same with that of the first compressed data at 0x00000a.
|
see line 00ee80 block starts on byte 7 80 80 04 (part c starts) |
I finally got your question now.
No parameters. The snappy library divides input data into 64k blocks(*1). Each block is compressed separately(*2). Byte sequences in a block cannot be encoded as match of that in previous blocks. *1: https://github.com/google/snappy/blob/1.1.9/snappy.cc#L1477-L1529 To increase the block size, you need to change not only snzip but also snappy in order to handle offset more than 16-bit as described here. |
Hi,
Do you support window size for match offset > 64k when packet is greater?
what are the parameters I should insert to do that
I run snzip tool version 1.0.4
modes I run: framing2 and framing
Thanks;
The text was updated successfully, but these errors were encountered: