-
Notifications
You must be signed in to change notification settings - Fork 76
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
Huge slowdown when decompressing big RAR archive #714
Comments
That's weird. I get this:
These are not averaged out so some noise will be present. My archive was the I'm using the I did notice that if the files are in contention by another process, ouch was a few seconds slower than This is something that could depend a lot on the archive structure (maybe the problem arises with way more files?) but at least at 5k it seems normal. I'll try and do some more tests later with more files and see how that goes. |
Ok so creating a new archive by duplicating the target folder 3 times (so 4 copies total at 1.3gb and 22k files) did show a small slowdown
I'm not sure what might be causing such a massive time difference in your tests. The crate |
If it helps, I can give you a bit more information. The files I tried to decompress are archives of faces for the game Football Manager. You can find the files here. The 1 million file I've tried first is the 2024.00 one, at 11,19 GB and smaller one is the 2024.01, at 305,89 MB I don't think I can link it for legal reasons (not sure if it counts as piracy) but if you'd like to try the tests with my example I can send it in another way. I've searched for test files similar to mine on the internet but couldn't find any. I'm using Arch Linux, so both ouch and unrar comes from the Arch Linux official repository and the 7zz command comes from the 7-zip-bin package from the Arch User Repository. I've also made the same tests you did (tho the size and number of files of the I tend to believe that there's some issue with unrar.rs with archives that have such a big number of small files. I wanted to test if the issue was with that crate, but no project that offers an easy CLI interface uses it. And the example |
Hey, unrar.rs author here. What issues did you face with that example? |
Unfortunately I cannot register on that page, it wants me to link a Steam Account. I'll try to reproduce some other way |
When I try to run
The |
Version
0.5.1
Description
I haven't tried this with big files of other formats. but at least with RAR files, the program is very slow at decompressing compared with other programs.
I've made a few quick tests with the same archive. It includes 20582 files and the total size of the archive is 306 MB.
In this case it's still usable. But I was trying to extract an 11 GB file with almost 1 million files a few hours ago and I couldn't even finish it, I left it running for more than 3 hours before cancelling it. I didn't time it but 7-zip took about 1 minute to decompress it.
Maybe it's an issue of the unrar.rs library.
Current Behavior
No response
Expected Behavior
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: