I noticed that by default, Qubes OS has voluntary kernel preemption as opposed to full preemption. I found that enabling full preemption (preempt=full on kernel command line) makes the system significantly more responsive under heavy I/O load. In particular, if I build a kernel in a Qubes OS VM, it significantly degrades responsiveness without preempt=full. With preempt=full, the system remains responsive. The storage stack used is LVM thin provisioning on LUKS, and I have observed significant CPU usage in dom0 kernel threads with names that indicate they are related to dm-thin and dm-crypt.
The kernel config used by the Qubes kernel package I use (6.1.28) is based on Fedora 37’s config, and Marek Marczykowski-Górecki (CCd) indicated that the same arguments apply to Fedora. Therefore, I am asking if Fedora should use full kernel preemption by default. -- Sincerely, Demi Marie Obenour (she/her/hers) -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/fe4ecb3e-c620-20ae-a79c-a6cd664f1357%40gmail.com.
OpenPGP_0xB288B55FFF9C22C1.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature