• Llewellyn@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    in some cases I feel like Linux actually performs better than Windows on the same hardware

    What are those cases?

    • SaltyIceteaMaker@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      Im may not be the person asked but i can still give you 1 particularly impactful case: minecraft. Now Minecraft (java) has native linux support so this isn’t valve’s doing but i get a massive performance lift in minecraft. On my old pc on windows i had barely 50 fps. On Linux i had 80 that’s 30 fps more with the exact same mods and settings

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I believe directx 10 games run better on dxvk or whatever, to the point that people recommend it on Windows for some games (GTA IV)

    • Janne Moren@fosstodon.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      @Llewellyn
      File system operations are often faster. This is in part due to Windows doing more; it has a more complex and more flexible permissions system.

      Spawning threads and processes is also normally faster. Linux apps thinks nothing of spawning lots of processes with abandon, then have them opening and closing files all over the place. If you move it straight over to a Windows machine it will tend to run very badly as a result.

      • entropicdrift@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        In addition to the differences in permissions and kernel behavior you’ve pointed out, there’s also a huge difference in the filesystems themselves.

        Windows’ default filesystem is NTFS. Linux’s is EXT4.

        EXT4 is significantly more modern (2008 vs 2001) and featureful (no fragmentation, handles small files much better, journaling, etc) than NTFS.