Windows Server R2 Hyper-V 03-based virtual machine CPU Resource Tuning performance Test 02

Source: Internet
Author: User

Experiment Three:

win2012r2-test03 virtual machine: Reserved 0%, limit 60%, Weight: 100

win2012r2-test04 virtual machine: Reserved 0%, limit 60%, Weight: 300

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[4] "border=" 0 "alt=" CLIP_IMAGE002[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065948njiD.jpg "height=" 543 "/>

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[4] "border=" 0 "alt=" CLIP_IMAGE004[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065949MTOb.jpg "height=" 540 "/>

Simultaneous stress testing the CPU usage resources of two virtual machines are as follows:

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[4] "border=" 0 "alt=" CLIP_IMAGE006[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065950JSRM.jpg "height=" 420 "/>

See below through Hyperv_mon:

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_image008[4] "border=" 0 "alt=" CLIP_IMAGE008[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065950aDBw.jpg "height=" 479 "/>

Here we can see win2012r2-test03 CPU usage is about 30%, win2012r2-test04 CPU usage is about 56%.

Conclusion: No CPU resources are reserved, and the higher the weight is, the more CPU is gained when the limit exceeds the total CPU resources.

Experiment Four:

win2012r2-test03 virtual machine: Reserved 0%, limit 70%, Weight: 100

win2012r2-test04 virtual machine: Reserved 0%, limit 60%, Weight: 300

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_image010[4] "border=" 0 "alt=" CLIP_IMAGE010[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065951WzJO.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_image012[4] "border=" 0 "alt=" CLIP_IMAGE012[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065952AYoW.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_image014[4] "border=" 0 "alt=" CLIP_IMAGE014[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065953Ej0i.jpg "height=" 419 "/>

View by Hyperv_mon:

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_image016[4] "border=" 0 "alt=" CLIP_IMAGE016[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_14140659543FGq.jpg "height=" 478 "/>

Here we can see that although the win2012r2-test03 virtual machine limit is higher than win2012r2-test04, but the weight is lower than the win2012r2-test04, when the higher the weight of the CPU is also the most. Or the same reason as the above test, in the case of Hyper_v total CPU resources, the higher the weight, the more CPU gets.

Experiment Five:

win2012r2-test03 virtual machine: Reserved 40%, limit 100%, Weight: 100

win2012r2-test04 virtual machine: Reserved 0%, limit 100%, Weight: 300

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_image018[4] "border=" 0 "alt=" CLIP_IMAGE018[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_14140659559eTO.jpg "height=" 543 "/>

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_image020[11] "border=" 0 "alt=" CLIP_IMAGE020[11] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065956n5QH.jpg "height=" 541 "/>

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_image022[4] "border=" 0 "alt=" CLIP_IMAGE022[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065957J4zv.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_image024[4] "border=" 0 "alt=" clip _IMAGE024[4] "src=" http://img1.51cto.com/attachment/201410/23/2554605_1414065958kESa.jpg "height=" 480 "/>

Through the above test we can see that although the weight of the win2012r2-test04 is higher than the win2012r2-test03, but because the win2012r2-test03 is set to reserve the CPU, So win2012r2-test03 can use a higher CPU than win2012r2-test04. Through the above reality, we seem to feel that the weight is useless here, really is this? We need to do the next test again, and we'll analyze it again with the following test.

This article from "Toni Learn It" blog, declined reprint!

Windows Server R2 Hyper-V 03-based virtual machine CPU Resource Tuning performance Test 02

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.