• egeres@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    I’m not deep on how the core of an OS works, but to my understanding, the kernel of linux should be more robust and reliable, shouldn’t it always be performing better than windows on the same hardware?

    Where could I read information on the things that hinder performance on linux, does anybody have any educational resources?

    • singron@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      On Linux, you run windows programs through wine, which is an additional layer that can theoretically slow down the program.

      Also, windows supports certain constructs like io completion ports or WaitForMultipleObjects that historically haven’t been emulated efficiently on Linux since it lacked comparable primitives, although those specific ones have been greatly improved in recent years with io_uring and FUTEX_WAIT_MULTIPLE.

      There have been similar issues with direct3D since wine used to have to emulate it in OpenGL, but with vkd3d, wine has more opportunities to efficiently implement the d3d apis.

      Basically wine being slower was the norm until quite recently.