Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69688 - Enable Dynamic Preemption Support on Linux 5.12 when it gets released
Attached to Project:
Arch Linux
Opened by Mark (markg85) - Thursday, 18 February 2021, 11:41 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 18 February 2021, 12:15 GMT
Opened by Mark (markg85) - Thursday, 18 February 2021, 11:41 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 18 February 2021, 12:15 GMT
|
DetailsHi,
Linux 5.12 is going to support changing the PREEMPT setting at runtime (as a boot argument). See http://lkml.iu.edu/hypermail/linux/kernel/2102.2/01311.html for the details on that. A small note on PREEMPT. For desktop purposes, you want to have it enabled. Like arch does in it's kernel config: CONFIG_PREEMPT=y But for server setups you want to change that to: CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT=y So just voluntary PREEMPT. But not only servers want this. If you run a KVM with Windows 10 as a guest and a boat load of memory (say anything upward of 10GB), your boot time will be insanely long with the default PREEMPT. I tried this with a server and assigning it 50GB of memory. The boot took about 6 minutes and during that time it has 100% cpu usage, with PREEMPT set to voluntary it booted in ~20 seconds. Thus there too you want to change it to "CONFIG_PREEMPT_VOLUNTARY=y" Changing this, currently, requires to rebuild the kernel. A step i'd like to prevent. My request is to, as soon as the 5.12 kernel is out, that Arch will default to: CONFIG_PREEMPT_DYNAMIC=y And comment out the current "CONFIG_PREEMPT=y". If no other change is done the system will behave exactly as it currently does. The default PREEMPT of the dynamic mode is full. A user can then change that in the boot arguments: preempt=none/voluntary/full Best regards, Mark |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 18 February 2021, 12:15 GMT
Reason for closing: None
Additional comments about closing: We're nowhere near 5.12
Thursday, 18 February 2021, 12:15 GMT
Reason for closing: None
Additional comments about closing: We're nowhere near 5.12