Privacy benefits aside, does qubes run better than a typical vm like virtualbox? I tend to fiddle with distros a lot and I feel qubes might be a good choice, though I’m wondering about how efficient it is

  • jetA
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    3 months ago

    Xen, The backbone of qubes, is One of the very few microkernels that is widely deployed. It’s extremely efficient. It only does the minimum amount of work necessary to dispatch resources to different virtual machine guests

    So comparing a VM running on a dedicated microkernal hypervisor like qubes, compared to QEMU or KVM which requires a monolithic kernel, it’s going to be much more efficient.

    But, when you start talking about the full desktop experience, with a window manager and mice and keyboards, and a guest VM, and a VM to run the desktop, and a VM to run the USB for the mice and keyboard, and a VM for the network stack, and a VM for the firewall… It’s less efficient compared to a system running a single QEMU VM with a monolithic kernel, and everything handled with a traditional monolithic operating system.

    It depends on your use case, what you want to optimize for, quite frankly if you don’t care about segmentation and security qubes is probably going to be too much friction for you.

    • marcie (she/her)@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      3 months ago

      for me i will likely play some games or use proprietary apps in windows or something and swap back to linux. i also develop for linux sometimes so being able to swap distros quickly and with good efficiency while being able to share files easily would be nice.

      i dont know how viable qubes is for this use case. i like the concept of privacy but i dont need 100% lockdown for each app.

      i hate dual booting with a passion, and i also hate how much my base OS interferes with the operation of a virtualized os.

      • jetA
        link
        fedilink
        English
        arrow-up
        10
        ·
        edit-2
        3 months ago

        3d acceleration in qubes is very experimental. maybe not the best for gaming. You can do it, but your going to be elbows deep in virtio configurations

        https://www.qubes-os.org/faq/#users

        We do not provide GPU virtualization for Qubes. This is mostly a security decision, as implementing such a feature would most likely introduce a great deal of complexity into the GUI virtualization infrastructure. However, Qubes does allow for the use of accelerated graphics (e.g. OpenGL) in dom0’s Window Manager, so all the fancy desktop effects should still work. App qubes use a software-only (CPU-based) implementation of OpenGL, which may be good enough for basic games and applications.

        For further discussion about the potential for GPU passthrough on Xen/Qubes, please see the following threads:

        • marcie (she/her)@lemmy.mlOP
          link
          fedilink
          arrow-up
          4
          ·
          3 months ago

          happen to know of any distros that dont have this limitation and operate similarly to qubes? i havent heard of anything i know its a longshot 🙃

          but maybe i could work on programming and making this a bit smoother if i like the rest of what qubes offers

          • jetA
            link
            fedilink
            English
            arrow-up
            8
            ·
            edit-2
            3 months ago

            Qubes is unique

            You could 100% play games on qubes if you have two graphics cards, or a integrated graphics on the CPU, and then have the GPU dedicated to a specific VM.

            However, at that point, you might as well just use moonlight and sunshine and stream your game over the network.

            Sunshine can run inside of a VM it just needs access to a GPU.

            • marcie (she/her)@lemmy.mlOP
              link
              fedilink
              arrow-up
              2
              ·
              3 months ago

              i do have integrated graphics and a gpu, though i dont know if the bios has one set to run independently or something

              • jetA
                link
                fedilink
                English
                arrow-up
                3
                ·
                3 months ago

                Then you can game no problem.

                Pass through the GPU to one VM.