-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Linked Blocks compression (-BD) can employ multiple threads #1436
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
Conversation
There is a CI issue reported for the |
Given that the A work around could be to disable Multithreading when testing with |
I've also tested this branch on my environment (Ubuntu 22.04, WSL2). It ends with same error: test lz4 qemu-m68k-static platform
But when I split piped commands into separated commands:
It may suggest that program/process itself is working correctly but it doesn't terminate something gracefully. Same test, but splitted
|
but does not support combination with dictionary yet.
Thanks for the analysis @t-mat . |
there seems to be a bug somewhere, either qemu or pthread, on this target
Let's test |
also works with dictionary (
-D dictFile
).Note: after this change, keeping a single-threaded version of the compressor in the source code becomes less relevant. All compression modes can now employ the multi-threaded version. This version silently turns into a single-threaded one when
LZ4IO_MULTITHREAD==0
.This could be a good reason to reduce the code size.