An interesting anecdote from this month's Linux Plumbers Conference in Tokyo is that Meta (Facebook) is using the Linux scheduler originally designed for the needs of Valve's Steam Deck... On Meta Servers. Meta has found that the scheduler can actually adapt and work very well on the hyperscaler's large servers.

SCX-LAVD as the Latency-criticality Aware Virtual Deadline scheduler has worked out very well for the needs of Valve's Steam Deck with similar or better performance than EEVDF. SCX-LAVD has been worked on by Linux consulting firm Igalia under contract for Valve. SCX-LAVD has also seen varying use by the CachyOS Handheld Edition, Bazzite, and other Linux gaming software initiatives.

all 3 comments

sorted by: hot top controversial new old
[–] 4 points 10 months ago

Really interesting. Perhaps we can try running it on normal PCs too to see what it does.
Oh, and on RISC V stuff.

  • source
  • [–] 5 points 10 months ago (1 child)

    Need to research what a scheduler means but all can think of is something like cron

  • source
  • hideshow 1 child comment
  • [–] 44 points 10 months ago* (last edited 10 months ago)

    In my experience, a Scheduler is something that schedules time on the CPU for processes (threads).

    So 10 processes (threads) say "I need to do something":
    2 of those threads are "ready to continue" because they were previously waiting on some Disk IO (and responsibly released thread control while data was fetched).
    1 of the threads says "this is critical for GPU operations".
    1 of those threads self declares it is elevated priority.

    The scheduler decides which of those threads actually gets time on an available CPU core to be processed.

  • source
  • parent
  • 9 comments in c/pcgaming@lemmy.ca view that post
    [–] 28 points 10 months ago (8 children)
  • [–] 19 points 10 months ago* (3 children)

    I hate meta as much as the next guy, but according to this they are the #3 organization in terms of kernel contributions, behind only Intel and Red Hat...

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 10 months ago (2 children)

    I hate Facebook as much as the next guy, but they did create React, as well as some other contributions.

  • source
  • parent
  • hideshow 2 child comments
  • 1 comment in c/steamdeck@sopuli.xyz view that post
    [–] 24 points 10 months ago

    The presentation at LPC 2025 by Meta engineers was in fact titled "How do we make a Steam Deck scheduler work on large servers." At Meta they have explored SCX_LAVD as a "default" fleet scheduler for their servers that works for a range of hardware and use-cases for where they don't need any specialized scheduler.

    🤣

  • source