• Laser@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      fsync isn’t faster than ntsync, it’s merely a workaround to match Linux to Windows synchronization primitives. From ntsync’s official description:

      It exists because implementation in user-space, using existing tools, cannot match Windows performance while offering accurate semantics.

      So without this, you either have a huge perfomance hit in case of an accurate implementation or you have good performance, but might run into edge cases where software doesn’t work well or at all because it’s not accurate (see https://github.com/ValveSoftware/Proton/issues/2922 for examples)

    • Wanderer@r.nf
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 month ago

      esync = alpha version

      fsync = beta version

      ntsync = final release

      Ntsync got rid of performance degradation that can occur with some games under esync and fsync and that’s the why it’s allowed to go in the mainline kernel, it has no downside.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        29 days ago

        Ntsync got rid of performance degradation that can occur with some games under esync and fsync

        This explains SO MUCH! I was getting frustrated when games start out perfectly fine than 30 minutes in frames would drop significantly.