Thursday, April 18, 2024

LAVD is New Rust Feature for Gaming


Changwoo Min and his team at Igalia presented kernel scheduler optimizations for Linux gaming at the recent Open-Source Summit North America. Their presentation highlighted efforts to reduce the stuttering often experienced while gaming on Linux platforms, with the primary motivation inspired by Valve's Steam Deck launch. However, this work is also aimed at improving the overall gaming experience on Linux.

In their presentation, Igalia focused on the impact of the Linux scheduler on stuttering during gaming, as well as how the "sched_ext" scheduler framework can be extended using Berkeley Packet Filter (BPF). This effort garnered attention for various reasons, ranging from exploration possibilities by Canonical/Ubuntu, prototyping of faster new scheduler designs, to the positive results shown for Linux gaming with the new scheduler implementation.


The Virtual Aware Latency Deadline (LAVD) scheduler became the primary focus of Changwoo Min's presentation. This scheduler, written in Rust programming language for sched_ext, has shown promising results. In tests conducted by Igalia on the Linux kernel 6.9-rc1, the LAVD scheduler demonstrated performance that was equivalent or even better than the Extended Execution Virtual Deadline Fair Scheduler (EEVDF), especially in terms of average FPS and 1% low frame rates.


For those interested in learning more about the exploration of the LAVD scheduler for Linux gaming, they can access the slide deck from OSS NA 2024. Additionally, those interested in exploring this LAVD scheduler can check out the "scx_lavd" project on the crates.io website. Of course, we all await Valve's decision on the scheduler to be used for Steam Deck/Steam OS, as well as further developments in scheduler optimization for Linux gaming in the future.


Hopefully, the news about the LAVD Kernel Scheduler Written in Rust Showing Promising Results for Linux Gaming provides useful insights for Linux and gaming enthusiasts. (Adapted from Phoronix.com)

via emka.web.id

0 comments:

Post a Comment