From George Dunlap – http://lists.xensource.com/archives/html/xen-devel/2010-08/msg00673.html
At the moment, the “weight” parameter for a VM is set on a per-VM basis. This means that when cpu time is scarce, two VMs with the same weight will be given the same amount of total cpu time, no matter how many vcpus it has. I.e., if a VM has 1 vcpu, that vcpu will get x% of cpu time; if a VM has 2 vcpus, each vcpu will get (x/2)% of the cpu time.
I believe this is a counter-intuitive interface. Users often choose to add vcpus; when they do so, it’s with the expectation that a VM will need and use more cpu time. In my experience, however, users rarely change the weight parameter. So the normal course of events is for a user to decide a VM needs more processing power, add more cpus, but doesn’t change the weight. The VM still gets the same amount of cpu time, but less efficiently allocated (because it’s divided).
The attached patch changes the meaning of the “weight” parameter, to be per-vcpu. Each vcpu is given the weight. So if you add an extra vcpu, your VM will get more cpu time as well.
This patch has been in Citrix XenServer for several releases now (checked in June 2008), and seems to fit more with customer expectations.
Read more
New release marks significant enhancements in performance, security, and versatility across various architectures. SAN FRANCISCO – July 31st, 2024 – The Xen Project, an open source project under the Linux Foundation, is proud to announce the release of Xen Project 4.19. This release marks a significant milestone in enhancing performance, security,
Dear Xen Community, We regret to inform you that the Xen Project is currently experiencing unexpected changes due to the sudden shutdown of our colocated (colo) data center facility by Synoptek. This incident is beyond our control and will impact the continuity of OSSTest (the gating Xen Project CI loop)
Hello Xen Community! We have some thrilling news to share with you all. The highly anticipated talks from this year’s Xen Summit are now live on YouTube! Whether you attended the summit in person or couldn’t make it this time, you can now access all the insightful presentations
With less than 2 weeks to go, are you ready? The Xen Project is gearing up for a summit full of discussions, collaboration and innovation. If you haven’t already done so – get involved by submitting a design session topic. Don’t worry if you can’t attend in person,