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

    Tag-Based Automation: Manage VM CPU Priority via assigned tag.

    Scheduled Pinned Locked Moved Management
    26 Posts 6 Posters 394 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.
    • johnnezeroJ Online
      johnnezero @john.c
      last edited by

      @john.c Thanks much, looking into it.
      "Open-Source for the Win!" 🙂

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        john.c @johnnezero
        last edited by

        @johnnezero said:

        @john.c Thanks much, looking into it.
        "Open-Source for the Win!" 🙂

        Your welcome!

        1 Reply Last reply Reply Quote 0
        • tjkreidlT Offline
          tjkreidl Ambassador @johnnezero
          last edited by

          @johnnezero It would be also interesting to take UMA/NUMA into account as VMs -- in particular, VMs with vGPUS -- can run much more efficiently if they do not cross memory bank boundaries that span more than one CPU instance. On some Linux systems -- not sure about the one hosting XCP-ng -- you can even disable NUMA. Just an additional thought here. I published a number of years ago a three-part series "A Tale of Two Servers" discussing a number of related optimizations but alas, the Citrix blogs were eliminated and I'm snot sure where copies of these articles exist anymore. But there are plenty of articles on this, in particular by Frank Denneman, and also ones like the following;
          https://indico.cern.ch/event/304944/contributions/1672535/attachments/578723/796898/numa.pdf
          https://docs.xenserver.com/en-us/xenserver/9/numa.html

          J johnnezeroJ 2 Replies Last reply Reply Quote 0
          • J Offline
            john.c @tjkreidl
            last edited by john.c

            @tjkreidl said:

            @johnnezero It would be also interesting to take UMA/NUMA into account as VMs -- in particular, VMs with vGPUS -- can run much more efficiently if they do not cross memory bank boundaries that span more than one CPU instance. On some Linux systems -- not sure about the one hosting XCP-ng -- you can even disable NUMA. Just an additional thought here. I published a number of years ago a three-part series "A Tale of Two Servers" discussing a number of related optimizations but alas, the Citrix blogs were eliminated and I'm snot sure where copies of these articles exist anymore. But there are plenty of articles on this, in particular by Frank Denneman, and also ones like the following;
            https://indico.cern.ch/event/304944/contributions/1672535/attachments/578723/796898/numa.pdf
            https://docs.xenserver.com/en-us/xenserver/9/numa.html

            If you remember the URL and date maybe try the wayback machine of Internet Archive. They’re known to archive sites and articles wherever they can, may hold a copy that’s accessible.

            tjkreidlT 1 Reply Last reply Reply Quote 0
            • johnnezeroJ Online
              johnnezero @tjkreidl
              last edited by

              @tjkreidl Wow that all sounds pretty intense - will keep it in mind (but it's probably way above my $0 pay grade - haha). Thanks much!

              1 Reply Last reply Reply Quote 0
              • tjkreidlT Offline
                tjkreidl Ambassador @john.c
                last edited by

                @john.c Not found with the Wayback Machine, alas. Still not finding it anywhere else, but will keep looking!
                It's a crying shame Citrix didn't preserve the treasure trove of old community blogs.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  john.c @tjkreidl
                  last edited by john.c

                  @tjkreidl said:

                  @john.c Not found with the Wayback Machine, alas. Still not finding it anywhere else, but will keep looking!
                  It's a crying shame Citrix didn't preserve the treasure trove of old community blogs.

                  I did a bit of digging with the aid of AI and I’ve managed to uncover the original three blog posts of NUMA and references to UMA. If you do some more digging you may be able to uncover the rest, so it can be rewritten and/or updated, then be hosted somewhere that won’t go down so easily, or be lost as easily. If you do an update or write etc, may I suggest switching the images used to WebP or AVIF format, will seriously help file size while maintaining their quality (or even giving room for higher quality). Consider switching to SVG for diagrams rather than raster (or as the default). I’d suggest checking out to consider using Mermaid for diagrams (https://mermaid.ai/open-source/?utm_medium=hero&utm_campaign=variant_a&utm_source=mermaid_js). Maybe if you do a rewrite use markdown and something like Hugo, to generate it from the files to host on GitHub or some other pages providing repository (e.g. GitLab Pages or Codeberg Pages).

                  https://web.archive.org/web/20220527221535/https://www.mycugc.org/blogs/tobias-kreidl/2019/03/07/tale-of-two-servers-bios-settings-affect-apps-gpu

                  https://web.archive.org/web/20220527213026/https://www.mycugc.org/blogs/tobias-kreidl/2019/04/30/a-tale-of-two-servers-part-2

                  https://web.archive.org/web/20220527215004/https://www.mycugc.org/blogs/tobias-kreidl/2019/04/30/a-tale-of-two-servers-part-3

                  https://community.citrix.com/forums/topic/235895-xenserver-vm-citrix-worker-sizing-question/

                  https://xcp-ng.org/forum/topic/9359/cpu-provisioning

                  https://community.citrix.com/forums/topic/237493-memory-and-cpus-assigning-to-vms-in-order-to-obtain-maximum-performance-according-to-numa-topology/

                  https://community.citrix.com/forums/topic/241553-bios-power-performance-settings/

                  https://community.citrix.com/forums/topic/243640-citrix-hypervisor-performance-tips/

                  tjkreidlT 1 Reply Last reply Reply Quote 1
                  • johnnezeroJ Online
                    johnnezero @john.c
                    last edited by johnnezero

                    @john.c FYI: Bundling/done (Plugin/To come...)

                    1 Reply Last reply Reply Quote 1
                    • tjkreidlT Offline
                      tjkreidl Ambassador @john.c
                      last edited by

                      @john.c Wow, that was amazing -- not sure why my searches were unsuccessful, but many thanks! I think Github might be a good option for putting these on-line as a more reliable spot. And, yes, preserving images is always a challenge.
                      I do hope some of that information may be useful to you and thanks much again for all your efforts, John!

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        john.c @tjkreidl
                        last edited by john.c

                        @tjkreidl said:

                        @john.c Wow, that was amazing -- not sure why my searches were unsuccessful, but many thanks! I think Github might be a good option for putting these on-line as a more reliable spot. And, yes, preserving images is always a challenge.
                        I do hope some of that information may be useful to you and thanks much again for all your efforts, John!

                        A bit of AI archeology combined with Internet Archive Wayback Machine helped. The AI helped to surface the exact URL of the blog posts and these were fed into Wayback Machine. Used the snapshot from 2022 anything newer and they weren’t there anymore. By the way it may be worth sending a donation Internet Archive’s way (if not done so already), as without this your blog posts would be truly gone for good!!

                        Oh forgot to add GitHub and GitLab follows digital wills, so you can pass this off to another in a will, or generally be made read only while being kept up, when the time comes. So this hard work will be preserved even in the face of the end.

                        Just please let me and the rest of us know where it’s at when done!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post