SabNZBD: Heavy load (> 100%) when unraring files

Having issues with your DietPi installation, or, found a bug? Post it here.
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by norrin »

Joulinar wrote: Mon Oct 19, 2020 7:55 pm for testing purposes, are you able to use internal storage? Just to see how it is behaving from performance point of view.
Oh, that's not very simple to me.
There are around 13GB free on /.
(/dev/mmcblk1p2 15G 1,5G 13G 11% /)

So i would rar a file, copy it to / and try to unrar it from there, right?
Odroid N2
(before: Odroid XU4)
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by Joulinar »

yes that would be the idea to use some space on your RootFS for testing.

Regarding the swap, yes you still have enough phys me free. But you could simple give it a try. Just do one og the following 2 options:
  1. to create a normal 1GB swap file

    Code: Select all

    /boot/dietpi/func/dietpi-set_swapfile 1024
  2. to create a 512MB compressed swap file

    Code: Select all

    /boot/dietpi/func/dietpi-set_swapfile 512 zram
To revert changes and to remove swap

Code: Select all

/boot/dietpi/func/dietpi-set_swapfile 0
Regarding the single core usage. That's quite normal as you have just a single process running.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by norrin »

Ok, here we go.

I successfully activated swap. Unrar uses unbelievable 4,5 MB of the whole swap-space and there is no difference at all.
:lol:

I just unrared a 1379 MB file on the sdcard (internal).
It took 14:30 min...

Then i did the same on the external usb-hdd:
There it took 12:30 min

So, this seems to be no issue with the external hdd-drive.
Odroid N2
(before: Odroid XU4)
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by Joulinar »

slowly I'm running out of ideas :(
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 631
Joined: Thu Jul 20, 2017 8:55 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by WarHawk »

What does

Code: Select all

cat /proc/swaps
show?

and

Code: Select all

free -m
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by norrin »

Code: Select all

dietpi@DietPi:~$ cat /proc/swaps
Filename                                Type            Size    Used    Priority
/mnt/externe_HDD_1TB/.swapfile          file            1048572 12928   -1

dietpi@DietPi:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3713         510          22          15        3180        3148
Swap:          1023          12        1011
Odroid N2
(before: Odroid XU4)
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by Joulinar »

How does it looks like if SabNZBD is running an unrar?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by norrin »

Joulinar wrote: Wed Oct 21, 2020 8:13 pm How does it looks like if SabNZBD is running an unrar?
while downloading

Code: Select all

dietpi@DietPi:~$ cat /proc/swaps
Filename                                Type            Size    Used    Priority
/mnt/externe_HDD_1TB/.swapfile          file            1048572 12968   -1
dietpi@DietPi:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3713         560          43          15        3109        3097
Swap:          1023          12        1011
dietpi@DietPi:~$
while unraring

Code: Select all

dietpi@DietPi:~$ cat /proc/swaps
Filename                                Type            Size    Used    Priority
/mnt/externe_HDD_1TB/.swapfile          file            1048572 13380   -1
dietpi@DietPi:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           3713         551          19          15        3141        3106
Swap:          1023          13        1010
dietpi@DietPi:~$
Is it possible, that the installation of dietpi went wrong?
NFS not working is another issue.

Is it possible to check if the installation of dietpi was "clean"?
Odroid N2
(before: Odroid XU4)
User avatar
Joulinar
Posts: 2566
Joined: Sat Nov 16, 2019 12:49 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by Joulinar »

DietPi logs from first run are stored at /var/tmp/dietpi/logs. But if there are issues in initial setup, you would have been noticed before.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 631
Joined: Thu Jul 20, 2017 8:55 am

Re: SabNZBD: Heavy load (> 100%) when unraring files

Post by WarHawk »

Let's try a hdparm

Howto here
https://www.shellhacks.com/disk-speed-t ... nce-linux/
hdparm: Test HDD, SSD, USB Flash Drive’s Performance
hdparm is a Linux command line utility that allows to set and view hardware parameters of hard disk drives.
And it can also be used as a simple benchmarking tool that allows to quickly find out the READ speed of a disk.

hdparm is available from standard repositories on the most Linux distributions.

Install hdparm depending on your Linux distribution.
On Linux Mint, Ubuntu, Debian:

Code: Select all

$ sudo apt-get install hdparm
Run hdparm as follows, to measure the READ speed of a storage drive device /dev/sda:

Code: Select all

$ sudo hdparm -Tt /dev/sda
/dev/sda:
 Timing cached reads:   16924 MB in  2.00 seconds = 8469.95 MB/sec
 Timing buffered disk reads: 1386 MB in  3.00 seconds = 461.50 MB/sec
Whichever your external USB drive is mounted as...
Post Reply