Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

jbd2/md2-8 and jbd2/md3-8 slowing down everything

xrzxrz Barred
edited September 2016 in Help

host at soyoustart, is there a way to get this jbd out or limit it somehow? i tried nice, renice, io limit, cpu % limit, nothng works :/

root@root:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md2 : active raid1 sdb2[1] sda2[0]
71678912 blocks [2/2] [UU]

md3 : active raid0 sdb3[1] sda3[0]
5716114432 blocks 512k chunks

unused devices:

Total DISK READ : 31.33 K/s | Total DISK WRITE : 1691.75 K/s
Actual DISK READ: 125.31 K/s | Actual DISK WRITE: 2.03 M/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
3378 be/7 root 0.00 B/s 46.99 K/s 0.00 % 68.28 % [jbd2/md3-8]
259 be/3 root 0.00 B/s 86.15 K/s 0.00 % 51.15 % [jbd2/md2-8]

root@root:~# iotop -obtqqq | grep jbd2
12:08:04 259 be/3 root 0.00 B/s 0.00 B/s 0.00 % 49.59 % [jbd2/md2-8]
12:08:04 3378 be/7 root 0.00 B/s 0.00 B/s 0.00 % 27.92 % [jbd2/md3-8]
12:08:05 3378 be/7 root 0.00 B/s 0.00 B/s 0.00 % 99.99 % [jbd2/md3-8]
12:08:05 259 be/3 root 0.00 B/s 3.92 K/s 0.00 % 19.61 % [jbd2/md2-8]
12:08:06 3378 be/7 root 0.00 B/s 0.00 B/s 0.00 % 85.54 % [jbd2/md3-8]
12:08:06 259 be/3 root 0.00 B/s 0.00 B/s 0.00 % 24.82 % [jbd2/md2-8]

root@root:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 68G 7.7G 57G 12% /
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 32G 731M 31G 3% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md3 5.3T 753G 4.3T 15% /home
tmpfs 6.3G 0 6.3G 0% /run/user/0

everything slowed down but before it was okey

Comments

  • for real?

    tune2fs -O ^has_journal /dev/md3

    probably requires to be unmounted and do a fsck afterwards

    e2fsck -f /dev/md3

    guessing md2 to be your root / it may be required to boot to rescue for doing the same on it.

    raid0 without journaling. living on the edge. don't forget to turn writeback on also!

    tune2fs -o journal_data_writeback /dev/md3

    hopefully this makes sure your data are gone in case of an unexpected reboot or power loss.

    or simply switch to something like xfs

    apt-get install xfsprogs && mkfs.xfs -f /dev/md3

    Thanked by 1xrz
  • exception0x876exception0x876 Member, Host Rep, LIR

    or try increasing journal commit interval instead.. still better than running without a journal

    Thanked by 1xrz
Sign In or Register to comment.