-
Notifications
You must be signed in to change notification settings - Fork 21
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
unrar 7 arm64: slow extraction of encrypted archives #216
Comments
I just built it on my rock 5b sbc without any build parameters:
I get over 230MB/s with this build. Is there anything I could try differently with your dockerfile and the compiler/build options there? |
@woiza |
@phnzb thanks for your rapid reply and the branch. I was able to build it locally and extract files with hardware acceleration.
What's the idea here? Should users build nzbget locally or will you provide native builds? If so, how (another tag)? |
Idea:
Having said all that - any feedback is very welcome, but we don't have plans to provide native builds separately. |
@luckedea sounds good. I think mentioning it in the documentation and providing an example of how users can build optimized tools locally is enough. |
@phnzb @luckedea what happens if you use an image with an optimized version of unrar on an arm64 device without support for hardware crypto acceleration (e.g. raspberry pi)? Will unrar fail or will it fall back to software crypto? Unfortunately I do not own arm64 devices without hw crypto acceleration and cannot test this. |
@woiza will be something like that when trying to launch unrar :-(
|
@phnzb thanks, what a pity. Any idea how 7zip is able to distinguish between software and hardware crypto? Or does |
@woiza Something like by compiling certain sections of code with optimizations, and using them dynamically in runtime if hardware crypto is available. Unrar, unfortunately, determine hardware acceleration at build time only. |
@phnzb @luckedea might be interesting for future nzbget versions: |
Is there already an issue for your problem?
NZBGet Version
v23-testing
Platform
Linux/Docker
Environment
Current Behavior
Less than 70 MB/s (I guess it does not utilize arm64 hardware crypto acceleration).
Expected Behavior
Over 250 MB/s
Steps To Reproduce
time unrar x -p
Logs
No response
Extra information
#78
The text was updated successfully, but these errors were encountered: