官术网_书友最值得收藏!

How it works…

So in the case of an SMP VM, if it demands high CPU resources, it may happen that either the application is single threaded, or the guest operating system is configured with uniprocessor HAL.

Many applications are written with only a single thread of control. These applications cannot take advantage of more than one processor core.

In order for a VM to take advantage of multiple vCPUs, the guest operating system running on the VM must be able to recognize and use multiple processor cores. If the VM is doing all of its work on vCPU0, the guest operating system might be configured with a kernel or HAL that can recognize only a single processor core.

In the preceding graph, the OS is sharing the load of the single-threaded application between both the available vCPUs.

You have two possible approaches to solve performance problems related to guest CPU saturation:

  • Increase the CPU resources provided to the application
  • Increase the efficiency with which the VM uses CPU resources

Adding CPU resources is often the easiest choice, particularly in a virtualized environment. If a VM continues to experience CPU saturation even after adding CPU resources, the tuning and behavior of the application and operating system should be investigated.

主站蜘蛛池模板: 田阳县| 纳雍县| 冀州市| 德保县| 葫芦岛市| 云林县| 越西县| 固镇县| 榆中县| 阳信县| 石林| 公安县| 德令哈市| 平果县| 雷山县| 来宾市| 洪雅县| 仙桃市| 平凉市| 阿图什市| 榆社县| 永春县| 许昌县| 东安县| 江川县| 昌宁县| 上林县| 湘潭市| 将乐县| 土默特左旗| 黎川县| 蕲春县| 北碚区| 武宣县| 新建县| 望奎县| 洛川县| 开江县| 温州市| 丰县| 旬邑县|