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

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

Post by norrin »

Hello,
after I upgraded to an Odroid N2 the unraring of files takes much longer than before (Udroid XU4).
That means that the Server is not usable while unraring.
:(
Any ideas?
(Made an update, no changes)
Odroid N2
(before: Odroid XU4)
User avatar
WarHawk
Posts: 631
Joined: Thu Jul 20, 2017 8:55 am

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

Post by WarHawk »

I think it takes a ton of resources on SabNZBD to decompress files, even on my full UnRaid server running an Intel i5 w/ 16 gigs of RAM and it will even peg that out...

Have you checked swap usage during the decompress? Do you have ZRAM setup?
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

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

Post by norrin »

Hi WarHawk,
i never had those issues with my odroid xu4 so i think there is something wrong with my configuration for the N2.
I had a look to htop and you are right.
There seems to be no swap at all.
Did i miss that during install?

I do not know what zram is, so i think i have an default installation of dietpi without zram.
;)

Regards

EDIT: Tried to activate swapfile in dietpi-config but it does not work
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 »

what did you have done to activate the swap? By default swap is deactivated on systems with more than 2 GB phys ram. Anyway you would need watch htop during unrar to see what is going on. There you should see how much phys ram is used. And if CPU is on 100%, for sure you are stuck on your system. Where do you store your data? on an external drive?
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 »

Yes, i set swap from 0 to 1 in the "drive manager", but as i said, it did not wqork.
Btw the N2 has 4GB RAM, so maybe this should not be the propblem?

I have 6 cores (0 to 5) but only one seems to unrar with around 85% of that core.
Average is around 15%.

Used memory is 600MB from 3630 MB.
Swap is 0kB / okB.

And yes, data is stored on external drive.

Does this helps?
Attachments
Screenshot_1.png
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 »

ok CPU / memory doesn't seems to be an issue. It's using a single CPU only and still enough memory free.

Probably it's the I/O from/to disk. What file system format you are using?
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 »

EXT4
It is an external 1TB USB-hdd that i used with dietpi and the odroid xu4 before.
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 »

for testing purposes, are you able to use internal storage? Just to see how it is behaving from performance point of view.
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 »

It appears it might need it..even Archlinux needs it

https://archlinuxarm.org/forum/viewtopic.php?t=5160

ZRAM/ZSWAP setup with a gig or two would probably be the best bet...keep the swapping from even going to a drive and have it handle it in high speed RAM

I know they are talking about setting ZRAM stuff in new releases...but there should be a howto to enable it on an older build, it's actually surprisingly easy
norrin
Posts: 20
Joined: Wed Oct 24, 2018 9:42 am

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

Post by norrin »

WarHawk wrote: Tue Oct 20, 2020 3:10 am It appears it might need it..even Archlinux needs it

https://archlinuxarm.org/forum/viewtopic.php?t=5160

ZRAM/ZSWAP setup with a gig or two would probably be the best bet...keep the swapping from even going to a drive and have it handle it in high speed RAM

I know they are talking about setting ZRAM stuff in new releases...but there should be a howto to enable it on an older build, it's actually surprisingly easy
The Odroid N2 only uses less than 15% from the RAM.
Do you really think it depends on swap or zram?

Isnt't it more strange that there is only one core working?
Odroid N2
(before: Odroid XU4)
Post Reply