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

    dom0 vcpu allocation

    Scheduled Pinned Locked Moved Compute
    2 Posts 2 Posters 640 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.
    • G Offline
      gnpcx
      last edited by

      Hi all,

      First and foremost: thank you very much for bringing us Xcpng and Xen Orchestra. It's been a great experience so far 👍

      I've just setup new Xcpng 8.2 hosts and I'd like to change dom0 vcpu allocation.

      Upon installation dom0 were allocated 16 vcpu out of 64 (HT) when typical dom0 load would not exceed 4.

      My questions :

      1. Aren't 8 vcpu enough for typical work load ?
      2. If so, is it enough to set:
      • dom0_vcpus_pin=true
      • dom0_max_vcpus=1-8
        in grub.cfg linux boot options ?

      Please note that I've tried to use:
      /opt/xensource/bin/host-cpu-tune set 8 xpin

      but this command fails:

      Traceback (most recent call last):
        File "/opt/xensource/bin/host-cpu-tune", line 268, in <module>
          main()
        File "/opt/xensource/bin/host-cpu-tune", line 256, in main
          cpuset(dom0_vcpus, sys.argv[3])
        File "/opt/xensource/bin/host-cpu-tune", line 176, in cpuset
          if int(vm_pcpu) < dom0_vcpus:
      ValueError: invalid literal for int() with base 10: ''
      

      Key mask is not found in map VCPUs-params. I could try to fix this manually but I'm not sure about potential side effects.

      Thank you

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        davemcl @gnpcx
        last edited by

        @gnpcx What did you end up doing for this? The docs dont seem to have any guidance.

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