- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 210字
- 2021-07-02 20:59:53
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.
- Learning PostgreSQL
- ASP.NET Core 5.0開發入門與實戰
- Mastering KnockoutJS
- Mastering JBoss Enterprise Application Platform 7
- MongoDB,Express,Angular,and Node.js Fundamentals
- Mastering Apache Storm
- Tableau Desktop可視化高級應用
- Applied Deep Learning with Python
- C# 7 and .NET Core 2.0 Blueprints
- 新手學ASP.NET 3.5網絡開發
- 中小企業網站建設與管理(靜態篇)
- Getting Started with Hazelcast
- A/B 測試:創新始于試驗
- 狼書(卷2):Node.js Web應用開發
- SQL Server 2008數據庫應用技術(第2版)