-
Notifications
You must be signed in to change notification settings - Fork 123
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
unzip speed too low! #120
Comments
@1178209138 I stopped maintaining this repo and specially the master branch ( |
I quickly checked zipping then unzipping a folder of mp4 with subtitles (the expanse s4: ~5GB) and compare time with the Linux zip command, the time is quite similar (~3min for zipping ~1min for unzipping). Our lib make my desktop get some freezes when unzipping. Of course, naive openmp on the list of file to compress makes a direct segfault. I duno if minizip and zlib-ng are multi-thread. |
How can i share my files with you? E-mail? File size too big to upload here. |
@Lecrapouille Ok ,I'll send it soon. |
@1178209138 yep there is bottleneck somewhere. I add my benchmark:
My config: Ryzen 1800x, SSD, 16 GB RAM, only one core is running (Zipper lib and Linux zip tool) |
@Lecrapouille 1 Minutes 34 Seconds seems acceptable. So this problem is caused by window system? |
@1178209138 I added my config in the previous message. Ideas:
|
@Lecrapouille My config: Intel i5-10500, SSD, 16 GB RAM, only one core is running (Zipper lib and Rar zip tool) |
|
@Lecrapouille I compiled with -debug -x64 flags, I'll use release version of this lib do testing again. |
@1178209138 the v2.x.y does not fix bottleneck point compared to the master just behavior fixes. The compilation by itself is not complicated, you just have to download and compile thirdparts in the external as the 2 scripts shell do. I'll have to think how to compile for Windows, I do not use Windows. |
@1178209138 have you solved your issue ? |
@Lecrapouille I have not compiled v2.x.y branch yet ,because I have been busy with my work recently. |
I close this ticket since I'm no longer maintaining this repo. |
I use extract() function to unzip a .zip file(.zip file size is 119MB,Original folder size is 1.46GB and contains a large number of files).At the beginning,speed can reach 39MB/s, but the speed slow down over time. When about 700MB files are extracted, the speed is only 0.1MB/s.
Finally it takes about one hour to finish unzip.
By the way, it takes only 10 second to finish the job when i use rar.
zipper::Unzipper unzipper(zip_file_path); unzipper.extract(tmp_folder.GetString()); unzipper.close();
The text was updated successfully, but these errors were encountered: