KDE's KWin Running On Wayland Gets Real-Time Scheduling
When KDE's KWin is acting as a Wayland compositor, there's now a real-time scheduling policy to ensure the graphical system is always responsive.
Without the real-time scheduling, if the system is under heavy load it's possibly the graphical system could become sluggish, but the code that landed today in KWin is meant to take care of this situation.
KWin basically gets priority access to the CPU whenever needed so that all input events and rendering can be done in a time efficient manner. This new policy is being done via libcap with the CAP_SYS_NICE capability.
Unfortunately, this change didn't make it for the upcoming Plasma 5.11 release, but it will be there for 5.12. More details via Martin's blog.
Without the real-time scheduling, if the system is under heavy load it's possibly the graphical system could become sluggish, but the code that landed today in KWin is meant to take care of this situation.
KWin basically gets priority access to the CPU whenever needed so that all input events and rendering can be done in a time efficient manner. This new policy is being done via libcap with the CAP_SYS_NICE capability.
Unfortunately, this change didn't make it for the upcoming Plasma 5.11 release, but it will be there for 5.12. More details via Martin's blog.
30 Comments