[opensuse] BTRFS problems
Hey, I installed openSUSE Leap 42.2 with btrfs as root. Now, performing a btrfs balance or a snapper cleanup takes "ages" while there is no or little disk activity but btrfs or btrfs-transaction constantly hogs one CPU. The system becomes very unresponsive and even loses its WiFi connection. For the iwlwifi/mac layer there are warnings in the log like "DWARF2 unwinder stuck at ret_from_fork+...". But nothing for btrfs except one time there was a: "NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [btrfs:4090]" in "btrfs_qgroup_trace_extent_nolock+...". Any ideas? There is plenty of unallocated space (25 of 40 GiB). Gruß Jan -- You can't become a martyr every time you get ticked off. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
27.12.2016 15:33, Jan Ritzerfeld пишет:
Hey,
I installed openSUSE Leap 42.2 with btrfs as root. Now, performing a btrfs balance or a snapper cleanup takes "ages" while there is no or little disk activity but btrfs or btrfs-transaction constantly hogs one CPU.
The system becomes very unresponsive and even loses its WiFi connection. For the iwlwifi/mac layer there are warnings in the log like "DWARF2 unwinder stuck at ret_from_fork+...". But nothing for btrfs except one time there was a: "NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [btrfs:4090]" in "btrfs_qgroup_trace_extent_nolock+...".
Any ideas? There is plenty of unallocated space (25 of 40 GiB).
Try disabling quota to see if it makes any difference (btrfs quota disable). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Dienstag, 27. Dezember 2016, 20:02:57 CET schrieb Andrei Borzenkov:
[...] Try disabling quota to see if it makes any difference (btrfs quota disable).
Good point! I remember the discussion and also thought about quota. But my problems looked much worse than "impacts performance" so that I discarded this thought. I disabled quota and balancing works like a charm. Many thanks! Gruß Jan -- No action is without side effects. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Dienstag, 27. Dezember 2016, 20:55:30 CET schrieb Jan Ritzerfeld:
[...] I disabled quota and balancing works like a charm. Many thanks! [...]
JFTR: https://bugzilla.opensuse.org/show_bug.cgi?id=1017461 Gruß Jan -- If it can't be expressed in figures, it is not science; it's opinion. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday, 27 December 2016 13:33:40 CET Jan Ritzerfeld wrote:
Hey,
I installed openSUSE Leap 42.2 with btrfs as root. Now, performing a btrfs balance or a snapper cleanup takes "ages" while there is no or little disk activity but btrfs or btrfs-transaction constantly hogs one CPU.
might be useful to say if you use any applications which might thrash disk like vm, docker,datbase etc on volume without nodatacow, and if your on ssd? snapper cleanup with quota enabled takes ~10s on my machine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Sonntag, 1. Januar 2017, 14:38:35 CET schrieb nicholas:
On Tuesday, 27 December 2016 13:33:40 CET Jan Ritzerfeld wrote:
Hey,
I installed openSUSE Leap 42.2 with btrfs as root. Now, performing a btrfs balance or a snapper cleanup takes "ages" while there is no or little disk activity but btrfs or btrfs-transaction constantly hogs one CPU.
might be useful to say if you use any applications which might thrash disk like vm, docker,datbase etc on volume without nodatacow, and if your on ssd?
Indeed. However, I just installed a plain Leap 42.2 without anything like VM, docker, or databases on root.
snapper cleanup with quota enabled takes ~10s on my machine.
It seems to depend on how much snapper will really cleanup. Here, without quota, snapper cleanup takes ~1s. Gruß Jan -- By perseverance, the snail reached the ark. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Jan Ritzerfeld
-
nicholas