I remember when Proton launched it was like magic playing games like Doom and Nier Automata straight from the Linux Steam client with excellent performance. I do not miss the days of having the Windows version of Steam installed separately.

  • CeeBee@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    1 year ago

    Somewhat true, but the truth is that the CPU scheduler on Windows is just awful. It literally wastes performance because it doesn’t optimize instructions as efficiently as schedulers on other OSes.

    Without going into details, we ported an application that I worked with that did complex scientific calculations to Linux. All the calculations code was done in C and C++ so it was 99.9% OS agnostic. We consistently got at least a 50% performance increase when running on Linux as opposed to Windows. We tested just about every edition of Windows from Windows 8/Server 2013 to Windows 10/Server 2019. The version of Windows that did best was Windows 7 and Linux was 50% faster. All the other editions were slower.

    And the distro of Linux didn’t matter much. A few percent difference here and there, but all of them were astonishingly faster than Windows.

    • Waraugh@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

      The only similar issue I faced seemed to be due to multithreading. I don’t know enough about the underlying architecture to point my finger at a specific ‘thing’ but I was beating my head against the wall seeing the same 50% drop in performance. The one way I was able to get comparable performance was if I limited the cores on the machine to 1. Windows was only a couple percent slower in that case. When I upped the cores windows couldn’t keep up. The weird part is that the utilization in task manager looked like all the cores were being utilized but the performance certainly didn’t reflect that. I was finally able to get the program manager off my ass but how they handled the situation really soured me on staying with the company so I left, feel bad for the next person to get hit with “get this application off Linux so we can be a 100% windows client shop” garbage.

      They contracted the companies developers at over 600k for six months of support, I was dedicated to the effort for a year, and the CIO apparently instructed a PM that nothing else mattered and if it didn’t work I was personally responsible. Like MFers, I didn’t design the hardware, operating system, or the application, I’m doing everything I know how, how exactly is this shit my fault?!

    • Mio@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Surely Microsoft knows this.I guess that is why they have gaming mode.