Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread stan via devel
On Thu, 20 Jul 2023 09:17:51 -0500 Justin Forbes wrote: > for them. I have been running preempt=full for quite some time on my > desktops systems here. I've been running custom compiled kernels with preempt_full=Y on my desktop for several years (since at least kernel 5.1). Currently running

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread Justin Forbes
On Thu, Jul 20, 2023 at 8:53 AM Daniel P. Berrangé wrote: > > On Sat, May 20, 2023 at 06:14:17PM -0500, Justin Forbes wrote: > > On Sat, May 20, 2023 at 3:44 PM Demi Marie Obenour > > wrote: > > > > > > I noticed that by default, Qubes OS has voluntary kernel preemption > > > as opposed to full

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread Chris Murphy
On Thu, Jul 20, 2023, at 9:53 AM, Daniel P. Berrangé wrote: > What's the downside from full pre-empt that makes it inappropriate > as the defualt for Fedora server spins too ? Is it that it is > trading off overall peak performance in favour of reduced latency, > and we think servers would

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread Chris Murphy
On Thu, Jul 20, 2023, at 9:51 AM, Michael Catanzaro wrote: > On Wed, Jul 19 2023 at 06:50:24 PM -0400, Chris Murphy > wrote: >> If restricted to desktops, then we can only do it with kernel >> parameters. That probably means doing it in Anaconda kickstart, with >> a per edition/spin option

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread Daniel P . Berrangé
On Sat, May 20, 2023 at 06:14:17PM -0500, Justin Forbes wrote: > On Sat, May 20, 2023 at 3:44 PM Demi Marie Obenour > wrote: > > > > 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

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-20 Thread Michael Catanzaro
On Wed, Jul 19 2023 at 06:50:24 PM -0400, Chris Murphy wrote: If restricted to desktops, then we can only do it with kernel parameters. That probably means doing it in Anaconda kickstart, with a per edition/spin option for doing so. I'm not fond of this solution. In practice, this would

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-07-19 Thread Chris Murphy
On Wed, May 24, 2023, at 2:12 PM, Chris Murphy wrote: > On Sat, May 20, 2023, at 4:43 PM, Demi Marie Obenour wrote: > Therefore, I am >> asking if Fedora should use full kernel preemption by default. > > https://pagure.io/fedora-workstation/issue/228 > > The outstanding questions: > > a. Do we

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-25 Thread Zdenek Kabelac
Dne 25. 05. 23 v 1:47 Demi Marie Obenour napsal(a): On 5/24/23 08:44, Zdenek Kabelac wrote: Dne 20. 05. 23 v 22:43 Demi Marie Obenour napsal(a): I noticed that by default, Qubes OS has voluntary kernel preemption as opposed to full preemption. I found that enabling full preemption

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-24 Thread Demi Marie Obenour
On 5/24/23 08:44, Zdenek Kabelac wrote: > Dne 20. 05. 23 v 22:43 Demi Marie Obenour napsal(a): >> 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

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-24 Thread Chris Murphy
On Sat, May 20, 2023, at 4:43 PM, Demi Marie Obenour wrote: Therefore, I am > asking if Fedora should use full kernel preemption by default. https://pagure.io/fedora-workstation/issue/228 The outstanding questions: a. Do we need some tests that help decide this with metrics? If so what should

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-24 Thread Zdenek Kabelac
Dne 20. 05. 23 v 22:43 Demi Marie Obenour napsal(a): 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

Re: Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-20 Thread Justin Forbes
On Sat, May 20, 2023 at 3:44 PM Demi Marie Obenour wrote: > > 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

Should Fedora switch to full kernel preemption (CONFIG_PREEMPT=y)?

2023-05-20 Thread Demi Marie Obenour
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,