speed in extracting rar files - unrar vs. 7z
Ghirai
ghirai at ghirai.com
Fri Mar 20 16:53:20 PDT 2009
Hey,
Does anyone know a faster way of extracting big rar files, or why is
it so slow?
I did a quick test with time (extracting the same ~800MiB file,
consisting of split archives):
unrar:
real 4m29.637s
user 0m4.969s
sys 0m3.131s
7z:
real 3m50.020s
user 0m4.784s
sys 0m1.821s
While not a very good test, as i was having other apps idling around at
the time, i did notice that neither of them were fully utilizing the
CPU (Core2Duo E6550, clocked at 2.9GHz).
Usage was ~8% at most.
As you can see, 7z is marginally faster.
The shareware WinRAR on windows seems to be better implemented (?), as
it uses both cores to the fullest, and as such the time needed to
extract stuff is a lot shorter.
If this an implementation problem in unrar/7z, or is it the scheduler's
'fault' so to speak?
Or does it have something to do with disk IO? If so, how do i check,
and how can it be improved?
Looking at top again, while extracting, showed both apps' state to be
getblk most of the time, if it matters.
I'm running 7.1-RELEASE, i386, generic kernel.
Any ideas/thoughts?
--
Regards,
Ghirai.
More information about the freebsd-questions
mailing list