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

    Paused vCPUs

    Scheduled Pinned Locked Moved Compute
    18 Posts 4 Posters 975 Views 4 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.
    • C Offline
      capo @olivierlambert
      last edited by

      @olivierlambert

      Xen Orchestra - Windows 10 (64-bit) (xcp-ng) - 20240127130325.png

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        Everything looks fine from here, so you should see 4 vCPUs in your VM, and if you have an app using all cores, all vCPUs should be used (if needed, Xen will schedule them)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          capo @olivierlambert
          last edited by

          @olivierlambert

          Nevertheless Windows doesn't see more that two cores. When I run Prime95 I can't enter more than '2' for 'Number of cores to torture test'. With a higher number I get 'Enter an integer between 1 and 2.'.

          Is something wrong with my grub parameters?

          setparams 'XCP-ng'
          search --label --set root root-dilqpt
          multiboot2 /boot/xen.gz dom0_mem=1648M,max:1648M watchdog ucode=scan dom0_max_vcpus=1-4 crashkernel=256M,below=4G console=vga vga=mode-0x0311 sched-gran=core
          module2 /boot/vmlinuz-4.19-xen root=LABSL=root-dilqpt ro nolvm hpet=disable console=hvc0 console=tty0 quiet vga=785 splash plymouth.ignore-serial-consoles
          module2 /boot/initrd-4.19-xen.img
          

          I'm at a loss. Do I really have to move to a system with a more potent processor?

          Many thanks!

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            Do you have the tools installed in that VM? First time I heard about cores not detected πŸ€”

            Since it's a very old CPU, maybe try 1 socket with 4 cores in the topology πŸ€”

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              capo @olivierlambert
              last edited by

              @olivierlambert said in Paused vCPUs:

              Do you have the tools installed in that VM? First time I heard about cores not detected πŸ€”

              No. Do I have to?

              Since it's a very old CPU, maybe try 1 socket with 4 cores in the topology πŸ€”

              I'll give it a try.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                You always need to install tools, otherwise the performance will be terrible anyway

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  capo @olivierlambert
                  last edited by

                  @olivierlambert Up to now I shied away from installing the VM tools after reading 'Windows 10 (1803) - crash with installed guest tools', as I can't afford to risk losing valuable business data with any Windows update.

                  And allow me to ask, what's the preferred and future-proof way? Installing the XCP-ng tools .zip-package, or deploying Citrix tools by simply switching on 'Windows Update tools' on XO?

                  Thanks for your patience.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    skizzerz
                    last edited by

                    Do one socket with multiple cores. Windows Pro/Enterprise don’t support more than 2 sockets.

                    1 Reply Last reply Reply Quote 1
                    • olivierlambertO Online
                      olivierlambert Vates πŸͺ Co-Founder CEO
                      last edited by

                      @capo said in Paused vCPUs:

                      I can't afford to risk losing valuable business data with any Windows update.

                      Your CPU is obsolete and doesn't have any microcode update since years, including severe security issues. If you really have business data on this physical machine, I would consider disabling hyperthreading.

                      Also, if you are concerned about your data, start with a snapshot (and ideally a backup) of this VM.

                      Regarding tools, check https://docs.xcp-ng.org/vms/#windows for the best way. Windows 10 supports both.

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        capo @olivierlambert
                        last edited by

                        @olivierlambert

                        Since it's a very old CPU, maybe try 1 socket with 4 cores in the topology πŸ€”

                        A Topology change to '1 socket with 4 cores per socket' finally did the trick. The VM now uses all four vCPUs. 😁

                        Also, if you are concerned about your data, start with a snapshot (and ideally a backup) of this VM.

                        That's what I always do beforehand with planned software updates. But now it seems that I also have to prevent the OS from updating automatically at random times.

                        And you're absolutely right, the CPU is way outdated, but as long as it does the job in a local environment I strive against producing electronic waste.

                        Regarding tools, check https://docs.xcp-ng.org/vms/#windows for the best way. Windows 10 supports both.

                        And there I read 'It's now up to you to choose', thus my question about the standard way.

                        Many many thanks again for your marvelous service!

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Online
                          olivierlambert Vates πŸͺ Co-Founder CEO
                          last edited by

                          For Windows 10, both are fine, just avoid to mix them at all costs πŸ™‚

                          1 Reply Last reply Reply Quote 0
                          • planedropP Offline
                            planedrop Top contributor
                            last edited by

                            @capo I'd also add here that if you go with the Citrix tools they aren't "just" from Windows Update, you'll need to actually run the installer either way, the drivers can be kept up to date via Windows Update but still have to install the agent so you can properly control/manage the VM.

                            I personally say go with the Citrix if you need secure boot, right now I believe you can't secure boot VMs with XCP-ng tools installed. Unless that changed and I somehow never saw news about that.

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