You are not logged in.

#1 2026-07-14 16:09:00

avi2772
Member
Registered: 2026-05-15
Posts: 5

[Solved] Arch has Micro Stutter/ Lag/ Freeze Issue with LUKS2 BTRFS

I have installed Arch with btrfs LUKS2 and limine. And system keeps stuttering time to time like once i was playing local 4k video in mpv and whole system froze for like 5 seconds. Also while browsing, editing text in kate editor, system freezes time to time for couple of seconds. After appyling below workqueue and discard solution i found on internet first suggested by Cloud flare, solve this at some extent but while moving cursor and doing normal browsing, Arch still having micro stutter time to time for fraction of seconds.

I Added

allow-discards no-read-workqueue no-write-workqueue 

into LUKS Header and

discard,no_read_workqueue,no_write_workqueue

into

/etc/crypttab

file. Still having micro stutters.

Specs:
i3-1215u
8GB ddr4
512gb ssd, 850MBps

Last edited by avi2772 (2026-07-19 15:58:43)

Offline

#2 2026-07-16 18:13:03

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,454

Re: [Solved] Arch has Micro Stutter/ Lag/ Freeze Issue with LUKS2 BTRFS

Try isolating the problem first: what if you skip launching your DE (I assume Plasma based on you mentioning Kate) and boot into the console? If the problems are actually in the disk/LUKS/btrfs stack, you would notice that editing a file in a console editor like VIM as well. Try reproducing the issue without a DE running and then investigate your system logs for warnings/errors. Post your logs if you''re not sure about certain warnings/errors.

Offline

#3 2026-07-18 12:58:33

avi2772
Member
Registered: 2026-05-15
Posts: 5

Re: [Solved] Arch has Micro Stutter/ Lag/ Freeze Issue with LUKS2 BTRFS

Issue resolved.

After adding the

allow-discards no-read-workqueue no-write-workqueue

into LUKS header and

discard,no_read_workqueue,no_write_workqueue

into

/etc/crypttab

file i also needed to disable btrfs quota. After disabling btrfs quota everything working great and freezing is gone.

Offline

#4 2026-07-18 16:40:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,905

Re: [Solved] Arch has Micro Stutter/ Lag/ Freeze Issue with LUKS2 BTRFS

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB