Experiment Six:
win2012r2-test03 virtual machine: Reserved 40%, limit 100%, Weight: 100
win2012r2-test04 virtual machine: Reserved 0%, limit 100%, Weight: 1000
As shown in the following:
650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image002 "border=" 0 "alt=" clip_ image002 "src=" http://img1.51cto.com/attachment/201410/28/2554605_1414499718Yi3z.jpg "height=" 541 "/>
650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image004 "border=" 0 "alt=" clip_ image004 "src=" http://img1.51cto.com/attachment/201410/28/2554605_1414499719aNh2.jpg "height=" 542 "/>
Stress tests for both virtual machines as shown in:
650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px ;p adding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image006 "border=" 0 "alt=" clip_ image006 "src=" http://img1.51cto.com/attachment/201410/28/2554605_1414499720GZo4.jpg "height=" 420 "/>
View by Hyperv_mon:
650) this.width=650; "Style=" background-image:none;border-bottom:0px;border-left:0px;padding-left:0px; padding-right:0px;border-top:0px;border-right:0px;padding-top:0px; "title=" clip_image008 "border=" 0 "alt=" clip_ image008 "src=" http://img1.51cto.com/attachment/201410/28/2554605_1414499721prmk.jpg "height=" 480 "/>
At this point we can see that the CPU usage of win2012r2-test04 is higher than the CPU usage of win2012r2-test03, that is to say, this weight here is the function of starting. If the weight compared to the bottom of the time, its role is not obvious can not be seen.
Through this series of experiments on the CPU, we can probably get the following conclusions:
Except that the retention is the highest permission, the limit and the weight are relative, often in the case of insufficient CPU resources, the relationship between retention, restriction, weight becomes more subtle. There is no fixed line between them, in the CPU performance tuning of the virtual machine, we need more to balance the relationship between the three, and conduct in-depth analysis, and then adjust.
This article from "Toni Learn It" blog, declined reprint!
Windows Server R2 Hyper-V 04-based virtual machine CPU Resource tuning performance Test 03