Extreme load which is caused by sabnzbd and jurnalyng jbd2/md2-8

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
loopdemack
Newbie
Newbie
Posts: 49
Joined: April 26th, 2008, 2:22 pm

Extreme load which is caused by sabnzbd and jurnalyng jbd2/md2-8

Post by loopdemack »

Extreme load which is caused by sabnzbd and jurnaling jbd2/md2-8 on Debian 8.11 (jessie).
The machine isSoft Raid5 with 4x6tb hitachi 7200 with 32gb of ram with i7-3770 CPU @ 3.40GHz.
What could I edit in source of sabnzbd to make it easier on trashing the journaling and jbd2. Also I'm seeing that instead of unpacking with unrar I see that sabnzbd is unpacking with rar ?

Downloading speed is very moderate 910Mbit/s its not something that could be so hard for this machine, and I got extreme load and very sluggish machine when sab is downloading.
Machine with much lower specs on Windows 10 is like Formula 1 comparing this beast with this Debian.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Extreme load which is caused by sabnzbd and jurnalyng jbd2/md2-8

Post by sander »

loopdemack wrote: May 7th, 2019, 10:41 am Extreme load which is caused by sabnzbd and jurnaling jbd2/md2-8 on Debian 8.11 (jessie).
What is the extreme load?

TIL: jdb2 is ("jbd2 is a kernel thread that updates the filesystem journal."), and "md2-8" is the name of linux software RAID "md (multiple device) " and originally "Mirror Disk".

loopdemack wrote: May 7th, 2019, 10:41 am The machine isSoft Raid5 with 4x6tb hitachi 7200 with 32gb of ram with i7-3770 CPU @ 3.40GHz.
What if you let SAB write to a plain partition (thus not softraid5)

loopdemack wrote: May 7th, 2019, 10:41 am What could I edit in source of sabnzbd to make it easier on trashing the journaling and jbd2.
SABnzbd does not know about trashing / journaling / jbd2, so how could sabnzbd make that easier?


FWIW: on my Ubuntu 19.04, with ext4

SAB not downloading:

Code: Select all

$ top -bn1 | grep -e USER -e jbd2 ; sudo iotop  -bn1 | grep -e USER -e jbd2
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  268 root      20   0       0      0      0 S   0,0   0,0   0:03.52 jbd2/sda1-8
  630 root      20   0       0      0      0 S   0,0   0,0   0:28.11 jbd2/sda2-8
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN      IO    COMMAND
  268 be/3 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [jbd2/sda1-8]
  630 be/3 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [jbd2/sda2-8]
16325 be/4 sander      0.00 B/s    0.00 B/s  0.00 %  0.00 % grep --color=auto -e USER -e jbd2
SAB download at 80 Mbps

Code: Select all

$ top -bn1 | grep -e USER -e jbd2 ; sudo iotop  -bn1 | grep -e USER -e jbd2
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  268 root      20   0       0      0      0 S   0,0   0,0   0:03.52 jbd2/sda1-8
  630 root      20   0       0      0      0 S   0,0   0,0   0:28.12 jbd2/sda2-8
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN      IO    COMMAND
  268 be/3 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [jbd2/sda1-8]
  630 be/3 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [jbd2/sda2-8]
16507 be/4 sander      0.00 B/s    0.00 B/s  0.00 %  0.00 % grep --color=auto -e USER -e jbd2
Post Reply