Unrar seemingly pauses for about 15 seconds during extraction

Get help, report and discuss bugs.
Post Reply
cnstarz
Posts: 2
Joined: 15 Aug 2019, 22:41

Unrar seemingly pauses for about 15 seconds during extraction

Post by cnstarz » 15 Aug 2019, 23:00

As the title says, when unpacking .rar files, nzbget seemingly pauses for about 15 seconds during the last or second to last .rar file, for every download. During the examples below, there were no other downloads or operations happening on the box.

Example 1:

Code: Select all

Thu Aug 15 22:29:35 2019        INFO    Unrar: UNRAR 5.70 freeware      Copyright (c) 1993-2019 Alexander Roshal
Thu Aug 15 22:29:35 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part01.rar
Thu Aug 15 22:29:35 2019        INFO    Unrar: Extracting 54750113a2da442ebd51edcb49a963f0.mkv
Thu Aug 15 22:29:35 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part02.rar
< ... snip ... >
Thu Aug 15 22:29:38 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part40.rar
Thu Aug 15 22:29:38 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part41.rar
Thu Aug 15 22:29:54 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part42.rar
Thu Aug 15 22:29:55 2019        INFO    Unrar: All OK
It took only 3 seconds to extract the first 40 parts, but it took 16 seconds to extract part 41.

Example 2:

Code: Select all

Thu Aug 15 22:10:16 2019        INFO    Unrar: UNRAR 5.70 freeware      Copyright (c) 1993-2019 Alexander Roshal
Thu Aug 15 22:10:16 2019        INFO    Unrar: Extracting from 581943eb7fbf479489d24325b64a17e8.part01.rar
Thu Aug 15 22:10:16 2019        INFO    Unrar: Extracting 581943eb7fbf479489d24325b64a17e8.mkv
Thu Aug 15 22:10:16 2019        INFO    Unrar: Extracting from 581943eb7fbf479489d24325b64a17e8.part02.rar
Thu Aug 15 22:10:17 2019        INFO    Unrar: Extracting from 581943eb7fbf479489d24325b64a17e8.part03.rar
< ... snip ... >
Thu Aug 15 22:10:20 2019        INFO    Unrar: Extracting from 581943eb7fbf479489d24325b64a17e8.part52.rar
Thu Aug 15 22:10:20 2019        INFO    Unrar: Extracting from 581943eb7fbf479489d24325b64a17e8.part53.rar
Thu Aug 15 22:10:42 2019        INFO    Unrar: All OK
It only took 4 seconds to extract the first 52 parts, but 22 seconds to extract the last part.

Example 3:

Code: Select all

Thu Aug 15 21:22:40 2019        INFO    Unrar: UNRAR 5.70 freeware      Copyright (c) 1993-2019 Alexander Roshal
Thu Aug 15 21:22:40 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part01.rar
Thu Aug 15 21:22:40 2019        INFO    Unrar: Extracting 54750113a2da442ebd51edcb49a963f0.mkv
Thu Aug 15 21:22:40 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part02.rar
Thu Aug 15 21:22:40 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part03.rar
< ... snip ... >
Thu Aug 15 21:22:42 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part41.rar
Thu Aug 15 21:22:42 2019        INFO    Unrar: Extracting from 54750113a2da442ebd51edcb49a963f0.part42.rar
Thu Aug 15 21:23:00 2019        INFO    Unrar: All OK
It took only 2 seconds to extract the first 41 parts, but 18 seconds to extract the last part.

My setup:
CPU: Ryzen 1700X
RAM: 32GB DDR4
Storage: 480GB NVMe M.2
O/S: Ubuntu 19.04
nzbget Version: 21.0

Is there anything that can be done to correct this?

cnstarz
Posts: 2
Joined: 15 Aug 2019, 22:41

Re: Unrar seemingly pauses for about 15 seconds during extraction

Post by cnstarz » 16 Aug 2019, 21:38

I ended up enabling DirectUnpack and my unpack time has dramatically improved. Here are some samples:

File 1:
  • DirectUnpack Disabled:

    Code: Select all

      Downloaded size:	2.89 GB
       Download speed:	68.7 MB/s
           Total time:	0:01:11
        Download time:	0:00:43
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:00:27
  • DirectUnpack Enabled:

    Code: Select all

      Downloaded size:	2.89 GB
       Download speed:	55.9 MB/s
           Total time:	0:01:04 (7 second improvement)
        Download time:	0:00:53
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:00:10
    
File 2:
  • DirectUnpack Disabled:

    Code: Select all

      Downloaded size:	8.19 GB
       Download speed:	61.2 MB/s
           Total time:	0:03:35
        Download time:	0:02:17
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:01:17
    
  • DirectUnpack Enabled:

    Code: Select all

      Downloaded size:	8.19 GB
       Download speed:	65.1 MB/s
           Total time:	0:02:14 (1 minute 21 second improvement)
        Download time:	0:02:09
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:00:04
    
File 3:
  • DirectUnpack Disabled:

    Code: Select all

      Downloaded size:	15.5 GB
       Download speed:	60.2 MB/s
           Total time:	0:06:57
        Download time:	0:04:24
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:02:30
    
  • DirectUnpack Enabled:

    Code: Select all

      Downloaded size:	15.5 GB
       Download speed:	58.7 MB/s
           Total time:	0:04:36 (2 minute 21 second improvement)
        Download time:	0:04:31
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:00:04
    
File 4:
  • DirectUnpack Disabled:

    Code: Select all

      Downloaded size:	17.6 GB
       Download speed:	61.6 MB/s
           Total time:	0:07:38
        Download time:	0:04:53
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:02:43
    
  • DirectUnpack Enabled:

    Code: Select all

      Downloaded size:	17.6 GB
       Download speed:	63.4 MB/s
           Total time:	0:04:49 (2 minute 49 second improvement)
        Download time:	0:04:45
    Verification time:	0:00:00
          Repair time:	0:00:00
          Unpack time:	0:00:03
    
I'm quite happy with the results!

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests