• Kyrgizion@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    10 hours ago

    I have no doubt that “bare metal” games’ performance is better under Linux but what about things like cpu scheduling for multicore or directstorage?

    • lorty@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      The few games I’ve played that had a native linux version either were too light to make a difference (FTL) or actually ran worse (paradox games), which is a shame.

    • nesc@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 hours ago

      I’ve never heard about directstorage before, and by the description it’s an xbox api, does windows even support it?

      The goal is to enable handling of up to 50,000 requests per second while using at most 10% of a single CPU core

      That’s not really impressive, you get 100k iops without any tweaking at all and cpu shouldn’t even blink at it.

      • claymore@pawb.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 hours ago

        Yes it runs on windows, if I recall it’s to pass data from storage to the GPU directly without passing through the CPU. Which lowers CPU usage and speeds up things like game loading or texture streaming for example. You probably found references to Xbox because it was implemented there first with the launch of the current gen consoles.

        • nesc@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          Interesting, there is no support of direct io from wine, and it’s a different to what linux does (50k iops is still laughable tbh) altogether.

      • Kyrgizion@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        7 hours ago

        Yeah it’s a Windows (11?) feature. AFAIK it’s only supported explicitly by a handful of games, but it does appear to make a major difference for those games if the hardware used is up to the task.

        It might just be a feature in the same category as “Nvidia hairFX” or w/e as a marketing gimmick though.

      • DaPorkchop_@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        And linux has io_uring which can handle millions of syscalls from a single thread without breaking a sweat. In my experience, I/O on Windows is just really slow, every file operation takes 10s to 100s of times longer than on any Unix-like kernel (1000s if windows defender is enabled)

    • xep@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      DirectStorage is not good on Linux, at least for Monster Hunter Wilds.