XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XenOrchestra multicore ?

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 3 Posters 296 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • akurzawaA Offline
      akurzawa
      last edited by akurzawa

      Hi

      I can observe that during simple task like disk copy xoa user only one cpu - can someone share some details about the design of xoa? can xoa user more cores during some task in parralel?

      aad55fff-fa2b-48ab-9817-7f5e02fce50d-image.png

      Also xcp-ng host itself during VM copy from one to host to another:
      32 core, 128 ram, 1-core stunnel thread, cpu usage 1,4% - any plans to change the design of coping files(vms) to improve overrall performance?

      6b529785-7df6-4035-8e07-a8e9341cec88-image.png

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Hi,

        Feel free to learn a bit about NodeJS main principle: the main event loop: https://nodejs.org/uk/docs/guides/event-loop-timers-and-nexttick/

        We added extra threads for merge process (they are doing their work individually).

        The idea behind the main event loop is to perform non-blocking I/O at fastest pace possible 🙂

        edit: also all XO code is open source, take a look there!

        akurzawaA 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Also ping @julien-f

          1 Reply Last reply Reply Quote 0
          • akurzawaA Offline
            akurzawa @olivierlambert
            last edited by

            @olivierlambert

            edit: also all XO code is open source, take a look there!

            hehe 🙂 thanks I'll take a look in the five mins:
            1c1c04b5-9fbd-4fbb-90d1-70387c37f13a-image.png

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              😆 good illustration 😆

              1 Reply Last reply Reply Quote 0
              • julien-fJ Offline
                julien-f Vates 🪐 Co-Founder XO Team
                last edited by julien-f

                @akurzawa xo-server is not explicitly multi-processed, but it uses async IO calls in Node which should lead to multi-threaded operations.

                Anyway, we are currently working on reimplementing backups for the proxy and it will eventually lead to using multiple processes.

                These changes will at the end be merged back to xo-server as well.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post